lsbaws icon indicating copy to clipboard operation
lsbaws copied to clipboard

list index out of range

Open lynecro opened this issue 9 years ago • 2 comments

After running the pyramid server, I can get the response shown in the browser, but after a few seconds, below error was showing on the console and the server was down: Traceback (most recent call last): File "webserver2.py", line 142, in httpd.serve_forever() File "webserver2.py", line 41, in serve_forever self.handle_one_request() File "webserver2.py", line 51, in handle_one_request self.parse_request(request_data) File "webserver2.py", line 64, in parse_request request_line = text.splitlines()[0] IndexError: list index out of range

lynecro avatar Nov 30 '15 14:11 lynecro

Can confirm I had the same issue. screen shot 2015-12-22 at 3 46 56 pm

maxerogers avatar Dec 22 '15 20:12 maxerogers

this error because your request text is None

zhwindy avatar Apr 22 '19 12:04 zhwindy