[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

Steve Dower report at bugs.python.org
Sat Jun 16 14:41:42 EDT 2018


Steve Dower <steve.dower at python.org> added the comment:

For the NEWS entry, I'd suggest putting "Library" for the category and use your commit message for the text at the end.

You should also fill out the CLA form posted in your PR by the bot. While we *can* overlook it for very simple changes, best to get it done anyway.

As to Jean-Marc's comment, what you are describing is basically a bug in a third-party library and should be reported to them. As far as I can tell, http.server handles the encoding just fine, and if the web package has overridden part of it then it needs to override the rest in order to send headers properly. We can be less surprising to subclasses by only sending str, but if they're handling the conversion to bytes we can't really help any more than that.

----------
nosy: +steve.dower -xtreak

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33663>
_______________________________________


More information about the Python-bugs-list mailing list