Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13687 closed (fixed)

Getting and deleting HttpResponse header are case-insensitive

Reported by: master Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description (last modified by Alex Gaynor)

In Django dev documentation / API Reference / Request and response objects:

HttpResponse.__delitem__(header) and HttpResponse.__getitem__(header) state the header is "case-sensitive".
According to the code, it should be "case-insensitive".

Change History (4)

comment:1 Changed 6 years ago by Alex Gaynor

Description: modified (diff)
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

Cleaned up formatting.

comment:2 Changed 6 years ago by Russell Keith-Magee

Triage Stage: UnreviewedReady for checkin

comment:3 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [13529]) Fixed #13687 -- Corrected request/response docs that mistakenly suggested getitem and delitem were case sensitive. Thanks to master for the report.

comment:4 Changed 6 years ago by Russell Keith-Magee

(In [13535]) [1.2.X] Fixed #13687 -- Corrected request/response docs that mistakenly suggested getitem and delitem were case sensitive. Thanks to master for the report.

Backport of r13529 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top