Mohamed Daahir

Results 124 comments of Mohamed Daahir

There are two other approaches besides `--raw` for sending an arbitrary request body: * Pass data via redirected stdin e.g. `echo '[1,2,3]' | xh httpbin.org/post` (unfortunately, not documented at the...

Thanks, @vlcinsky. I have now included this in the feature compatibility [checklist](https://github.com/ducaale/xh/issues/4#issue-763049785). For reference, https://github.com/httpie/httpie/pull/1225 is the PR that added support for reading header and query string values from a...

I am currently in the process of porting a CLI tool called [xh](https://github.com/ducaale/xh) to [web assembly](https://github.com/ducaale/xh-playground) so it can be used via wasm-terminal in the browser. This program needs to...

Thanks, I was now trying the solution you mentioned yesterday, but I haven't succeeded yet, mainly due to my lacking knowledge of how the typescript build system works.

On my 2nd try, I think I made some progress: ``` node index.js Engine compilation start Start downloading texlive file https://texlive2.swiftlatex.com/xetex/10/swiftlatexxetex.fmt Engine compilation finish 7827.116400003433 RuntimeError: Aborted(Assertion failed: allocate no...

I think that would be okay if the user is able to compile it in their own worker.

Thanks for the update. I was about to recommend Emscripten's [Asyncify](https://emscripten.org/docs/porting/asyncify.html) feature to wrap async js functions but it is good that Axios supports making synchronous HTTP requests. I think...

I am currently struggling with this error. Is there a way to know where abort is being called from the native side? ``` Engine compilation start Start downloading texlive file...

I have done some experiments with Rollup + [comlink](https://github.com/GoogleChromeLabs/comlink) to see if workers can be used in a library that targets both Node and browsers. The next step is to...