1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
* lib/net/http.rb (HTTP#request_by_name): arg order changes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2001-07-03 19:18:17 +00:00
parent 9e79454b3d
commit afb3a0cff1
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Wed Jul 4 04:22:44 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb (HTTP#request_by_name): arg order changes.
Wed Jul 4 04:07:36 2001 Minero Aoki <aamine@loveruby.net> Wed Jul 4 04:07:36 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb (HTTP#request_by_name): bug fix. * lib/net/http.rb (HTTP#request_by_name): bug fix.

View file

@ -610,9 +610,9 @@ module Net
req.response req.response
end end
def request_by_name( name, path, header = nil, body = nil ) def request_by_name( name, path, body = nil, header = nil )
r = ::Net::NetPrivate::HTTPGenericRequest.new( r = ::Net::NetPrivate::HTTPGenericRequest.new(
name, body ? true : false, true, name, (body ? true : false), true,
path, header ) path, header )
request r, body request r, body
end end