mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #123] [CLOSED] Check the http url response's status code before using it #526
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#526
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/123
Author: @sdduursma
Created: 10/7/2015
Status: ❌ Closed
Base:
master← Head:check-response-status-code-before-using📝 Commits (1)
e3618c4Check the http url response's status code before using it📊 Changes
1 file changed (+9 additions, -8 deletions)
View changed files
📝
OAuthSwift/OAuthSwiftHTTPRequest.swift(+9 -8)📄 Description
Previously the NSHTTPURLResponse's status code passed to the completion handler of
dataTaskWithRequestinstart()in OAuthSwiftHTTPRequest was only checked after the response and data objects had been used. This PR fixes that.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.