News for hackers. Stuff that matters.
Re:Fetch API has landed into Node.js by tehbeard on Tuesday February 01, 2022 @10:22AM (#30163670)
Codifying the redirect behaviour for server/"trusted" envs makes some sense with Deno/node doing the same thing. I'm not versed enough in the standards orginazation politics to say if that's viable though.

The rest of your "improvements" aren't that. They're opinions, opinions laser focused on a JSON centric api.

I'm sorry to say this, but not all of the web is one big JSON blob.

Some of us have to talk to SOAP (xml) services.

Sometimes it's weird rpc stuff with protobuf.

Or even just pulling down raw binary data and feeding that through an API/library that wasn't built for web streams.

Honestly, the amount of code you need to add over the top of a primitive like the Fetch API to get what you wanted (bar the redirect change) is trivial and minimal.

Re:Fetch API has landed into Node.js by Scarbutt on Tuesday February 01, 2022 @10:58AM (#30164206)
Can you share your setup for talking to SOAP services?