1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Handle redirects for 308 redirects

This commit is contained in:
Mark McDowall 2022-09-17 17:41:57 -07:00
parent 67cf95f6c2
commit 6eed7c8fed

View File

@ -55,7 +55,8 @@ public string Content
StatusCode == HttpStatusCode.Found ||
StatusCode == HttpStatusCode.TemporaryRedirect ||
StatusCode == HttpStatusCode.RedirectMethod ||
StatusCode == HttpStatusCode.SeeOther;
StatusCode == HttpStatusCode.SeeOther ||
StatusCode == HttpStatusCode.PermanentRedirect;
public string[] GetCookieHeaders()
{