build: more pre go1.8 workarounds removed
This commit is contained in:
parent
b9e16b36e5
commit
8beab1aaf2
10 changed files with 7 additions and 58 deletions
|
@ -253,7 +253,7 @@ func (api *Client) Call(opts *Opts) (resp *http.Response, err error) {
|
|||
if opts.NoRedirect {
|
||||
c = ClientWithNoRedirects(api.c)
|
||||
} else {
|
||||
c = ClientWithHeaderReset(api.c, headers)
|
||||
c = api.c
|
||||
}
|
||||
if api.signer != nil {
|
||||
err = api.signer(req)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue