[issue5314] http client error

Jeremy Hylton report at bugs.python.org
Fri Mar 27 21:22:48 CET 2009


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

Ok.  Discovered that RFC 2616 says that iso-8859-1 is the default
charset, so I will use that to encode strings instead of ascii.  If you
want utf-8, you could encode the string yourself before calling
request().  Presumably, you should also add a content-type that explains
the charset.  I'll clarified this in the docs.

----------
assignee:  -> jhylton

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


More information about the Python-bugs-list mailing list