{{{
response._json = json.loads(response.content.decode(), **extra)
}}}
While this is frequently correct, the response may be any encoding. If it
is a non-UTF-8 encoding, the content should be decoded as such.
--
Ticket URL: <https://code.djangoproject.com/ticket/30550>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/11449 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/30550#comment:1>
* owner: nobody => Jon Dufresne
* status: new => assigned
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/30550#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"d6ea4898c44f75a25bc0b7a60b54fd6dddc69eb5" d6ea4898]:
{{{
#!CommitTicketReference repository=""
revision="d6ea4898c44f75a25bc0b7a60b54fd6dddc69eb5"
Fixed #30550 -- Fixed decoding of non-UTF-8 bytes objects in
response.json().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30550#comment:3>