Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Abort XHR in progress #84

Open
dotBits opened this issue Feb 26, 2016 · 4 comments
Open

Abort XHR in progress #84

dotBits opened this issue Feb 26, 2016 · 4 comments

Comments

@dotBits
Copy link

dotBits commented Feb 26, 2016

Wouldn't be useful a method that aborts a specific xhr request?

@David-Hari
Copy link

I'd like that too.

@RobinBressan
Copy link
Contributor

Hi, by design it is not possible to cancel a HTTP request. It should be possible to fake this behavior by rejecting the request promise but it will be faked (the request will be performed anyway).

@David-Hari
Copy link

It's certainly possible to cancel an XMLHttpRequest.
I know this library uses the new request stuff, but I'd hope it were possible there too.

@dotBits
Copy link
Author

dotBits commented Sep 16, 2016

@David-Hari yes, the abort method should be used

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants