#35727: Add `response.text_content` to responses
-----------------------------------+------------------------------------
Reporter: Adam Johnson | Owner: (none)
Type: New feature | Status: new
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Changes (by Natalia Bidart):
* component: HTTP handling => Testing framework
* stage: Unreviewed => Accepted
Comment:
I'm a big +1 for this one, I have suffered this multiple times in many
projects.
One note though: the issue title and content proposes `text_content` for
the new attr name, but the example uses `text`. I personally prefer `text`
because it's shorter and the same that `requests`
[https://requests.readthedocs.io/en/latest/user/quickstart/#response-
content exposes].
--
Ticket URL: <https://code.djangoproject.com/ticket/35727#comment:1>
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/01070191b3995037-20813e5c-41c5-4521-ae92-ca396d84e41f-000000%40eu-central-1.amazonses.com.