Opened 17 years ago

Closed 17 years ago

Last modified 13 years ago

#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)

docs__request_response.diff (518 bytes ) - added by Thomas Güttler 17 years ago.

Download all attachments as: .zip

Change History (6)

by Thomas Güttler, 17 years ago

Attachment: docs__request_response.diff added

comment:1 by Thomas Güttler, 17 years ago

Cc: hv@… added

comment:2 by James Bennett, 17 years ago

Resolution: invalid
Status: newclosed

All strings, everywhere, that Django hands you as a result of HTTP or database interactions, are Unicode strings.

comment:3 by Thomas Güttler, 17 years ago

Resolution: invalid
Status: closedreopened

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 James Bennett, 17 years ago

Resolution: wontfix
Status: reopenedclosed

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 Thomas Güttler, 13 years ago

Cc: hv@… removed
Easy pickings: unset
Severity: Normal
Type: Uncategorized
UI/UX: unset
Note: See TracTickets for help on using tickets.
Back to Top