{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/9130","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/9130/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/9130/comments","events_url":"https://api.github.com/repos/angular/angular/issues/9130/events","html_url":"https://github.com/angular/angular/issues/9130","id":159596721,"number":9130,"title":" Http module does not correctly respect custom Content-Type header","user":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-06-10T09:37:25Z","updated_at":"2016-06-22T13:38:45Z","closed_at":"2016-06-10T15:18:49Z","body":"* **I'm submitting a ...**\r\n- [x] bug report\r\n\r\n**Current behavior**\r\n\r\n```\r\nlet headers = new Headers();\r\nheaders.append('Content-Type', 'application/json'); // or even headers.set\r\nhttp.post('http://example.com/movies/', '{}', {\r\n    headers: headers\r\n})\r\n```\r\n\r\nActual Content-Type header sent: `text/plain, application/json`, since `text/plain` is the detected content type and `application/json` was specified.\r\n\r\n**Expected/desired behavior**\r\n\r\nOnly `application/json` should get set as the Content-Type.\r\n\r\n* **Please tell us about your environment:**\r\n\r\n* **Angular version:** current `master` (as of e1fcab777c) \r\n \r\n* **Browser:** all \r\n \r\n* **Language:** TypeScript\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/227746068","html_url":"https://github.com/angular/angular/issues/9130#issuecomment-227746068","issue_url":"https://api.github.com/repos/angular/angular/issues/9130","id":227746068,"user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T13:38:45Z","updated_at":"2016-06-22T13:38:45Z","body":"@Pixcell this issue is closed, please create a new one and add a plunker. Thanks."}}
{"actor":{"display_login":"vicb"}}