{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6138","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/6138/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6138/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6138/events","html_url":"https://github.com/angular/angular/issues/6138","id":123975929,"number":6138,"title":"Http: should return status code / text properly from errors","user":{"login":"robwormald","id":534930,"avatar_url":"https://avatars.githubusercontent.com/u/534930?v=3","gravatar_id":"","url":"https://api.github.com/users/robwormald","html_url":"https://github.com/robwormald","followers_url":"https://api.github.com/users/robwormald/followers","following_url":"https://api.github.com/users/robwormald/following{/other_user}","gists_url":"https://api.github.com/users/robwormald/gists{/gist_id}","starred_url":"https://api.github.com/users/robwormald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwormald/subscriptions","organizations_url":"https://api.github.com/users/robwormald/orgs","repos_url":"https://api.github.com/users/robwormald/repos","events_url":"https://api.github.com/users/robwormald/events{/privacy}","received_events_url":"https://api.github.com/users/robwormald/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20http","name":"comp: http","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort1:%20easy%20(hour)","name":"effort1: easy (hour)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/P3:%20important","name":"P3: important","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"robwormald","id":534930,"avatar_url":"https://avatars.githubusercontent.com/u/534930?v=3","gravatar_id":"","url":"https://api.github.com/users/robwormald","html_url":"https://github.com/robwormald","followers_url":"https://api.github.com/users/robwormald/followers","following_url":"https://api.github.com/users/robwormald/following{/other_user}","gists_url":"https://api.github.com/users/robwormald/gists{/gist_id}","starred_url":"https://api.github.com/users/robwormald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwormald/subscriptions","organizations_url":"https://api.github.com/users/robwormald/orgs","repos_url":"https://api.github.com/users/robwormald/repos","events_url":"https://api.github.com/users/robwormald/events{/privacy}","received_events_url":"https://api.github.com/users/robwormald/received_events","type":"User","site_admin":false},"assignees":[{"login":"robwormald","id":534930,"avatar_url":"https://avatars.githubusercontent.com/u/534930?v=3","gravatar_id":"","url":"https://api.github.com/users/robwormald","html_url":"https://github.com/robwormald","followers_url":"https://api.github.com/users/robwormald/followers","following_url":"https://api.github.com/users/robwormald/following{/other_user}","gists_url":"https://api.github.com/users/robwormald/gists{/gist_id}","starred_url":"https://api.github.com/users/robwormald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwormald/subscriptions","organizations_url":"https://api.github.com/users/robwormald/orgs","repos_url":"https://api.github.com/users/robwormald/repos","events_url":"https://api.github.com/users/robwormald/events{/privacy}","received_events_url":"https://api.github.com/users/robwormald/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2015-12-27T12:48:00Z","updated_at":"2016-08-17T17:59:09Z","closed_at":"2016-02-08T19:02:44Z","body":"Currently defaulting to the base, which is incorrect for network errors (CORS, etc)"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/240494176","html_url":"https://github.com/angular/angular/issues/6138#issuecomment-240494176","issue_url":"https://api.github.com/repos/angular/angular/issues/6138","id":240494176,"user":{"login":"navmishra","id":21068961,"avatar_url":"https://avatars.githubusercontent.com/u/21068961?v=3","gravatar_id":"","url":"https://api.github.com/users/navmishra","html_url":"https://github.com/navmishra","followers_url":"https://api.github.com/users/navmishra/followers","following_url":"https://api.github.com/users/navmishra/following{/other_user}","gists_url":"https://api.github.com/users/navmishra/gists{/gist_id}","starred_url":"https://api.github.com/users/navmishra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navmishra/subscriptions","organizations_url":"https://api.github.com/users/navmishra/orgs","repos_url":"https://api.github.com/users/navmishra/repos","events_url":"https://api.github.com/users/navmishra/events{/privacy}","received_events_url":"https://api.github.com/users/navmishra/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T17:59:09Z","updated_at":"2016-08-17T17:59:09Z","body":"Thanks. So how to distinguish between/identify these HTTP error conditions using Angular2? I don't seem to be getting other HTTP status codes such as 404, 500 and others which I get fine using jQuery AJAX. Does it require getting access to the XhrBackend? "}}
{"actor":{"display_login":"navmishra"}}