We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It'd be great if API.responseErrorFromObject(object:) returned a NSHTTPURLResponse - it'd help to validate HTTP status codes.
The text was updated successfully, but these errors were encountered:
Or maybe return the status code.
Sorry, something went wrong.
Yes, we will add NSHTTPURLResponse to the arguments of responseErrorFromObject(_:).
NSHTTPURLResponse
responseErrorFromObject(_:)
NSHTTPURLResponse is now available in Request.responseFromObject(_:URLResponse:)!
Request.responseFromObject(_:URLResponse:)
APIKit/APIKit/Request.swift
Line 39 in a5c6faf
No branches or pull requests
It'd be great if API.responseErrorFromObject(object:) returned a NSHTTPURLResponse - it'd help to validate HTTP status codes.
The text was updated successfully, but these errors were encountered: