#6454 closed Uncategorized (wontfix)
request.path is a unicode string
Reported by: | Thomas Güttler | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | 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
Very small documentation patch: request.path is a unicode string.
Attachments (1)
Change History (6)
by , 17 years ago
Attachment: | docs__request_response.diff added |
---|
comment:1 by , 17 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 17 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Sorry, I think it is useful to say 'unicode string' here:
request.path is part of an URI. It could be possible, that
it is uriencoded, too.
The URL http://.../foo/ä/ could be
/foo/ä/ (unicode)
or /foo/%C3%BC/ in request.path.
comment:4 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
All strings, everywhere, that Django hands you as a result of HTTP or database interactions, are Unicode strings. As such there is no need to specially call attention to one specific string and say that it's a Unicode string; the entire point of consistent use of Unicode is that you never have to ask what type of string you've got -- it's a Unicode string.
comment:5 by , 13 years ago
Cc: | removed |
---|---|
Easy pickings: | unset |
Severity: | → Normal |
Type: | → Uncategorized |
UI/UX: | unset |
All strings, everywhere, that Django hands you as a result of HTTP or database interactions, are Unicode strings.