Re: HTTPSConnection script fails, but only on some servers (long)

2005-04-15 Thread Paul Winkler
[EMAIL PROTECTED] wrote: > In the meantime you should take a look a cURL and pycurl, which do support > all kind of more extreme HTTP (FTP, etc.) handling, like using https over > an proxy. Well, I got a pycurl solution working very nicely in twenty minutes, including the time it took to read the

Re: HTTPSConnection script fails, but only on some servers (long)

2005-04-13 Thread Paul Winkler
[EMAIL PROTECTED] wrote: > I have a couple of recipes at the python cookbook site, that allows > python to do proxy auth and ssl. The easiest one is: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/301740 Thanks for that John! I gave it a whirl, changed the user, passwd, host, and phos

Re: HTTPSConnection script fails, but only on some servers (long)

2005-04-13 Thread pyguy2
I have a couple of recipes at the python cookbook site, that allows python to do proxy auth and ssl. The easiest one is: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/301740 john [EMAIL PROTECTED] wrote: > Well HTTPSConnection does not support proxies. (HTTP/CONNECT + switch to HTTPS)

Re: HTTPSConnection script fails, but only on some servers (long)

2005-04-13 Thread Paul Winkler
Thanks for the replies, Steve and Andreas! I will check out pycurl, thanks very much for the tip. Meanwhile, I'm trying to prepare a bug report re. httplib and get as much information as possible. Something I neglected to mention: when the script hits the problematic server, it always takes abo

Re: HTTPSConnection script fails, but only on some servers (long)

2005-04-13 Thread andreas
Well HTTPSConnection does not support proxies. (HTTP/CONNECT + switch to HTTPS) And it hasn't ever. Although the code seems to make sense there is no support for handling that switch. Probably a good thing to complain about (file a new bug report). In the meantime you should take a look a cURL an

Re: HTTPSConnection script fails, but only on some servers (long)

2005-04-12 Thread Steve Holden
Paul Winkler wrote: This is driving me up the wall... any help would be MUCH appreciated. I have a module that I've whittled down into a 65-line script in an attempt to isolate the cause of the problem. (Real domain names have been removed in everything below.) SYNOPSIS: I have 2 target servers, at

HTTPSConnection script fails, but only on some servers (long)

2005-04-11 Thread Paul Winkler
This is driving me up the wall... any help would be MUCH appreciated. I have a module that I've whittled down into a 65-line script in an attempt to isolate the cause of the problem. (Real domain names have been removed in everything below.) SYNOPSIS: I have 2 target servers, at https://A.com an