-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Don't replace empty BODY with empty dict on resp.json() call #3482
Comments
GitMate.io thinks possibly related issues are #918 (Empty CancelledError while parsing request body (question)), #2143 (FileResponse sends empty chunked body when returning 304), #758 (Empty body handled as error (204 No Content)), #815 (r.json() ), and #1726 (Add API to easily send JSON as request body). |
Instead of empty dict it respond with None. |
Well, just curious... backward compatibility with what ? |
Merged |
|
at the same time, |
Yes. |
See #3362 (comment) note.
The change breaks backward compatibility but now the great chance to do it in aiohttp 4.0 :)
The text was updated successfully, but these errors were encountered: