Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread William Ray Wing
On Aug 26, 2013, at 5:28 AM, Chris Down wrote: > On 2013-08-26 01:23, Alan Gauld wrote: >> While this is technically within the remit of this list, since its >> about a standard library module, I suspect you might be better >> off asking on the main tutor list. It's at a deeper level of >> skill/

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread ALAN GAULD
or@python.org >Sent: Monday, 26 August 2013, 14:50 >Subject: Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection >objects > > >On Aug 26, 2013, at 5:28 AM, Chris Down wrote: > >> On 2013-08-26 01:23, Alan Gauld wrote: >>> While this is technica

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread Chris Down
On 2013-08-26 09:50, William Ray Wing wrote: > I'd be willing to bet that Alan simply foobar'd his answer - he _meant_ to > say the main python list, not the main tutor list. I guessed that was what he meant. I posted on python-list, anyway. pgpE1GejEhn4I.pgp Description: PGP signature _

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread Steven D'Aprano
On 26/08/13 19:28, Chris Down wrote: On 2013-08-26 01:23, Alan Gauld wrote: While this is technically within the remit of this list, since its about a standard library module, I suspect you might be better off asking on the main tutor list. It's at a deeper level of skill/experience than most of

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread Chris Down
On 2013-08-26 01:23, Alan Gauld wrote: > While this is technically within the remit of this list, since its > about a standard library module, I suspect you might be better > off asking on the main tutor list. It's at a deeper level of > skill/experience than most of the tutor queries. Hm, I guess

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-25 Thread Alan Gauld
On 25/08/13 23:34, Chris Down wrote: I am experiencing intermittent issues where an exception will be raised when calling getresponse(), which makes the entire connection stuck in Request-sent state. While this is technically within the remit of this list, since its about a standard library mod

[Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-25 Thread Chris Down
I am experiencing intermittent issues where an exception will be raised when calling getresponse(), which makes the entire connection stuck in Request-sent state. Is it possible to reset to idle state somehow without reinstantiating the HTTPSConnection? I ideally want to keep the connection to the