Mikhail Gulyaev added the comment: You right I found who resend requests!
My request is goes through httplb2(which use httplib and resends request on failure), but the issue is that if request body contains file and then that file is read out and on retry there is nothing to read since we already read it in httplib. So what solution could you suggest for me? Is it some patch for httplib2 or totally my own troubles This issue is on border of interacting httplib and httplib2 - httplib sends request and reads out a file - httplib2 resends a request but file is already readed out Will it be honest if we rereads file in httplib2? and could we able assume that readable object(hasattr(data,'read') == True) has also tell and seek methods ---------- _______________________________________ 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