mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-10 22:45:55 +05:45
Support anonymous web purchase redemptions (#4439)
Co-authored-by: RevenueCat Git Bot <72824662+RCGitBot@users.noreply.github.com> Co-authored-by: andy boedo <andresboedo@gmail.com> Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
This commit is contained in:
70 files changed
+2146
-27
No files matched your search
@@ -23,6 +23,7 @@ enum HTTPStatusCode {
|
||||
case temporaryRedirect
|
||||
case invalidRequest
|
||||
case unauthorized
|
||||
case forbidden
|
||||
case notFoundError
|
||||
case tooManyRequests
|
||||
case internalServerError
|
||||
@@ -38,6 +39,7 @@ enum HTTPStatusCode {
|
||||
.temporaryRedirect,
|
||||
.invalidRequest,
|
||||
.unauthorized,
|
||||
.forbidden,
|
||||
.notFoundError,
|
||||
.internalServerError,
|
||||
.networkConnectTimeoutError
|
||||
@@ -60,6 +62,7 @@ extension HTTPStatusCode: RawRepresentable {
|
||||
case .temporaryRedirect: return 307
|
||||
case .invalidRequest: return 400
|
||||
case .unauthorized: return 401
|
||||
case .forbidden: return 403
|
||||
case .notFoundError: return 404
|
||||
case .tooManyRequests: return 429
|
||||
case .internalServerError: return 500
|
||||
|
||||
Reference in new issue
Block a user