[issue3094] By default, HTTPSConnection should send header "Host: somehost" instead of "Host: somehost:443"
Senthil
report at bugs.python.org
Fri Jun 13 04:13:25 CEST 2008
Senthil <orsenthil at users.sourceforge.net> added the comment:
The HTTPSConnection class derives from HTTPConnection and the methods in
the HTTPConnection assume that 1) It is either over the default HTTP
port or 2) Over a different port (be it different HTTP port(8080?) or
443 for HTTPS etc) and in that case it sends the port along in the
request header. Thats it. So, there is no bug here.
Morever, RFC 2818 states that, for HTTPS default port is 443, but the
implementation are free to choose any other ports over TLS as well.
Invalid bug can be closed.
Thanks.
----------
nosy: +orsenthil
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3094>
_______________________________________
More information about the Python-bugs-list
mailing list