This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nosklo
Recipients nosklo
Date 2008-09-11.18:07:50
SpamBayes Score 3.12096e-06
Marked as misclassified No
Message-id <>
The finish_content method in wsgiref.handlers.BaseHandler class resets
Content-Length to "0" if there was no content returned by the
application, even if the application has set it already.

That makes impossible to implement things like HEAD requests in the
application, which should return the Content-Length without returning
actual content.

The desired behavior would be to respect the header set by the wsgi
application, using "0" as a default value instead.
Date User Action Args
2008-09-11 18:08:34nosklosetrecipients: + nosklo
2008-09-11 18:08:34nosklosetmessageid: <>
2008-09-11 18:07:51nosklolinkissue3839 messages
2008-09-11 18:07:50nosklocreate