#26052: Consider removing conditional_content_removal
-------------------------------------+-------------------------------------
Reporter: Aymeric Augustin | Owner: Susan Tan
Type: | Status: closed
Cleanup/optimization |
Component: HTTP handling | Version: 1.9
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Ed Morley):
> Python's BaseHTTPRequestHandler (which runserver uses) also has
​discards the response content for 204 and 304 status codes
Unfortunately the linked `BaseHTTPRequestHandler` handling appears to just
be for error conditions (`send_error()`) so this change caused
runserver.py to start returning a body for HTTP 200 HEAD requests.
I've filed #28054.
--
Ticket URL: <https://code.djangoproject.com/ticket/26052#comment:15>
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/067.c9a9a1d63fe6d6c486a9cda2a8972611%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.