Message236893
| Author |
jimr |
| Recipients |
demian.brecht, jimr, martin.panter |
| Date |
2015年02月28日.16:13:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1425139994.56.0.126460216247.issue23539@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Happy to remove OPTIONS from the list of methods that gets a content-length where body is None, but do we also want to consider behaviour if it's the empty string? My feeling is that '' implies "present but empty" (so should have a content-length set to zero), whereas None implies "missing" (so should only have a content-length header set to zero if the method is expecting a body.
I've updated the patch with this logic, including ensuring proper explicit test coverage for the cases described. Docs updated too. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年02月28日 16:13:14 | jimr | set | recipients:
+ jimr, martin.panter, demian.brecht |
| 2015年02月28日 16:13:14 | jimr | set | messageid: <1425139994.56.0.126460216247.issue23539@psf.upfronthosting.co.za> |
| 2015年02月28日 16:13:14 | jimr | link | issue23539 messages |
| 2015年02月28日 16:13:14 | jimr | create |
|