#23949: Add charset to JsonResponse
--------------------------------------+--------------------
Reporter: bronger | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
Please change the default content-type of JSON responses from
"application/json" to "application/json; charset=ascii" or
"application/json; charset=utf-8". The way Django generates the JSON,
it's guaranteed to work with both values of charset. HTTP itself doesn't
define a default charset for application/* types AFAIK.
--
Ticket URL: <https://code.djangoproject.com/ticket/23949>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.caf5297635523adfb9083593c8c62d2e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.