[issue25738] http.server doesn't handle RESET CONTENT status correctly
R. David Murray
report at bugs.python.org
Fri Jun 3 20:33:33 EDT 2016
R. David Murray added the comment:
Well, the reason it makes sense to use send_error, or at least the reason I suspect a lot of people do it, is because then you don't have to call end_headers() yourself. So, acknowleding this, it might be worth mentioning in the docs that the body isn't sent for certain return codes. Especially seeing as we already do it for NO_CONTENT and NOT_MODIFIED.
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25738>
_______________________________________
More information about the Python-bugs-list
mailing list