#2970: [patch] HttpResponse should treat headers case-insensitively
----------------------------+-----------------------------------------------
Reporter: adrian | Owner: PhiR
Status: new | Component: HTTP handling
Version: | Resolution:
Keywords: sprintsept14 | Stage: Design decision needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------+-----------------------------------------------
Changes (by PhiR):
* keywords: => sprintsept14
* owner: nobody => PhiR
* component: Core framework => HTTP handling
Comment:
The new patch has less overhead and has_header() should be much faster
than before. http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
says that field names are case-insensitive so there's no need at all to
preserve case.
--
Ticket URL: <http://code.djangoproject.com/ticket/2970#comment:10>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---