Message73045
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:34 | nosklo | set | recipients:
+ nosklo |
2008-09-11 18:08:34 | nosklo | set | messageid: <1221156514.39.0.145827705782.issue3839@psf.upfronthosting.co.za> |
2008-09-11 18:07:51 | nosklo | link | issue3839 messages |
2008-09-11 18:07:50 | nosklo | create | |
|