mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-20 07:34:30 +00:00
Fixed: Correctly handle Content-Encoding headers
This commit is contained in:
@@ -206,6 +206,9 @@ namespace NzbDrone.Common.Http.Dispatchers
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user