问题
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