Opened 5 years ago

Closed 5 years ago

Last modified 5 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)

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 5 years ago by Alex

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

Cleaned up formatting.

comment:2 Changed 5 years ago by russellm

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(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 5 years ago by russellm

(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