Bad status line exception while opening a page on django development server Bad status line exception while opening a page on django development server selenium selenium

Bad status line exception while opening a page on django development server


Looks like a duplicate of Python/Django "BadStatusLine" error but i can't flag due to this question having a bounty. According to this answer, a BadStatusLine exception is likely caused by an empty response, as in there being no status line at all.

According to this answer, the server formally tells the client there is no more data, instead of simply causing a connection reset or rude timeout.