mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-18 21:55:12 -04: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.Headers.ContentType = "application/json";
|
||||||
|
|
||||||
request.Method = method;
|
request.Method = method;
|
||||||
|
request.AllowAutoRedirect = true;
|
||||||
|
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Radarr
|
|||||||
request.Headers.ContentType = "application/json";
|
request.Headers.ContentType = "application/json";
|
||||||
|
|
||||||
request.Method = method;
|
request.Method = method;
|
||||||
|
request.AllowAutoRedirect = true;
|
||||||
|
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Readarr
|
|||||||
request.Headers.ContentType = "application/json";
|
request.Headers.ContentType = "application/json";
|
||||||
|
|
||||||
request.Method = method;
|
request.Method = method;
|
||||||
|
request.AllowAutoRedirect = true;
|
||||||
|
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ namespace NzbDrone.Core.Applications.Sonarr
|
|||||||
request.Headers.ContentType = "application/json";
|
request.Headers.ContentType = "application/json";
|
||||||
|
|
||||||
request.Method = method;
|
request.Method = method;
|
||||||
|
request.AllowAutoRedirect = true;
|
||||||
|
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user