mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
max: remove the extra user agent from the http headers
This commit is contained in:
parent
f785398249
commit
f618485536
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user