Martin Panter added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25838> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com