[issue3094] By default, HTTPSConnection should send header "Host: somehost" instead of "Host: somehost:443"

2008-06-12 Thread Steven Wong
Steven Wong <[EMAIL PROTECTED]> added the comment: Clarification: I am not saying that sending "Host: somehost:443" for an HTTPS connection at port 443 is a bug. It is in fact legal. Sending "Host: somehost" is also legal in this situation, and IMHO is the preferred be

[issue3094] By default, HTTPSConnection should send header "Host: somehost" instead of "Host: somehost:443"

2008-06-12 Thread Steven Wong
New submission from Steven Wong <[EMAIL PROTECTED]>: Communicating over HTTPS at the default port of 443: import httplib conn = httplib.HTTPSConnection("my-secure-domain.com") conn.request("GET", "/") res = conn.getresponse() In the current implementation,