for example:
I send the header: CUSTOM_HEADER and cant see it in the server side.
if i remove the underscore (CUSTOMHEADER) it appears again in the META
dict as HTTP_CUSTOMHEADER.
--
Ticket URL: <https://code.djangoproject.com/ticket/25048>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
This is by design, see 316b8d49746933d1845d600314b002d9b64d3e3d. Should we
document it somewhere?
--
Ticket URL: <https://code.djangoproject.com/ticket/25048#comment:1>
* Attachment "25048.diff" added.
* component: HTTP handling => Documentation
* has_patch: 0 => 1
* type: Bug => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
Proposed doc patch attached.
--
Ticket URL: <https://code.djangoproject.com/ticket/25048#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7b6d3104f263d9483982928604b2e51f06126ec1" 7b6d310]:
{{{
#!CommitTicketReference repository=""
revision="7b6d3104f263d9483982928604b2e51f06126ec1"
Fixed #25048 -- Documented that runservers strips headers with
underscores.
refs 316b8d49746933d1845d600314b002d9b64d3e3d
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25048#comment:3>
Comment (by Tim Graham <timograham@…>):
In [changeset:"340c410d58b3b760fe12dfd345799993fc3d3289" 340c410]:
{{{
#!CommitTicketReference repository=""
revision="340c410d58b3b760fe12dfd345799993fc3d3289"
[1.8.x] Fixed #25048 -- Documented that runservers strips headers with
underscores.
refs 316b8d49746933d1845d600314b002d9b64d3e3d
Backport of 7b6d3104f263d9483982928604b2e51f06126ec1 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25048#comment:4>