Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Correct JSON MIME type #393

Closed
nihil-admirari opened this issue Jun 22, 2023 · 0 comments
Closed

Correct JSON MIME type #393

nihil-admirari opened this issue Jun 22, 2023 · 0 comments

Comments

@nihil-admirari
Copy link
Contributor

Correct MIME type for JSON is application/json, not text/json. In aiohttp, a manual override is required for every request, which is inconvenient:

response.json(content_type='text/json')
FooSoft added a commit that referenced this issue Jun 27, 2023
Correct JSON MIME type (Fixes #393)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant