> > Hi Sander, > So my concern here is that, I don't get redirected to the url specified in the (header) location. That's why I want to handle redirect on my own. But apparently, most of the people that's using angular are having the hard time answering my question, which makes me think that this is a rare question, meaning, people don't have any problem with redirection the same as I have. I would like also to state the fact that since developer of angularjs didn't bother on creating a callback for redirection (2XX = success and 4XX and 5XX = error) it makes me think that it is really the browsers job to do that.
I was thinking that the problem has something to do with the web server that I'm using. When I asked the support of the web server, this was his reply ... "If you are using Angular and doing Ajax requests, you need to check the status and when you get 302, you need to redirect the client by setting window location. Normal client side stuff. " To confirm his claim, my question is, was $http created using Ajax? And do I really need to handle redirect status when Im using $http? Thank you, ssaniel > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
