Closed domenic closed 9 years ago
After perusing the Fetch API this seems to be something I'm missing about the Fetch API in general, so /cc @annevk.
The closest analogue I can find is the BufferSource case, where if I'm reading the algorithm correctly the returned Content-Type is null. Should we do the same for a stream?
Fetch's Body
mixin has MIME type as a convenience. That could probably be inlined now it is no longer on a distinct object.
I removed contentType from BodyStreamInit. Now the operation just returns null as Content-Type.
Great! I will open a new issue with a spin-off improvement.
(It turns out my new issue is irrelevant given f4609c95c4743a16f2192aa37386a746f02e2bd3, so nevermind about that :) )
Current usage:
Why not
?