Update httpgetter.go

Signed-off-by: NexusNull <p.wellershaus@googlemail.com>
Signed-off-by: Patric Wellershaus <p.wellershaus@googlemail.com>
pull/11597/head
NexusNull 2 years ago committed by Patric Wellershaus
parent 21e694e0f9
commit 0ba3d99138
No known key found for this signature in database
GPG Key ID: DBE4145336BF8CA8

@ -115,7 +115,9 @@ func (g *HTTPGetter) httpClient() (*http.Client, error) {
Timeout: g.opts.timeout,
}, nil
}
req.Header.Set("Accept", "application/gzip,application/octet-stream")
g.once.Do(func() {
g.transport = &http.Transport{
DisableCompression: true,

Loading…
Cancel
Save