Mikhail Gulyaev added the comment:
Thanks for attention
--
___
Python tracker
<http://bugs.python.org/issue25838>
___
___
Python-bugs-list mailing list
Unsub
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
Changes by Mikhail Gulyaev :
Added file: http://bugs.python.org/file41288/Выделение_061.png
___
Python tracker
<http://bugs.python.org/issue25838>
___
___
Python-bug
Changes by Mikhail Gulyaev :
Added file: http://bugs.python.org/file41287/Выделение_059.png
___
Python tracker
<http://bugs.python.org/issue25838>
___
___
Python-bug
Changes by Mikhail Gulyaev :
Added file: http://bugs.python.org/file41286/Выделение_058.png
___
Python tracker
<http://bugs.python.org/issue25838>
___
___
Python-bug
Mikhail Gulyaev added the comment:
> Why can’t you do the file rewinding yourself, when you retry the request?
Actually I'm not retry to send a request. This behavior I met for httplib
library while I'm send a single request, httplib send it to exist connection
and then recreates
Changes by Mikhail Gulyaev :
--
keywords: +patch
Added file: http://bugs.python.org/file41284/httplib.patch
___
Python tracker
<http://bugs.python.org/issue25
New submission from Mikhail Gulyaev:
Hello guys!
Recently I recived some strange behavior for sending http requests using httplib
My python script uses httplib and interacts with a web server which have a
keep-alive timeout 5 seconds. Script makes PUT requests and sends files to
server. At