You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any media type that starts with application/json is treated as JSON. This treatment should be limited to application/json and types with +json media type suffix. An example of a registered media type that triggers this problem is https://www.iana.org/assignments/media-types/application/json-seq
Describe the bug
Any media type that starts with
application/json
is treated as JSON. This treatment should be limited toapplication/json
and types with+json
media type suffix. An example of a registered media type that triggers this problem is https://www.iana.org/assignments/media-types/application/json-seqTo Reproduce
PR #5895 has a failing test case.
Expected behavior
Not anything that begins with
application/json
should be treated as JSON.Logs/tracebacks
Python Version
aiohttp Version
multidict Version
yarl Version
OS
Any
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: