This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$httpBackend changing all zero status codes to 404 forbids identifying a down server #6155
Closed
Description
Commit 28fc80b forcefully changes status code zero to 404 without considering the protocol.
Because of this, it's not possible to distinguish at the application level between a server that did not respond (zero) and a non existing resource (404). Please consider reverting this commit, or narrow the status code check so that 404 is only returned for the Android file protocol.