mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Apply the POST -> GET logic also to 301
This commit is contained in:
@@ -731,6 +731,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
switch (response.StatusCode) {
|
||||
case HttpStatusCode.MovedPermanently: // Per https://tools.ietf.org/html/rfc7231#section-6.4.3, a 301 redirect may be performed using a GET request
|
||||
case HttpStatusCode.Redirect: // Per https://tools.ietf.org/html/rfc7231#section-6.4.3, a 302 redirect may be performed using a GET request
|
||||
case HttpStatusCode.SeeOther: // Per https://tools.ietf.org/html/rfc7231#section-6.4.4, a 303 redirect should be performed using a GET request
|
||||
if (httpMethod != HttpMethod.Head) {
|
||||
|
||||
Reference in New Issue
Block a user