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.19:34:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336160050.09.0.527178059591.issue14721@psf.upfronthosting.co.za>
In-reply-to
Content
Here's my initial proposal for a patch against httplib, based on the 2.7 branch of cpython repository. I've included a couple of tests, which check that when content is empty, content-length is set to 0 for certain methods (POST/PUT etc) and not specified for others.
History
Date User Action Args
2012-05-04 19:34:10Arve.Knudsensetrecipients: + Arve.Knudsen, jcea, orsenthil, ezio.melotti, eric.araujo, piotr.dobrogost
2012-05-04 19:34:10Arve.Knudsensetmessageid: <1336160050.09.0.527178059591.issue14721@psf.upfronthosting.co.za>
2012-05-04 19:34:09Arve.Knudsenlinkissue14721 messages
2012-05-04 19:34:09Arve.Knudsencreate