Skip to content

Conversation

@designbymind
Copy link

Additional expectingImage param for extraParams object.

Adding additional expectingImage property to extraParams.
Add support for downloading remote images
@Topener
Copy link
Owner

Topener commented Feb 23, 2021

Hi! Thanks for your contribution, it looks like this can be used for any filetype, not just images. Perhaps change it to a more generic implementation? expectRaw for example?

Since responseData could be filetype other than image, let's use expectingFile instead (of expectingImage).
Add extraParams param to each method for error handling
@Topener
Copy link
Owner

Topener commented Mar 1, 2021

Ok looking good! Could you bring in the changes in the recent update? Then I can go ahead and merge it!

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