diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-04-29 21:35:57 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-06 15:58:41 +0900 |
commit | 364044e0909692315bd6c2f0e1d968ede9c2beb8 (patch) | |
tree | b272b6de39db542887463f94bc6d9ba00fb024b2 /lib/net | |
parent | 965719f5eb0e6dbb05a13cfe824fe82f9268e4d5 (diff) |
[ruby/net-http] Do not require stringio
It is not used in net/http library code since commit 15ccd0118c13
(r36473 in ruby svn trunk, 2012).
require's in test suite are also cleaned up.
https://github.com/ruby/net-http/commit/996d18a43f
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 862f88dd37..1fcf13530d 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -393,7 +393,6 @@ module Net #:nodoc: HTTPVersion = '1.1' begin require 'zlib' - require 'stringio' #for our purposes (unpacking gzip) lump these together HAVE_ZLIB=true rescue LoadError HAVE_ZLIB=false |