From 545b9ea852a7890b2b827a6588462bb9b3f35eb8 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 24 Apr 2022 00:13:30 -0400 Subject: http/client: update buildHeaders Update user agent string --- http/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http') diff --git a/http/client/client.go b/http/client/client.go index 4df5561..e5678c7 100644 --- a/http/client/client.go +++ b/http/client/client.go @@ -25,6 +25,6 @@ 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") + " ricketyspace.net/peach") return req } -- cgit v1.2.3