Re: [whatwg/xhr] Blob name (#232)

This would also make it more consistent with how browsers handle the "Content-Disposition" header.

If a browser finds this header in a HTTP response, it opens a save file dialog instead of trying to display the content as a web-page. In the same way, when you do an xhr request, if the requestType is blob, you should get a `File` instead of a `Blob` if the "Content-Disposition" header is present (and is attachment instead of inline)

-- 
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/xhr/issues/232#issuecomment-452792290

Received on Wednesday, 9 January 2019 18:17:22 UTC