Feature #6435

Break up net/http.rb into individual files

Added by Eric Hodel almost 2 years ago. Updated almost 2 years ago.

[ruby-core:45061]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:lib
Target version:2.0.0

Description

The attached patch breaks up net/http.rb into individual files. Beyond addition of "Net::" for scoping only structural changes were made.

I only found uncommitted patches to net/http.rb that were submitted by me, and I think those patches may need some work, so I am fine breaking them for now.

net.http.breakup.patch Magnifier (87.1 KB) Eric Hodel, 05/16/2012 05:01 AM

Associated revisions

Revision 35761
Added by Eric Hodel almost 2 years ago

  • lib/net/http.rb: Broke up Net::HTTP into individual files. [ruby-trunk - Feature #6435]
  • lib/net/http/backward.rb: ditto.
  • lib/net/http/response.rb: ditto.
  • lib/net/http/exceptions.rb: ditto.
  • lib/net/http/responses.rb: ditto.
  • lib/net/http/generic_request.rb: ditto.
  • lib/net/http/header.rb: ditto.
  • lib/net/http/request.rb: ditto.
  • lib/net/http/proxy_delta.rb: ditto.
  • lib/net/http/requests.rb: ditto.

History

#1 Updated by Yusuke Endoh almost 2 years ago

  • Status changed from Open to Assigned
  • Assignee set to Eric Hodel

I think you can commit it unless there is objection within a few days or a week.
Make sure "make check" is passed before a commit. Thanks!

Yusuke Endoh mame@tsg.ne.jp

#2 Updated by Yui NARUSE almost 2 years ago

I agree

#3 Updated by Eric Hodel almost 2 years ago

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

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


  • lib/net/http.rb: Broke up Net::HTTP into individual files. [ruby-trunk - Feature #6435]
  • lib/net/http/backward.rb: ditto.
  • lib/net/http/response.rb: ditto.
  • lib/net/http/exceptions.rb: ditto.
  • lib/net/http/responses.rb: ditto.
  • lib/net/http/generic_request.rb: ditto.
  • lib/net/http/header.rb: ditto.
  • lib/net/http/request.rb: ditto.
  • lib/net/http/proxy_delta.rb: ditto.
  • lib/net/http/requests.rb: ditto.

Also available in: Atom PDF