Skip to content

Conversation

@CatchABus
Copy link
Contributor

@CatchABus CatchABus commented Sep 10, 2024

It seems that calling toJSON for response content on iOS will attempt to parse text even if it's a falsy value, resulting in SyntaxError.
This is already handled on android.

@CatchABus CatchABus marked this pull request as ready for review September 10, 2024 21:34
@farfromrefug farfromrefug merged commit bb830b4 into master Sep 11, 2024
@farfromrefug farfromrefug deleted the ios-empty-response-text-fix branch September 11, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants