Code 0 does not represent any http status, it represent XHR error (e.g. network error, CORS failure).