[issue5468] urlencode does not handle "bytes", and could easily handle alternate encodings

Jeremy Hylton report at bugs.python.org
Fri Mar 27 15:50:57 CET 2009


Jeremy Hylton <jeremy at alum.mit.edu> added the comment:

Indeed, I think I confused some other character encoding issues related
to HTTP with the URI issue.  The discussion in RFC 3986 is length and
only occasionally clarifying for this issue.  That is, it doesn't say
anything definitive like applications are free to use any character
encoding when decoding a URI.  But I think it agrees with your
assessment that an application is free to interpret the binary data
however it wants, e.g. http://tools.ietf.org/html/rfc3986#section-2.1

----------
assignee:  -> jhylton
resolution:  -> accepted

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5468>
_______________________________________


More information about the Python-bugs-list mailing list