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

Well, *you* aren't, .json() is.

On Fri, 27 Mar 2015 19:30 Arthur Stolyar <notifications@github.com> wrote:

> No, your call to cancel the stream would fail as .text() has a lock on the
> stream. Cancellation is not observable in streams as far as I know. Of
> course, if the bytes received is < content-length, the reader could choose
> to reject, but not all responses have content-length.
>
> That is weirdest behavior I ever saw -- you cannot cancel because you are
> doing request.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/whatwg/fetch/issues/27#issuecomment-87066006>.
>


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

Received on Friday, 27 March 2015 19:37:59 UTC