mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
small document fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
429c03eb2a
commit
1c499989ee
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ module Net #:nodoc:
|
|||
# req = Net::HTTP::Post.new(url.path)
|
||||
# req.basic_auth 'jack', 'pass'
|
||||
# req.set_form_data({'from'=>'2005-01-01', 'to'=>'2005-03-31'}, ';')
|
||||
# res = Net::HTTP.new(url.host, url.port).start { http.request(req) }
|
||||
# res = Net::HTTP.new(url.host, url.port).start {|http| http.request(req) }
|
||||
# case res
|
||||
# when Net::HTTPSuccess, Net::HTTPRedirection
|
||||
# # OK
|
||||
|
|
Loading…
Add table
Reference in a new issue