{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6681","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/6681/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6681/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6681/events","html_url":"https://github.com/angular/angular/issues/6681","id":128538373,"number":6681,"title":"Wrong Http status error","user":{"login":"gustavolira","id":1463004,"avatar_url":"https://avatars.githubusercontent.com/u/1463004?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavolira","html_url":"https://github.com/gustavolira","followers_url":"https://api.github.com/users/gustavolira/followers","following_url":"https://api.github.com/users/gustavolira/following{/other_user}","gists_url":"https://api.github.com/users/gustavolira/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavolira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavolira/subscriptions","organizations_url":"https://api.github.com/users/gustavolira/orgs","repos_url":"https://api.github.com/users/gustavolira/repos","events_url":"https://api.github.com/users/gustavolira/events{/privacy}","received_events_url":"https://api.github.com/users/gustavolira/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/state:%20Blocked","name":"state: Blocked","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-25T13:36:16Z","updated_at":"2016-02-16T12:20:08Z","closed_at":"2016-02-01T23:07:08Z","body":"Hi,\r\nI'm using angular2 beta.1 and if I get the status code from some http error callback the status code is always 200.\r\nExample:\r\nthis.http.get('http://foo/bar',{ headers: this.header}).subscribe(\r\n        data => this.items = data.json(),\r\n        error=> console.log(error.status) //Always 200 even if the server return something different\r\n      );"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/184661487","html_url":"https://github.com/angular/angular/issues/6681#issuecomment-184661487","issue_url":"https://api.github.com/repos/angular/angular/issues/6681","id":184661487,"user":{"login":"binarious","id":200375,"avatar_url":"https://avatars.githubusercontent.com/u/200375?v=3","gravatar_id":"","url":"https://api.github.com/users/binarious","html_url":"https://github.com/binarious","followers_url":"https://api.github.com/users/binarious/followers","following_url":"https://api.github.com/users/binarious/following{/other_user}","gists_url":"https://api.github.com/users/binarious/gists{/gist_id}","starred_url":"https://api.github.com/users/binarious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarious/subscriptions","organizations_url":"https://api.github.com/users/binarious/orgs","repos_url":"https://api.github.com/users/binarious/repos","events_url":"https://api.github.com/users/binarious/events{/privacy}","received_events_url":"https://api.github.com/users/binarious/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T12:20:08Z","updated_at":"2016-02-16T12:20:08Z","body":"Dupe of https://github.com/angular/http/issues/54."}}