With our request retry mechanism on HTTP 401 responses, the follow-up request that contains files to be uploaded will fail because the file has already been read by Requests to determine the file size.
This patch ensures that all files passed into a request are at offset 0 before sending the request.
With our request retry mechanism on HTTP 401 responses, the follow-up request that contains files to be uploaded will fail because the file has already been read by Requests to determine the file size.
This patch ensures that all files passed into a request are at offset 0 before sending the request.