Traceback (most recent call last):
(omit)
File "(omit)/app.py", line 73, in body
content_length = int(self.environ.get('CONTENT_LENGTH', 0))
ValueError: invalid literal for int() with base 10: ''
Conditions for error
Request
$ curl -d '{"key":"value"}' -X POST http://127.0.0.1:8000/user/
User Created
$ curl -X POST http://127.0.0.1:8000/user/
A server error occurred. Please contact the administrator.
I've got a error if 'CONTENT_LENGTH' = ''
Error message
Conditions for error
Request
Variables