Angular2 watch for 302 redirect when fetching resource
问题 I have a requirement to pull a few resources from another domain held by my company. I want to pull secured HTML content with GET requests. When a user is signed out of the application the requested content will return a 302 to the login page. My attempts to sniff the headers for a 302 haven't returned what I'd hoped for so far. The response returned by my Observable is a 200 (login page). Here is my sample app. export class MenuComponent implements OnInit { private _resourceUrl = "http:/