From fb09c968ee49e2257bcb4edbf954548d5f08ba16 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Mon, 6 Jun 2022 18:15:01 -0400 Subject: client: update `buildHeaders` Update `User-agent`. --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/client.go b/client/client.go index 3381e44..a60ee00 100644 --- a/client/client.go +++ b/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/peach") + " peach.ricketyspace.net") return req } -- cgit v1.2.3