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 martin.panter
Recipients Susumu Koshiba, deronnax, martin.panter, r.david.murray, spaceone
Date 2016-06-05.00:33:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
For a HEAD request, I think we should continue to send Content-Length (except in combination with one of the special responses). HEAD is slightly different to 304 Not Modified. With HEAD vs GET, the response code and other header values do not change, but the body is omitted. So it is plausible for a user to make the same send_error() call for both GET and HEAD.

With 304 Not Modified, the response code _does_ change (304 is instead of e.g. 200), although other header values are allowed to be the same. The user would have to make a different send_error() call to trigger the different response code, and the body and length that would be generated is different.
Date User Action Args
2016-06-05 00:33:36martin.pantersetrecipients: + martin.panter, r.david.murray, deronnax, spaceone, Susumu Koshiba
2016-06-05 00:33:36martin.pantersetmessageid: <>
2016-06-05 00:33:36martin.panterlinkissue25738 messages
2016-06-05 00:33:35martin.pantercreate