I’m trying to download a file using the downloadItem.
i’m able to download files from public sites like http://mysite.com/data/file.txt
but what if i have a basic authentication and a https protocol?
in the same app i can access to that folder using a basic authentication, even calling the url like https://user:firstname.lastname@example.org/data/file.txt and sending additional headers like ‘rejectUnauthorized:false’ etc…
how can i make the downloadURL function work with auth and https?!