mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 09:09:42 +02:00
Follow Redirects for App Requests
This commit is contained in:
@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Lidarr
|
||||
request.Headers.ContentType = "application/json";
|
||||
|
||||
request.Method = method;
|
||||
request.AllowAutoRedirect = true;
|
||||
|
||||
return request;
|
||||
}
|
||||
|
@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Radarr
|
||||
request.Headers.ContentType = "application/json";
|
||||
|
||||
request.Method = method;
|
||||
request.AllowAutoRedirect = true;
|
||||
|
||||
return request;
|
||||
}
|
||||
|
@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Readarr
|
||||
request.Headers.ContentType = "application/json";
|
||||
|
||||
request.Method = method;
|
||||
request.AllowAutoRedirect = true;
|
||||
|
||||
return request;
|
||||
}
|
||||
|
@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Sonarr
|
||||
request.Headers.ContentType = "application/json";
|
||||
|
||||
request.Method = method;
|
||||
request.AllowAutoRedirect = true;
|
||||
|
||||
return request;
|
||||
}
|
||||
|
Reference in New Issue
Block a user