Skip to content

Conversation

@9swampy
Copy link
Contributor

@9swampy 9swampy commented Apr 17, 2024

Proposal to handle #25

No change to existing consumers; continue using only the useDownloader initialisation unaffected, but this PR allows overrideOptions to be specified on the download invocation as well.

await download(DOWNLOAD_ROOT_URI + fileUrl, saveAs, undefined, { method: 'POST' });

Works for my scenario, should sort you as well @davecarlson (this is where I was heading on my PR last night anyhow; hope it works for you too - and ofc is acceptable to @olavoparno)

@davecarlson
Copy link

@9swampy - Thanks, yes this should be perfect for this !

@olavoparno olavoparno merged commit 00e41e6 into the-bugging:develop Apr 17, 2024
@olavoparno
Copy link
Member

@9swampy again, thank you very much for your contribution!

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