SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 84 JavaScript

fix($http): apply `transformResponse` even when `data` is empty

Note, that (as a by-product of the previous implementation) only non-empty
data was passed through the `transformResponse` pipeline. This is no
longer the case.

When using a custom `transformResponse` function, one should make sure it
can also handle an empty (i.e. falsy) `data` argument appropriately.

Fixes #12976
Closes #12979
G
Georgios Kalpakas committed
c690946469e09cfe6b774e63dbe14ace92ce6cb7
Parent: 87b0055
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 10/28/2015, 9:41:52 PM