mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
reader/fetcher: add brotli content encoding support
This commit is contained in:
parent
647c66e70a
commit
771f9d2b5f
5 changed files with 80 additions and 2 deletions
|
@ -169,6 +169,7 @@ func (r *RequestBuilder) ExecuteRequest(requestURL string) (*http.Response, erro
|
|||
}
|
||||
|
||||
req.Header = r.headers
|
||||
req.Header.Set("Accept-Encoding", "br, gzip")
|
||||
req.Header.Set("Accept", defaultAcceptHeader)
|
||||
req.Header.Set("Connection", "close")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue