Code

Opened 4 years ago

Closed 4 years ago

Last modified 4 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".

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by Alex

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

Cleaned up formatting.

comment:2 Changed 4 years ago by russellm

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 4 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 4 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.