diff options
author | siddharth <s@ricketyspace.net> | 2022-04-24 00:10:15 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2022-04-24 00:10:59 -0400 |
commit | 9dd7a966b13a52caa9431bb2de25d4fd5ee1518c (patch) | |
tree | e5afcfe5f50be3eef8bf8d2594736ed9ec9fac4d | |
parent | d49b4b029def8ff6d0dd9bd07a1d144516e1abbf (diff) |
http/client: update buildHeaders
Ensure header set line is < 80 columns.
-rw-r--r-- | http/client/client.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/http/client/client.go b/http/client/client.go index b57308d..adf6d44 100644 --- a/http/client/client.go +++ b/http/client/client.go @@ -26,6 +26,7 @@ func Get(url string) (*http.Response, error) { // Add default headers for the peach http client. func buildHeaders(req *http.Request) *http.Request { - req.Header.Set("User-Agent", "peach/"+version.Version+" ricketyspace.net/contact") + req.Header.Set("User-Agent", "peach/"+version.Version+ + " ricketyspace.net/contact") return req } |