[PR #183] [MERGED] Added support for sending response body in error #551

Closed
opened 2026-03-03 16:49:23 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (1)

  • 2f27e2d Added 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.

## 📋 Pull Request Information **Original PR:** https://github.com/OAuthSwift/OAuthSwift/pull/183 **Author:** [@ghost](https://github.com/ghost) **Created:** 2/15/2016 **Status:** ✅ Merged **Merged:** 2/16/2016 **Merged by:** [@phimage](https://github.com/phimage) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2f27e2d`](https://github.com/OAuthSwift/OAuthSwift/commit/2f27e2dbab63c39ccfe64fa61d01b2c245184d97) Added support for sending response body in error ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `OAuthSwift/OAuthSwiftHTTPRequest.swift` (+5 -1) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:49:23 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#551
No description provided.