Skip to content

Commit

Permalink
use custom base transport
Browse files Browse the repository at this point in the history
  • Loading branch information
Son Roy Almerol committed Nov 19, 2024
1 parent 90edeec commit 06dce54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func decompressBody(resp *http.Response) ([]byte, error) {
func tryZlibDecompression(resp *http.Response) ([]byte, error) {
// Close and retry to get a fresh body stream
resp.Body.Close()
newResp, err := http.DefaultTransport.RoundTrip(resp.Request)
newResp, err := utils.BaseTransport.RoundTrip(resp.Request)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 06dce54

Please sign in to comment.