Author amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2012-12-10.20:14:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
HTTPConnection.send() accepts a bytes string, a file, and any iterable.

When a file is passed, data is read in blocks until read() returns an empty string.
But because a "return" statement is missing, execution continues with an attempt to iterate the file again...
This exits quickly most of the time, but this can lead to surprising behavior if more data is available, or for custom implementations of the file object.
Date User Action Args
2012-12-10 20:14:32amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc
2012-12-10 20:14:32amaury.forgeotdarcsetmessageid: <>
2012-12-10 20:14:32amaury.forgeotdarclinkissue16658 messages
2012-12-10 20:14:31amaury.forgeotdarccreate