Impossible to capture 503 even with AngularJS' http interceptor

大兔子大兔子 提交于 2019-12-12 05:07:21

问题


I'm wondering why I cannot capture the status 503 when I encounter the error. HTTP interceptor captures the error with a status of 0. Is it even possible? If so, can you provide a code please?

来源:https://stackoverflow.com/questions/28257824/impossible-to-capture-503-even-with-angularjs-http-interceptor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!