forked from facebook/facebook-ios-sdk
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug that caused request: didLoad: to be called with the raw res…
…ponse instead of a string when the response does not represent a valid JSON object. Summary: If the response is not a JSON object, convert the actual response to a string instead of using the NSData object. This will break clients that depend on the current behavior. If you need access to the raw response, use request: diReceiveResponse: instead. Test Plan: Test with stream.publish requests Reviewers: jacl, dgibson, yariv, caabernathy Reviewed By: jacl CC: leon Differential Revision: https://phabricator.fb.com/D427844 Task ID: 842334
- Loading branch information
1 parent
84e953c
commit 81c2954
Showing
3 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters