SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

feat($http): allow differentiation between XHR completion, error, abort, timeout

Previously, it wasn't possible to tell if an `$http`-initiated XMLHttpRequest
was completed normally or with an error or it was aborted or timed out.
This commit adds a new property on the `response` object (`xhrStatus`) which
allows to defferentiate between the possible statuses.

Fixes #15924

Closes #15847
F
Frederik Prijck committed
e872f0ed36f4885d9ea35dd0ebce5cc8418f5b21
Parent: 122d89b
Committed by Georgios Kalpakas <kalpakas.g@gmail.com> on 7/4/2017, 12:20:48 PM