urllib2.urlopen+BadStatusLine+https

2011-05-12 Thread up2date.cyborg
Hi, I am new to this list, I don't really know if I should post here my request. Anyway. The following code is raising httplib.BadStatusLine on urllib2.urlopen(url) url = 'https://stat.netaffiliation.com/requete.php?login=xxx&mdp=yyy&debut=2011-05-01&fin=2011-05-12' response = urllib2.urlopen(

Re: BadStatusLine:

2008-09-22 Thread Diez B. Roggisch
noelob wrote: > Hi All, > > During performance testing of my web application, I occasionally get a > BadStatusLine exception from httplib. Reading > http://docs.python.org/lib/module-httplib.html#l2h-4021 tells me that > it's "Raised if a server responds with a HTTP

Re: BadStatusLine:

2008-09-22 Thread Bruno Desthuilliers
noelob a écrit : Hi All, During performance testing of my web application, I occasionally get a BadStatusLine exception from httplib. Reading http://docs.python.org/lib/module-httplib.html#l2h-4021 tells me that it's "Raised if a server responds with a HTTP status code that we don&#x

BadStatusLine:

2008-09-22 Thread noelob
Hi All, During performance testing of my web application, I occasionally get a BadStatusLine exception from httplib. Reading http://docs.python.org/lib/module-httplib.html#l2h-4021 tells me that it's "Raised if a server responds with a HTTP status code that we don't understand.&quo

Re: BadStatusLine error

2008-05-29 Thread Jim
On May 28, 11:24 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Jim wrote: > > Hi > > > I get a BadStatusLine error (indicated below). Can anyone help with > > how to > > catch error in code before abort? > > http://docs.python.org/tut/node1

Re: BadStatusLine error

2008-05-28 Thread Diez B. Roggisch
Jim wrote: > Hi > > I get a BadStatusLine error (indicated below). Can anyone help with > how to > catch error in code before abort? http://docs.python.org/tut/node10.html Diez -- http://mail.python.org/mailman/listinfo/python-list

BadStatusLine error

2008-05-28 Thread Jim
Hi I get a BadStatusLine error (indicated below). Can anyone help with how to catch error in code before abort? Thanks Jim Traceback (most recent call last): File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework \scriptutils.py", line 310, in RunScript exec codeObject i