From 7adb25643e0301042218df648cc5f175fa44c2ea Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 5 Feb 2005 14:13:47 +0000 Subject: [PATCH] comment refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/open-uri.rb | 4 ++-- 1 file 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.