Backport #7852
closed
Added by drbrain (Eric Hodel) almost 12 years ago.
Updated almost 12 years ago.
Description
This removes the OpenSSL dependency from Net::HTTP. Without this the user must have OpenSSL to use Net::HTTP.
This removes the zlib dependency in the test, it allows the tests to pass when zlib is not present.
- Status changed from Open to Assigned
- Assignee changed from mame (Yusuke Endoh) to naruse (Yui NARUSE)
- Tracker changed from Bug to Backport
- Project changed from Ruby master to Backport200
- Category deleted (
lib)
- Target version deleted (
2.0.0)
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r39244.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 39232,39233,39238: [Backport #7831][Backport #7852]
* lib/net/http: Do not handle Content-Encoding when the user sets
Accept-Encoding. This allows users to handle Content-Encoding for
themselves. This restores backwards-compatibility with Ruby 1.x.
* lib/net/http/generic_request.rb: ditto.
* lib/net/http/response.rb: ditto
* test/net/http/test_http.rb: Test for the above.
* test/net/http/test_http_request.rb: ditto.
* test/net/http/test_httpresponse.rb: ditto.
[ruby-trunk - Bug #7831]
* 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.
Also available in: Atom
PDF
Like0
Like0Like0Like0