1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/net/http
naruse 70a2eb6399 * lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec):
handle req['host'] in update_uri.

* lib/net/http/generic_request.rb
  (Net::HTTP::GenericRequest#update_uri):
  use req['host'] if it is explicitly set. Even if URI is given,
  it is already used for the initial value of req['host'].
  Therefore overwritten value should be respected. [Bug #10054]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-05 19:10:23 +00:00
..
test_buffered_io.rb
test_http.rb * lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec): 2014-08-05 19:10:23 +00:00
test_http_request.rb
test_httpheader.rb
test_httpresponse.rb
test_httpresponses.rb
test_https.rb suppress warnings 2014-08-05 19:08:26 +00:00
test_https_proxy.rb
utils.rb Join threads. 2014-05-31 14:28:19 +00:00