#24137: Reason phrases use all upper case by default; standard suggests title
case
--------------------------------------+--------------------
Reporter: jdufresne | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
Reason phrases were added in ticket #12747. The phrases were added as all
upper case.
When looking at the HTTP standard as reported by different sources. The
default phrases are never all upper case. Instead they typically use a
title case where the first letter of each word is capitalized and the
remaining words are lower case. I found it odd and unusual that Django
would follow a different default here.
Pull request to follow.
See documentation at:
* https://www.ietf.org/rfc/rfc2616.txt
* http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
* http://www.iana.org/assignments/http-status-codes (referenced in Django
code)
--
Ticket URL: <https://code.djangoproject.com/ticket/24137>
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/052.4e51201cb241455f072a448441f348b7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.