Opened 14 years ago

Closed 14 years ago

Last modified 14 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: no UI/UX: no

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 by Alex Gaynor, 14 years ago

Description: modified (diff)

Cleaned up formatting.

comment:2 by Russell Keith-Magee, 14 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Russell Keith-Magee, 14 years ago

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 by Russell Keith-Magee, 14 years ago

(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