-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix object size being 0 when retrying request (#14)
Because the code only put the hash in the cache and not the size, the size that was sent in a retried request was 0. Some server implementations check the size, so those requests may fail. To fix it, also put the size in the cache and use it when creating a request from the cache.
- Loading branch information
Showing
1 changed file
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters