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 connection on failure and send it again. Maybe this doing tcp socket For GET POST and DELETE I meet the same behavior
> if someone wrote code that expects data to be sent from a non-zero file > position. Well in this case I'd prefer to trunkate file before send. ---------- Added file: http://bugs.python.org/file41285/httplib.pcapng _______________________________________ 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