From 9dd7a966b13a52caa9431bb2de25d4fd5ee1518c Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 24 Apr 2022 00:10:15 -0400 Subject: http/client: update buildHeaders Ensure header set line is < 80 columns. --- http/client/client.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'http/client') 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 } -- cgit v1.2.3