Re: [whatwg/streams] Allow to set mime-type when calling blob() on a stream (#438)

A few confusions here:

1. You are not dealing with streams. You are dealing with requests. `answer` is a request. You are not using `answer.body` in your code. So the appropriate repo here is whatwg/fetch, not whatwg/streams.

2. It is impossible for `type` to be undefined per spec (`undefined` is not a valid `DOMString`), so there is either a bug in your code or in the browser you are testing.

3. The type does not matter. It is just metadata. So I don't see any reason why you would want to set it anyway.

4. You can always create a new blob with whatever type you want from an old blob via `new Blob([blob], { type: "whatever" })`.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/438#issuecomment-211077339

Received on Sunday, 17 April 2016 18:31:42 UTC