Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-03-01 Thread ak
which website have you tested it on ? My tests were basically on https://www.orange.sk and http://www.orange.sk (the first fails, and not the second one, which led me to think there's a bug in python's SSL implementation for this particular web server) (Oracle) with python 2.5 On Feb 19, 1:57 pm

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-02-19 Thread O Peng
I'm running into a similar problem with the BadStatusLine. The source code for httplib.py in the problem is as follows: class HTTPResponse: ... def _read_status(self): line = self.fp.readline() ... if not line: # Presumably, the server closed the connect

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-21 Thread ak
On Jan 20, 1:14 am, Steven D'Aprano wrote: > On Mon, 19 Jan 2009 13:00:44 -0800, ak wrote: > > Hi everyone, > > > I have a problem with urllib2 on this particular url, hosted on an > > Oracle HTTP Server > > >http://www.orange.sk/eshop/sk/portal/catalog.html? > > type=post&subtype=phone&null > > >

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-19 Thread Steven D'Aprano
On Mon, 19 Jan 2009 13:00:44 -0800, ak wrote: > Hi everyone, > > I have a problem with urllib2 on this particular url, hosted on an > Oracle HTTP Server > > http://www.orange.sk/eshop/sk/portal/catalog.html? type=post&subtype=phone&null > > which gets 302 redirected to > https://www.orange.sk/e

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-19 Thread ak
On Jan 19, 10:00 pm, ak wrote: > Hi everyone, > > I have a problem with urllib2 on this particular url, hosted on an > Oracle HTTP Server > > http://www.orange.sk/eshop/sk/portal/catalog.html?type=post&subtype=p... > > which gets 302 redirected > tohttps://www.orange.sk/eshop/sk/catalog/post/phon

urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-19 Thread ak
Hi everyone, I have a problem with urllib2 on this particular url, hosted on an Oracle HTTP Server http://www.orange.sk/eshop/sk/portal/catalog.html?type=post&subtype=phone&null which gets 302 redirected to https://www.orange.sk/eshop/sk/catalog/post/phones.html, after setting a cookie through