wsgiserver fail running on Python 3.7
Are your planning to update the code?
$ python3 --version
Python 3.7.3+
--2019-06-20 17:19:34-- http://localhost:8080/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... ValueError('WSGI Applications must yield bytes')
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/wsgiserver.py", line 1394, in communicate
req.respond()
File "/usr/lib/python3.7/site-packages/wsgiserver.py", line 848, in respond
self.server.gateway(self).respond()
File "/usr/lib/python3.7/site-packages/wsgiserver.py", line 2347, in respond
raise ValueError("WSGI Applications must yield bytes")
ValueError: WSGI Applications must yield bytes
500 Internal Server Error
2019-06-20 17:19:34 ERROR 500: Internal Server Error.