Re: [fetch] Aborting a fetch (#27)

> Because this terminates the stream, it may be impossible for the reader (eg .text()) to know something went wrong

Should it be the same as:
```javascript
fetch(...).then(function(response) {
  setTimeout(function() {
    response.body.close();
  }, 100);
  
  return response.text();
});
```

I believe ```.cancel()``` on promise should behave same as ```response.body.close()``` and promise returned by ```response.text()``` should receive an rejection (since it was explicitly abrupted).

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/27#issuecomment-87047528

Received on Friday, 27 March 2015 18:37:55 UTC