mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #183] [MERGED] Added support for sending response body in error #551
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#551
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/183
Author: @ghost
Created: 2/15/2016
Status: ✅ Merged
Merged: 2/16/2016
Merged by: @phimage
Base:
master← Head:master📝 Commits (1)
2f27e2dAdded support for sending response body in error📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
OAuthSwift/OAuthSwiftHTTPRequest.swift(+5 -1)📄 Description
This might be quite useful for other people. I need to be able to access the response body when I get 4XX errors from the server, which this now provides via a new field in the userInfo object.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.