Message256266
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. |
|
Date |
User |
Action |
Args |
2015-12-12 06:08:40 | martin.panter | set | recipients:
+ martin.panter, r.david.murray, gmixo |
2015-12-12 06:08:40 | martin.panter | set | messageid: <1449900520.05.0.737702611082.issue25838@psf.upfronthosting.co.za> |
2015-12-12 06:08:40 | martin.panter | link | issue25838 messages |
2015-12-12 06:08:39 | martin.panter | create | |
|