forked from olivere/elastic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AWS v4 signer when body implements io.ReadSeeker
This commit adds special handling for the case that the request body already implements `io.ReadSeeker`. In that case, we don't have to read the body, but simply pass it to the signer. It also simplifies the handling of the response after executing the request. Close olivere#1306
- Loading branch information
Showing
1 changed file
with
14 additions
and
21 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