Skip to content

Add support for downloading remote images#34

Open
designbymind wants to merge 6 commits into
Topener:masterfrom
designbymind:master
Open

Add support for downloading remote images#34
designbymind wants to merge 6 commits into
Topener:masterfrom
designbymind:master

Conversation

@designbymind

Copy link
Copy Markdown

Additional expectingImage param for extraParams object.

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

Topener commented Feb 23, 2021

Copy link
Copy Markdown
Owner

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

Topener commented Mar 1, 2021

Copy link
Copy Markdown
Owner

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