emscripten_wget uses XMLHttpRequest under the hood, which will send cookies
for same-origin requests -- so if from same host as the page, you're
probably fine.

If you're pulling from a separate site, then I think it becomes a CORS
(cross-origin) request, which may make things more difficult. Note the
actual code running the XHR lives in library_browser.js, search for
'xhrLoad' function.

-- brion

On Sun, Jan 15, 2017 at 11:24 AM, <[email protected]> wrote:

> Hi All,
>
> If I use emscripten_wget, does it use the cookies with which I'm logged on
> to a site from which I'd like to download via wget? If not, is there any
> other solution that does?
>
> Thanks&regards,
> r0ller
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to