Project

General

Profile

Actions

Bug #6889

closed

Restore backwards compatibility of Net::HTTP

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

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-core:47239]

Description

=begin
In Ruby 1.9.3 and earlier net/http defines a constant (({Net::HTTPSession})) which is an alias of (({Net::HTTP})).

In r35761 for #6435 I accidentally moved the constant to (({Net::HTTP::HTTPSession})).

The attached patch restores net/http to pre-r35761 behavior.
=end


Files

Updated by naruse (Yui NARUSE) about 12 years ago

OK, commit it!

Actions #2

Updated by drbrain (Eric Hodel) about 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r36810.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/net/http/backward.rb (class Net): Restored Net::HTTPSession to
    fix backwards-compatibility with ancient Net::HTTP. [Bug #6889]
Actions

Also available in: Atom PDF

Like0
Like0Like0