Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range #4

Open
lynecro opened this issue Nov 30, 2015 · 2 comments
Open

list index out of range #4

lynecro opened this issue Nov 30, 2015 · 2 comments

Comments

@lynecro
Copy link

lynecro commented Nov 30, 2015

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

@maxerogers
Copy link

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

@zhwindy
Copy link

zhwindy commented Apr 22, 2019

this error because your request text is None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants