Re: [whatwg/streams] Add URL.createObjectURL(stream) support (#480)

I did like @isonmad idea about making a object url from Response instead. It's more useful then creating a object url from a ReadableStream - that way you can add headers also to define content-length content-type etc. You could create a content-disposition header to define a filename for download

that way img.src would work very well for example
And you can get a download percentage if you know content-length



-- 
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/480#issuecomment-271111929

Received on Saturday, 7 January 2017 21:38:58 UTC