Project

General

Profile

Actions

Backport #7852

closed

Backport r39238 to 2.0.0

Added by drbrain (Eric Hodel) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
[ruby-core:52250]

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.


Related issues 1 (0 open1 closed)

Related to Backport200 - Backport #7831: Net::HTTP does not allow users to handle Content-Encoding in responses like 1.xCloseddrbrain (Eric Hodel)02/12/2013Actions

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Open to Assigned
  • Assignee changed from mame (Yusuke Endoh) to naruse (Yui NARUSE)

I leave it up to Naruse-san. See #7831.

--
Yusuke Endoh

Actions #2

Updated by naruse (Yui NARUSE) almost 12 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport200
  • Category deleted (lib)
  • Target version deleted (2.0.0)
Actions #3

Updated by naruse (Yui NARUSE) almost 12 years ago

  • 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.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0