Follow

TIL you can use the `fetch()` API with `data:` URIs!

This means if you're using `fetch()` to load a URL in an application, a person can supply a data URI and skip the network entirely.

In particular this can make specifying data in query strings in a URL handle both remote URLs and inline data without an extra code path. 🤯

stackoverflow.com/questions/66

· · Web · 0 · 2 · 2
Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.