Opened 16 years ago

Closed 16 years ago

Last modified 12 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 16 years ago.

Download all attachments as: .zip

Change History (6)

by Thomas Güttler, 16 years ago

Attachment: docs__request_response.diff added

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

Cc: hv@… added

comment:2 by James Bennett, 16 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, 16 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, 16 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, 12 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