CherryPy incorrect output for 1xx, 204, 304
CherryPyWSGIServer will close a potential Keep-Alive connection ('Connection: close' header) when responses lack a Content-Length value. This is correct behavior most of the time, except for 204 No Content and more importantly 304 Not Modified response codes.
As per RFC 2616: these responses must not contain a response body, and thus lack a Content-Length header. Browsers/clients do not require the Content-Length header for these responses during Keep-Alive as they are "always terminated by the first empty line after the header fields".
Meaning the server should maintain a Keep-Alive connection (when appropriate) for these two respone codes.
Reported by firstname.lastname@example.org