mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-22 13:11:32 +02:00
Handle 303 and 307 redirects in Http Requests
This commit is contained in:
parent
cb8ed74fe9
commit
d6cf370bcd
1 changed files with 4 additions and 1 deletions
|
|
@ -53,7 +53,10 @@ public string Content
|
|||
|
||||
public bool HasHttpRedirect => StatusCode == HttpStatusCode.Moved ||
|
||||
StatusCode == HttpStatusCode.MovedPermanently ||
|
||||
StatusCode == HttpStatusCode.Found;
|
||||
StatusCode == HttpStatusCode.Found ||
|
||||
StatusCode == HttpStatusCode.TemporaryRedirect ||
|
||||
StatusCode == HttpStatusCode.RedirectMethod ||
|
||||
StatusCode == HttpStatusCode.SeeOther;
|
||||
|
||||
public string[] GetCookieHeaders()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue