#34392: Allow using test client response.json() with StreamingHttpResponse
---------------------------------------------+------------------------
Reporter: vainu-arto | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
This doesn't work since the ClientMixin._parse_json() method uses
response.content directly instead of using the response.getvalue() wrapper
which abstracts away the difference between the Response implementations.
--
Ticket URL: <https://code.djangoproject.com/ticket/34392>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070186c0b85464-41285db8-9bbc-454f-87fe-d599b5e66804-000000%40eu-central-1.amazonses.com.