diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-06-06 18:15:01 -0400 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-06-06 18:15:01 -0400 |
commit | fb09c968ee49e2257bcb4edbf954548d5f08ba16 (patch) | |
tree | 931bbe98e06931696f552f2807e4fab5a2471736 /client | |
parent | 79ffe459392be4825a8c8bf14f18c9f6e9a381c5 (diff) |
client: update `buildHeaders`
Update `User-agent`.
Diffstat (limited to 'client')
-rw-r--r-- | client/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |