#33230: Test client doesn't set explicitly provided Content-Type when data is
empty
-----------------------------------+--------------------------------------
Reporter: Markus Holtermann | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Comment (by Carlton Gibson):
[https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.5 RFC 7231 3.1.1.5
"Content-Type"]:
> ...A sender that generates a message containing a payload body SHOULD
> generate a Content-Type header...
Can't see that it says explicitly (anything) for the empty case.
(So don't know what to infer 🤔)
--
Ticket URL: <https://code.djangoproject.com/ticket/33230#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/065.336e2fec51fffa7ab9ea401ec19c57fb%40djangoproject.com.