[issue14721] httplib doesn't specify content-length header for POST requests without data

Jesús Cea Avión report at bugs.python.org
Fri May 4 21:12:29 CEST 2012


Jesús Cea Avión <jcea at jcea.es> added the comment:

HEAD?. It doesn't make sense in HEAD if it doesn't make sense in GET.

Looking around, I found this, to mud the water a little bit more: <http://fixunix.com/tcp-ip/66198-http-rfc-related-question-content-length-0-get-request.html>.

Not being explicit about this is a "bug" in the specification, I think.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14721>
_______________________________________


More information about the Python-bugs-list mailing list