2 ms·
> Polyfill. So new lib. So, you don't like the polyfill, created to the specification. Fine, but depending who you target, you might not need it. Plenty of mo
by shakna 9y ago
> Polyfill. So new lib.
So, you don't like the polyfill, created to the specification. Fine, but depending who you target, you might not need it. Plenty of modern browsers have good support.
> And even then. You need to encode params manually.
Or use the Request constructor.
> And of course no middleware, so for special decoding or repeating headers, you end up writing a wrapper.
Request constructor will let you handle the headers quite nicely.