Fixed: Correctly handle Content-Encoding headers

This commit is contained in:
Qstick committed 2023-02-04 19:30:54 -06:00
1 parent a463166bb6
commit b4112dc4bb
1 file changed
+3
@@ -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);