diff options
| author | Shulhan <ms@kilabit.info> | 2022-10-05 01:55:32 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-10-05 01:55:32 +0700 |
| commit | dc974927fcf48b147bee320ef4e5a0f479350d58 (patch) | |
| tree | 58ff3384ea6a5b769cc53054bf8c6ddf0c7d35f2 /lib/http | |
| parent | cf4431006273e984d42066fce61676271467482e (diff) | |
| download | pakakeh.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.go | 3 |
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, |
