Follow Redirects for App Requests

This commit is contained in:
Qstick
2020-12-30 21:49:13 -05:00
parent e6c58a6b31
commit 6bbae3f04b
4 changed files with 4 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Lidarr
request.Headers.ContentType = "application/json";
request.Method = method;
request.AllowAutoRedirect = true;
return request;
}

View File

@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Radarr
request.Headers.ContentType = "application/json";
request.Method = method;
request.AllowAutoRedirect = true;
return request;
}

View File

@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Readarr
request.Headers.ContentType = "application/json";
request.Method = method;
request.AllowAutoRedirect = true;
return request;
}

View File

@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Sonarr
request.Headers.ContentType = "application/json";
request.Method = method;
request.AllowAutoRedirect = true;
return request;
}