Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Blob responses on iOS #19

Merged
merged 1 commit into from
Jul 5, 2018

Conversation

vially
Copy link
Contributor

@vially vially commented Jul 3, 2018

This is a very basic implementation and it only returns a Blob if converting the response to an NSString fails. Obviously, a more robust solution would be preferred, but this seems to be enough for my use-case.

The b64toBlob function was blatantly copied from the awesome b64-to-blob NPM module.

@aporat aporat merged commit c1e2437 into aporat:master Jul 5, 2018
@vially vially deleted the ios-blob-response branch July 5, 2018 06:55
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.

2 participants