Skip to content

Commit

Permalink
Do not retry on 404 error code
Browse files Browse the repository at this point in the history
  • Loading branch information
danaospo committed Jan 8, 2025
1 parent 17a7298 commit 78de809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SPTDataLoader/SPTDataLoaderResponse.m
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ - (BOOL)shouldRetry
case SPTDataLoaderResponseHTTPStatusCodeExpectationFail:
case SPTDataLoaderResponseHTTPStatusCodeHTTPVersionNotSupported:
case SPTDataLoaderResponseHTTPStatusCodeNotImplemented:
return NO;
case SPTDataLoaderResponseHTTPStatusCodeNotFound:
return NO;
case SPTDataLoaderResponseHTTPStatusCodeRequestTimeout:
case SPTDataLoaderResponseHTTPStatusCodeUnsupportedMediaTypes:
case SPTDataLoaderResponseHTTPStatusCodeInternalServerError:
Expand Down

0 comments on commit 78de809

Please sign in to comment.