Jeremy Hylton <jer...@alum.mit.edu> added the comment: The documentation is pretty vague on this point. If you send something other than plain ascii, it gets a bit tricky to figure out what other headers need to be added. It would be safer for the client to pick an encoding (e.g. utf-8) and encode the string before calling request(). It affects the content-length and presumably also the content-type.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5314> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com