Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Follow redirects #44

Closed
muuvmuuv opened this issue Aug 15, 2020 · 1 comment
Closed

Follow redirects #44

muuvmuuv opened this issue Aug 15, 2020 · 1 comment

Comments

@muuvmuuv
Copy link
Contributor

muuvmuuv commented Aug 15, 2020

Is your feature request related to a problem? Please describe.

Either get or downloadFile both should follow redirects until the final endpoint is reached.

Describe the solution you'd like

If response 301/302 request again until final resource is reached.

Describe alternatives you've considered

None

Additional context

For example download a file from https://source.unsplash.com/150x150/weekly/?nature

@muuvmuuv
Copy link
Contributor Author

Ah seems it just errors because the file already exists. But it does follow the redirect

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant