mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-10 22:45:55 +05:45
HTTPClient: don't verify 4xx/5xx responses (#2322)
This commit is contained in:
1 parent
920f3fe4e3
commit
030d50f1a6
4 files changed
+10
-4
No files matched your search
@@ -78,7 +78,7 @@ extension HTTPStatusCode: Codable {}
|
||||
extension HTTPStatusCode {
|
||||
|
||||
var isSuccessfulResponse: Bool {
|
||||
return 200...299 ~= self.rawValue
|
||||
return 200...399 ~= self.rawValue
|
||||
}
|
||||
|
||||
var isServerError: Bool {
|
||||
|
||||
Reference in new issue
Block a user