if you use new Response directly and use 204 responses you get the following issue.
new Response('', Init)
fails on chrome because it expects no body. you can do
new Response(null, init)
fails on Firefox because body cannot be null
but you can do in both firefox, chrome, Edge, safari
new Response(init);
but that fails when using this polyfill.
if you use new Response directly and use 204 responses you get the following issue.
new Response('', Init)fails on chrome because it expects no body. you can do
new Response(null, init)fails on Firefox because body cannot be null
but you can do in both firefox, chrome, Edge, safari
new Response(init);but that fails when using this polyfill.