Georg Brandl added the comment:

With the vanilla BaseHTTPRequestHandler, this shouldn't happen. 
self.raw_requestline is read from a socket file, which returns bytes, so they 
can be decoded using str(bytes, encoding).

Can you please check if there are any third-party packages involved that 
call/subclass the classes from http.server and introduce a bytes/str confusion? 
 They might not be correctly/completely ported to Python 3 in that case.

In any case, a full traceback will be helpful to help debug this.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22899>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to