build: more pre go1.8 workarounds removed

This commit is contained in:
Nick Craig-Wood 2019-05-07 13:53:16 +01:00
parent b9e16b36e5
commit 8beab1aaf2
10 changed files with 7 additions and 58 deletions

View file

@ -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)