mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
This commit is contained in:
parent
965719f5eb
commit
364044e090
2 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# frozen_string_literal: false
|
||||
require 'net/http'
|
||||
require 'test/unit'
|
||||
require 'stringio'
|
||||
|
||||
class HTTPRequestTest < Test::Unit::TestCase
|
||||
|
||||
|
|
Loading…
Reference in a new issue