N
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." Is there a way to find what the actual status code
returned was? I.e. the value that caused the exception to be thrown?
Under what circumstances is a BadStatusLine normally thrown? (e.g.
data corruption?)
I'm quite new to python, but not to programming. Apologies if this is
a silly question
Thanks,
Noel
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." Is there a way to find what the actual status code
returned was? I.e. the value that caused the exception to be thrown?
Under what circumstances is a BadStatusLine normally thrown? (e.g.
data corruption?)
I'm quite new to python, but not to programming. Apologies if this is
a silly question
Thanks,
Noel