New submission from mschu <mschu....@gmail.com>: Independent from HTTP strict, an invalid BadStatusLine() exception is raised when a keep-alive connection exceeds its timeout:
client->server <request> s->c <answer> <connection timeout passing> s->c: FIN/ACK c->s: ACK c->s: <get request>/FIN s->c: RST (without data) which raises the exception. An easy workaround is to either poll information often enough for the server to not close the connection or close and reopen the connection. However, the exception is misleading. ---------- components: Library (Lib) messages: 103545 nosy: mschu severity: normal status: open title: httplib: false BadStatusLine() raised type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8450> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com