diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-05 14:13:47 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-05 14:13:47 +0000 |
commit | 7adb25643e0301042218df648cc5f175fa44c2ea (patch) | |
tree | 15952f0a2aec0426e04c7195535e973344fba7c7 /lib/open-uri.rb | |
parent | 06f0db50b23ef2319198ee3b6d1c0b7020bf388e (diff) | |
download | ruby-7adb25643e0301042218df648cc5f175fa44c2ea.tar.gz |
comment refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/open-uri.rb')
-rw-r--r-- | lib/open-uri.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 8d0353bbc9..8a17f54d3e 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -530,8 +530,8 @@ module URI options.each {|k, v| header[k] = v if String === k } if uri.respond_to? :host - # According to RFC2616 14.23, Host: request-header field should be set - # an origin server. + # According to RFC2616 14.23, Host: request-header field should be + # the origin server. # But net/http wrongly set a proxy server if an absolute URI is # specified as a request URI. # So open-uri override it here explicitly. |