Baffled by httplib and SSL!
Ray Van Dolson
rayvd at pacbell.net
Tue Dec 4 00:43:51 EST 2001
>Since I am not yet using this library I will limit my observation to
>the fact that the scheme (https:) and the host (//www.dotster.com) are
>normally implied by a) the connection port (443 by default) and b) the
>connected host. I would therefore have expected the first line to be
>
>send: 'POST /account/login/login.asp HTTP/1.1\r\n'
>
>but I don't know if this is what's causing your problem.
>
>regards
> Steve
Thanks for the suggestion--I'm not sure why I was doing it this way to
start out with. However, changing to just the /account/etc part didn't
have any effect. It still hangs at the __ssl.read() portion of
getresponse()
Anyone out there written any code with HTTPSConnection?
Thanks.
More information about the Python-list
mailing list