If I receive empty payload in my HTTP request in Uvicorn. Getting a parsing error #1658
Replies: 1 comment 15 replies
-
Please provide a minimal, reproducible example, with the versions of the packages used. 🙏 cc @euri10 maybe save this message? 😄 |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the http request which I received on my ASGI server.
{'type': 'http.request', 'body': b'', 'more_body': False}
I am getting this error, as my body is empty.
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Beta Was this translation helpful? Give feedback.
All reactions