max: remove the extra user agent from the http headers

This commit is contained in:
c9s 2024-03-15 15:22:13 +08:00
parent f785398249
commit f618485536
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -275,8 +275,6 @@ func (c *RestClient) newAuthenticatedRequest(
req.Header.Set("USER-AGENT", UserAgent)
}
req.Header.Set("USER-AGENT", "Go-http-client/1.1,bbgo/"+version.Version)
if false {
out, _ := httputil.DumpRequestOut(req, true)
fmt.Println(string(out))