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 Arve.Knudsen
Recipients Arve.Knudsen, eric.araujo, ezio.melotti, jcea, orsenthil, piotr.dobrogost
Date 2012-05-04.18:12:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336155129.44.0.547785359326.issue14721@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, when inspecting the HTTP requests sent by Chrome for the different methods (a great little Chrome app called Postman let me fire requests manually), I found that content-length would be set for most methods. I could confirm that 'content-length: 0' would be set for the following methods: POST, PUT, PATCH, DELETE and HEAD.

I guess it should be good enough to model that behaviour in httplib?
History
Date User Action Args
2012-05-04 18:12:09Arve.Knudsensetrecipients: + Arve.Knudsen, jcea, orsenthil, ezio.melotti, eric.araujo, piotr.dobrogost
2012-05-04 18:12:09Arve.Knudsensetmessageid: <1336155129.44.0.547785359326.issue14721@psf.upfronthosting.co.za>
2012-05-04 18:12:08Arve.Knudsenlinkissue14721 messages
2012-05-04 18:12:08Arve.Knudsencreate