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

2018-06-02 Thread Jean-Marc Le Peuvedic
Jean-Marc Le Peuvedic added the comment: The exception is raised in the start_response function provided by web.py's WSGIGateway class in wsgiserver3.py:1997. # According to PEP , when using Python 3, the response status # and headers must be bytes masquerading as unicode

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

2018-05-27 Thread Jean-Marc Le Peuvedic
New submission from Jean-Marc Le Peuvedic <lepeuve...@gmail.com>: When running the built-in web server of web.py, the following error messages appear when the HTTP client fetches a non existing CSS file: TypeError('WSGI response header value 469 is not of type str.',) Traceback (most