Opened 14 years ago
Closed 14 years ago
#15650 closed (invalid)
HttpResponse.items() should return _headers.items()
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Currently django.http.HttpResponse.items() returns a list of the header's values. This is useless and counterintuitive.
items() should return the underlying dictionary's items(), not its values().
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | httpresponse-items.patch added |
---|
comment:1 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.