Skip to content

Commit

Permalink
User-Agent should show correctly instead of 'grab'
Browse files Browse the repository at this point in the history
  • Loading branch information
joereuss12 committed Mar 27, 2024
1 parent 8e5a499 commit cb348fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/handle_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,7 @@ func downloadHTTP(ctx context.Context, te *TransferEngine, callback TransferCall

// Create the client, request, and context
client := grab.NewClient()
client.UserAgent = getUserAgent(project)
transport := config.GetTransport()
if !transfer.Proxy {
transport.Proxy = nil
Expand Down

0 comments on commit cb348fc

Please sign in to comment.