mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Misc
This commit is contained in:
@@ -632,7 +632,7 @@ namespace ArchiSteamFarm {
|
||||
return await InternalRequest(redirectUri, httpMethod, data, referer, httpCompletionOption, --maxRedirections).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
if ((response.StatusCode >= HttpStatusCode.BadRequest) && (response.StatusCode < HttpStatusCode.InternalServerError)) {
|
||||
if (response.StatusCode.IsClientErrorCode()) {
|
||||
// Do not retry on client errors
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user