Message238825
There are two issues. The one is that calculated Content-Length is not correct for lists, tuples, and other types (such as deque or array.array). The right solution is to calculate size using a technique used in urllib. Content-Length shouldn't be calculated for lists, tuples, and other non-bytes-compatible sequences. This is a bug, and the patch should be applied to all maintained releases.
The second issue is feature request. Allow calculating Content-Length for lists and tuples. |
|
Date |
User |
Action |
Args |
2015-03-21 19:02:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, orsenthil, berker.peksag, martin.panter, demian.brecht |
2015-03-21 19:02:35 | serhiy.storchaka | set | messageid: <1426964555.31.0.69348530943.issue23350@psf.upfronthosting.co.za> |
2015-03-21 19:02:35 | serhiy.storchaka | link | issue23350 messages |
2015-03-21 19:02:35 | serhiy.storchaka | create | |
|