aboutsummaryrefslogtreecommitdiff
path: root/lib/http
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-10-05 01:55:32 +0700
committerShulhan <ms@kilabit.info>2022-10-05 01:55:32 +0700
commitdc974927fcf48b147bee320ef4e5a0f479350d58 (patch)
tree58ff3384ea6a5b769cc53054bf8c6ddf0c7d35f2 /lib/http
parentcf4431006273e984d42066fce61676271467482e (diff)
downloadpakakeh.go-dc974927fcf48b147bee320ef4e5a0f479350d58.tar.xz
lib/http: simplify the default user-agent that send by Client
Remove the comment string, no need to be explicit about it.
Diffstat (limited to 'lib/http')
-rw-r--r--lib/http/client.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http/client.go b/lib/http/client.go
index 99ef6ca1..4fc51c68 100644
--- a/lib/http/client.go
+++ b/lib/http/client.go
@@ -29,8 +29,7 @@ import (
)
var (
- defUserAgent = "libhttp/" + share.Version +
- " (github.com/shuLhan/share/lib/http; ms@kilabit.info)"
+ defUserAgent = `libhttp/` + share.Version
)
// Client is a wrapper for standard http.Client with simplified usabilities,