#25048 closed Cleanup/optimization (fixed)
Request headers that include underscore are missing from request META
| Reported by: | segalle | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.8 |
| Severity: | Normal | Keywords: | request header meta |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When sending custom request header that include underscore string, it is removed from the META dict on the request
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.
Attachments (1)
Change History (5)
comment:1 by , 10 years ago
by , 10 years ago
| Attachment: | 25048.diff added |
|---|
comment:2 by , 10 years ago
| Component: | HTTP handling → Documentation |
|---|---|
| Has patch: | set |
| Triage Stage: | Unreviewed → Accepted |
| Type: | Bug → Cleanup/optimization |
Proposed doc patch attached.
Note:
See TracTickets
for help on using tickets.
This is by design, see 316b8d49746933d1845d600314b002d9b64d3e3d. Should we document it somewhere?