summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--http/client/client.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/http/client/client.go b/http/client/client.go
index adf6d44..4df5561 100644
--- a/http/client/client.go
+++ b/http/client/client.go
@@ -19,9 +19,7 @@ func Get(url string) (*http.Response, error) {
if err != nil {
return nil, err
}
- req = buildHeaders(req)
-
- return client.Do(req)
+ return client.Do(buildHeaders(req))
}
// Add default headers for the peach http client.