Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Angular response headers in IE 11 not working properly unless in developer mode

$
0
0

So, this problem is a very strange one.

I've got code like the following:

httppromise=$http.get(url);return httppromise.then(function(response){
  $rootScope.id=response.headers("GetMyId");

This works 100% properly in Firefox, Safari and Chrome.

However, in IE 11, it gets the value once. On repeated calls, the value returned is the FIRST value, not the one it is receiving, no matter how many times the above code is called. Interesting enough, if I turn on developer mode, it works PROPERLY.

Is there ANY solution for this?


Viewing all articles
Browse latest Browse all 3527

Trending Articles