Skip to content

Commit

Permalink
max: remove the extra user agent from the http headers
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Mar 15, 2024
1 parent f785398 commit f618485
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/exchange/max/maxapi/restapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f618485

Please sign in to comment.