Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #459 from fredr/fredr/accept-gzip
Browse files Browse the repository at this point in the history
Add gzip accept encoding
  • Loading branch information
cyriltovena authored Jan 2, 2023
2 parents c438ef7 + 32d44d0 commit 49b645e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/agent/target.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ func (t *Target) fetchProfile(ctx context.Context, profileType string, buf io.Wr
return err
}
req.Header.Set("User-Agent", userAgentHeader)
req.Header.Set("Accept-Encoding", "gzip")

t.req = req
}
Expand Down

0 comments on commit 49b645e

Please sign in to comment.