#11570 closed (fixed)
Request and Response objects page not using unicode responses in examples
Reported by: | Adam Nelson | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This is almost pedantic, but the 'Request and Response Objects' page examples are not giving responses in unicode. This patch changes it. The only reason this matters is because I was having trouble with updating a copied POST dictionary and one of the avenues I went down was whether there was a problem mixing unicode and non-unicode keys. This makes it clear that no matter what you do, all keys are made unicode by QueryDict (or at least, that's how it appears).
Attachments (1)
Change History (5)
by , 15 years ago
Attachment: | request-response.diff added |
---|
comment:1 by , 15 years ago
The patch in #9465 includes this patch - so if that ticket goes through, this ticket can be closed without the patch going anywhere.
comment:2 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Request and Response Objects now return unicode keys