Pooya Parsa

Results 2282 comments of Pooya Parsa

That proposal did not go through but even if we do that, we shall respect first handled value from interceptors.

Please please share a minimal reproduction (or at least any runnable one) in order to allow investigating such issues. 🙏🏼

thanks for the issue. I am thinking of planning it for the next major version only.

Hi dear @picunada thanks for picking on this and nice idea for initial POC. I think in order to move this idea forward, i am mainly looking forward to exposing...

Node.js supports built-in `FormData` since v18 powered by [undici](https://undici.nodejs.org). You can simply pass it as `body` and ofetch works with it. PS: Using `ofetch()` and `ofetch.native()` should be equal. only...

I like the idea. Without adding overhead to bundle size we can make a type safe fetch API also without depending on backend 👍 Nitro might use it or not...

Node.js 18 uses [undici](https://undici.nodejs.org/) for fetch. It seems they use dispatchers (like [this](https://undici.nodejs.org/#/docs/api/ProxyAgent?id=example-basic-proxy-request-with-global-agent-dispatcher)). PR for docs is welcome if anyone can investigate further.

@anuragkumar19 Feel free to draft a PR btw!

You should use `dispatcher` in modern node (https://github.com/unjs/ofetch#%EF%B8%8F-adding-https-agent)

Thanks for the nice PR and tests dear @antoinerey ❤️ i finally had a chance to check on it and pushed couple of improvement refactors.