-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression when handling 200 error responses from S3
We now do not try to parse the error response unless it's an error HTTP status code. This means the handler needs to be updated such that _it_ is the one that does the Error parsing. Fortunately, we don't need to fully parse the XML error response. We just need to know that the top level key is an Error node before saying we need to retry the request.
- Loading branch information
Showing
2 changed files
with
29 additions
and
22 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
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