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 martin.panter
Recipients gmixo, martin.panter, r.david.murray
Date 2015-12-12.06:08:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449900520.05.0.737702611082.issue25838@psf.upfronthosting.co.za>
In-reply-to
Content
Okay that makes a lot more sense! I agree that this should either be fixed in httplib2 or in your own script. The problem parallels Issue 5038, where urlopen() is used (rather than httplib2), and the request is retried after getting an authorization failure (rather than after a disconnection).

One option, if you can use Python 3.2+, might be to use a custom iterable object as the body. Then you get a hook to rewind the file every time it is iterated.
History
Date User Action Args
2015-12-12 06:08:40martin.pantersetrecipients: + martin.panter, r.david.murray, gmixo
2015-12-12 06:08:40martin.pantersetmessageid: <1449900520.05.0.737702611082.issue25838@psf.upfronthosting.co.za>
2015-12-12 06:08:40martin.panterlinkissue25838 messages
2015-12-12 06:08:39martin.pantercreate