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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25738>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to