angularJS response header access returns null in Safari Browser

自古美人都是妖i 提交于 2019-12-25 06:38:24

问题


After $http request in angularJS, I could see any header sent with response in safari "Web Inspector" (OS: Windows 8). But same when I try to access like headers('Authorization') in angularJS, it returns null.

Tried by setting custom headers also, but when I access, I get null value. Our application login happens by validating the authorization header. Since it is returning null in Safari browser, not able to login only :(.

Anyone has come across this Safari browser issue and got solution? Please help..

来源:https://stackoverflow.com/questions/32453663/angularjs-response-header-access-returns-null-in-safari-browser

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