Message236600
The fix for this still doesn't set Content-Length to zero when body is None, but I don't see any reason why this should be the case. For example, the following snippet would work for any 'empty' body:
if 'content-length' not in header_names:
self._set_content_length(body if body is not None else '')
I'm happy to produce a patch if there's any chance it would be merged. |
|
Date |
User |
Action |
Args |
2015-02-25 16:59:18 | jimr | set | recipients:
+ jimr, jcea, orsenthil, ezio.melotti, eric.araujo, Arve.Knudsen, python-dev, piotr.dobrogost |
2015-02-25 16:59:18 | jimr | set | messageid: <1424883558.36.0.261032802707.issue14721@psf.upfronthosting.co.za> |
2015-02-25 16:59:18 | jimr | link | issue14721 messages |
2015-02-25 16:59:18 | jimr | create | |
|