mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/http.rb: Removed OpenSSL dependency from Net::HTTP.
* test/net/http/test_http.rb: Remove Zlib dependency from tests. * test/net/http/test_http_request.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
632ab19c4d
commit
64db9dcbd5
4 changed files with 13 additions and 4 deletions
|
@ -62,7 +62,7 @@ class HTTPRequestTest < Test::Unit::TestCase
|
|||
|
||||
refute req2.decode_content,
|
||||
'Bug #7381 - do not decode content if the user overrides'
|
||||
end
|
||||
end if Net::HTTP::HAVE_ZLIB
|
||||
|
||||
def test_header_set
|
||||
req = Net::HTTP::Get.new '/'
|
||||
|
@ -73,7 +73,7 @@ class HTTPRequestTest < Test::Unit::TestCase
|
|||
|
||||
refute req.decode_content,
|
||||
'Bug #7831 - do not decode content if the user overrides'
|
||||
end
|
||||
end if Net::HTTP::HAVE_ZLIB
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue