{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-phonecat/issues/303","repository_url":"https://api.github.com/repos/angular/angular-phonecat","labels_url":"https://api.github.com/repos/angular/angular-phonecat/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-phonecat/issues/303/comments","events_url":"https://api.github.com/repos/angular/angular-phonecat/issues/303/events","html_url":"https://github.com/angular/angular-phonecat/issues/303","id":133538162,"number":303,"title":"_http_outgoing.js:351       throw new TypeError('The header content contains invalid characters');       ^","user":{"login":"kimbeast","id":950876,"avatar_url":"https://avatars.githubusercontent.com/u/950876?v=3","gravatar_id":"","url":"https://api.github.com/users/kimbeast","html_url":"https://github.com/kimbeast","followers_url":"https://api.github.com/users/kimbeast/followers","following_url":"https://api.github.com/users/kimbeast/following{/other_user}","gists_url":"https://api.github.com/users/kimbeast/gists{/gist_id}","starred_url":"https://api.github.com/users/kimbeast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimbeast/subscriptions","organizations_url":"https://api.github.com/users/kimbeast/orgs","repos_url":"https://api.github.com/users/kimbeast/repos","events_url":"https://api.github.com/users/kimbeast/events{/privacy}","received_events_url":"https://api.github.com/users/kimbeast/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-02-14T13:16:28Z","updated_at":"2016-04-15T06:07:39Z","closed_at":null,"body":"## Environment : \r\nWindows 10 64bit, nodejs 4.3.x and nodejs 5.6.x\r\n\r\n## Issue : \r\n**Trying to connect after starting with \"npm start\",  http-server die with follwing error.**\r\n\r\n```\r\n_http_outgoing.js:351\r\n      throw new TypeError('The header content contains invalid characters');\r\n      ^\r\n\r\nTypeError: The header content contains invalid characters\r\n    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:351:13)\r\n    at ResponseStream.(anonymous function) [as setHeader] (C:\\SourceIgloo\\0.Studying\\AngularJS\\angular-phonecat\\node_modules\\http-server\\node_modules\\union\\lib\\response-stream.js:86:34)\r\n    at serve (C:\\SourceIgloo\\0.Studying\\AngularJS\\angular-phonecat\\node_modules\\http-server\\node_modules\\ecstatic\\lib\\ecstatic.js:146:11)\r\n    at C:\\SourceIgloo\\0.Studying\\AngularJS\\angular-phonecat\\node_modules\\http-server\\node_modules\\ecstatic\\lib\\ecstatic.js:139:9\r\n    at FSReqWrap.oncomplete (fs.js:82:15)\r\n```\r\n\r\n## Solution :\r\n**need to upgrade http-server to 0.8.5**\r\n\r\nIn package.json\r\n```\r\n\"http-server\": \"^0.8.5\"\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular-phonecat/issues/comments/210300024","html_url":"https://github.com/angular/angular-phonecat/issues/303#issuecomment-210300024","issue_url":"https://api.github.com/repos/angular/angular-phonecat/issues/303","id":210300024,"user":{"login":"martinlong77","id":3089770,"avatar_url":"https://avatars.githubusercontent.com/u/3089770?v=3","gravatar_id":"","url":"https://api.github.com/users/martinlong77","html_url":"https://github.com/martinlong77","followers_url":"https://api.github.com/users/martinlong77/followers","following_url":"https://api.github.com/users/martinlong77/following{/other_user}","gists_url":"https://api.github.com/users/martinlong77/gists{/gist_id}","starred_url":"https://api.github.com/users/martinlong77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinlong77/subscriptions","organizations_url":"https://api.github.com/users/martinlong77/orgs","repos_url":"https://api.github.com/users/martinlong77/repos","events_url":"https://api.github.com/users/martinlong77/events{/privacy}","received_events_url":"https://api.github.com/users/martinlong77/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T06:07:39Z","updated_at":"2016-04-15T06:07:39Z","body":"@igoradamenko Thanks,that's the anwser."}}