jquery - AJAX get custom response headers with CORS -


my server sends custom headers along response. response data alright, can't access custom headers jquery's getallresponseheaders() or angularjs $http service. content-type. when inspect request response devtools or fiddler, can see custom headers being sent server, can't them xhr. there way access headers?

ok got working after adding allowed headers in server config access-control-expose-headers


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -