Re: [whatwg/fetch] Aborting a fetch: The Next Generation (#447)

IMO **aborting a fetch** should signal a cancel **stopping any upload of data** from the request but **also preventing the download of data** from the response. 

For me that's the most important aspect of this, that it immediately stops both upload and download so we are not wasting bandwidth and freeing up the connection (for http 1.x). This is super important for devices on slow networks and where bandwidth is metered by usage.

If we only wanted to ignore or error the use of the response then that can be easily done in user land by wrapping the result in an observable. Thus we can do this today without any changes. Of course it would be nice to have a built-in standardized way to do this in the API, but nevertheless it can be done today as is. 

So I would hope that it remains a goal of this feature to stop the data transfers of both uploads and downloads, that is the more important goal in my opinion.

-- 
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/fetch/issues/447#issuecomment-270668727

Received on Thursday, 5 January 2017 15:19:55 UTC