aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader.suffix
diff options
context:
space:
mode:
authorPawel Kozlowski2014-03-01 12:49:47 +0100
committerVojta Jina2014-03-14 13:45:07 -0700
commitf108a2a994149ecc011e29f327bcb8e11adf72d9 (patch)
tree2e2df5dbdece17a77f33f6f81081b42202027329 /src/loader.suffix
parent7cbf61cabb4f2072a1d29c88f018e4db1a7af43f (diff)
downloadangular.js-f108a2a994149ecc011e29f327bcb8e11adf72d9.tar.bz2
fix($http): don't covert 0 status codes to 404 for non-file protocols
PR #5547 introduced conversion of all 0 status codes to 404 for cases where no response was recieved (previously this was done for the file:// protocol only). But this mechanism is too eager and masks legitimate cases where status 0 should be returned. This commits reverts to the previous mechanism of handling 0 status code for the file:// protocol (converting 0 to 404) while retaining the returned status code 0 for all the protocols other than file:// Fixes #6074 Fixes #6155
Diffstat (limited to 'src/loader.suffix')
0 files changed, 0 insertions, 0 deletions