diff --git a/internal/reader/fetcher/request_builder.go b/internal/reader/fetcher/request_builder.go index 6cda8465..efe31395 100644 --- a/internal/reader/fetcher/request_builder.go +++ b/internal/reader/fetcher/request_builder.go @@ -104,6 +104,8 @@ func (r *RequestBuilder) IgnoreTLSErrors(value bool) *RequestBuilder { func (r *RequestBuilder) ExecuteRequest(requestURL string) (*http.Response, error) { transport := &http.Transport{ Proxy: http.ProxyFromEnvironment, + // Setting `DialContext` disables HTTP/2, this option forces the transport to try HTTP/2 regardless. + ForceAttemptHTTP2: true, DialContext: (&net.Dialer{ // Default is 30s. Timeout: 10 * time.Second,