mirror of
https://github.com/Readarr/Readarr
synced 2025-12-30 04:06:53 +01:00
Fixed: Correctly handle Content-Encoding headers
This commit is contained in:
parent
a463166bb6
commit
b4112dc4bb
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,9 @@ protected virtual void AddRequestHeaders(HttpRequestMessage webRequest, HttpHead
|
|||
case "Content-Type":
|
||||
AddContentHeader(webRequest, "Content-Type", header.Value);
|
||||
break;
|
||||
case "Content-Encoding":
|
||||
AddContentHeader(webRequest, "Content-Encoding", header.Value);
|
||||
break;
|
||||
case "Date":
|
||||
webRequest.Headers.Remove("Date");
|
||||
webRequest.Headers.Date = HttpHeader.ParseDateTime(header.Value);
|
||||
|
|
|
|||
Loading…
Reference in a new issue