Hi Brion, Yepp, just wanted to provide an answer out of experience but you were faster:) It does use cookies and yes, CORS is an issue as usual if request is sent to foreign domain.
Thanks®ards, r0ller 2017. január 17., kedd 16:33:37 UTC+1 időpontban Brion Vibber a következőt írta: > > 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] <javascript:>> > 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®ards, >> 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.
