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 | d8bc405e158732f29cb7d2e92effbd13b0cb7baa (patch) | |
tree | 779c44a50a75c6f54fd7a5bd2b68d641c3cf5bbe /lib/open-uri.rb | |
parent | 99cd48432db99e307d5acca28d9d0efe2ecfaf86 (diff) |
comment refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@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. |