Hi, We needed this so we made a little patch to Emscripten for that. This had some API change so it wasn't accepted. In the end, we just copy-pasted the function, adding our own argument, and packed it in a library.js add-on. You should read the whole thread <https://github.com/kripken/emscripten/pull/3016>.
Here's another suggestion <https://github.com/kripken/emscripten/issues/3270> which is waiting to be implemented. On Friday, November 20, 2015 at 11:04:57 AM UTC+1, jianhua xu wrote: > > hello, > > I need set some custom http header when calling emscripten_async_wget* > functions, but from the document, I can find nothing, can anybody tell me > how to use. and if emscripten doesn't support such a feature, I feel it's > very strange, because it's normal need to use this. > > thanks! > -- 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.
