diff options
author | siddharth <s@ricketyspace.net> | 2022-04-24 00:13:30 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2022-04-24 00:13:30 -0400 |
commit | 545b9ea852a7890b2b827a6588462bb9b3f35eb8 (patch) | |
tree | de4a4d480648f20239d1a6e6a27d8245162c1241 /http | |
parent | 5cd2e623c946081d86329dc758a2efee3ddee919 (diff) |
http/client: update buildHeaders
Update user agent string
Diffstat (limited to 'http')
-rw-r--r-- | http/client/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |