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 serhiy.storchaka
Recipients berker.peksag, demian.brecht, martin.panter, orsenthil, serhiy.storchaka
Date 2015-03-21.19:02:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426964555.31.0.69348530943.issue23350@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-03-21 19:02:35serhiy.storchakasetrecipients: + serhiy.storchaka, orsenthil, berker.peksag, martin.panter, demian.brecht
2015-03-21 19:02:35serhiy.storchakasetmessageid: <1426964555.31.0.69348530943.issue23350@psf.upfronthosting.co.za>
2015-03-21 19:02:35serhiy.storchakalinkissue23350 messages
2015-03-21 19:02:35serhiy.storchakacreate