diff options
Diffstat (limited to 'lib')
-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. |