angularJS response header access returns null in S

2019-08-30 03:50发布

问题:

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..