Fixed: Correctly handle Content-Encoding headers

Fixes #3315
pull/3323/head
Qstick 2 years ago
parent 3d01300ff9
commit cdb93c4c76

@ -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);

Loading…
Cancel
Save