Index: httplib.py =================================================================== --- httplib.py (revision 64191) +++ httplib.py (working copy) @@ -813,7 +813,7 @@ host_enc = self.host.encode("ascii") except UnicodeEncodeError: host_enc = self.host.encode("idna") - if self.port == HTTP_PORT: + if self.port == self.default_port: self.putheader('Host', host_enc) else: self.putheader('Host', "%s:%s" % (host_enc, self.port))

AltStyle によって変換されたページ (->オリジナル) /