{"action":"created","issue":{"url":"https://api.github.com/repos/indexzero/http-server/issues/239","labels_url":"https://api.github.com/repos/indexzero/http-server/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/indexzero/http-server/issues/239/comments","events_url":"https://api.github.com/repos/indexzero/http-server/issues/239/events","html_url":"https://github.com/indexzero/http-server/issues/239","id":128189018,"number":239,"title":"[question] --cors not working for cross site requests","user":{"login":"bhushanvaidya3","id":10674378,"avatar_url":"https://avatars.githubusercontent.com/u/10674378?v=3","gravatar_id":"","url":"https://api.github.com/users/bhushanvaidya3","html_url":"https://github.com/bhushanvaidya3","followers_url":"https://api.github.com/users/bhushanvaidya3/followers","following_url":"https://api.github.com/users/bhushanvaidya3/following{/other_user}","gists_url":"https://api.github.com/users/bhushanvaidya3/gists{/gist_id}","starred_url":"https://api.github.com/users/bhushanvaidya3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhushanvaidya3/subscriptions","organizations_url":"https://api.github.com/users/bhushanvaidya3/orgs","repos_url":"https://api.github.com/users/bhushanvaidya3/repos","events_url":"https://api.github.com/users/bhushanvaidya3/events{/privacy}","received_events_url":"https://api.github.com/users/bhushanvaidya3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-22T16:12:25Z","updated_at":"2016-01-22T18:56:52Z","closed_at":null,"body":"--cors flag does not add 'Access-Control-Allow-Origin: *' to request header for some reason. Here is an extract from my package.json file:\r\n\r\n\"scripts\": {\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n    \"start\": \"http-server -a localhost -p 5000 --cors -c -3\"\r\n  }\r\n\r\nAm I missing something ?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/indexzero/http-server/issues/comments/174011799","html_url":"https://github.com/indexzero/http-server/issues/239#issuecomment-174011799","issue_url":"https://api.github.com/repos/indexzero/http-server/issues/239","id":174011799,"user":{"login":"bhushanvaidya3","id":10674378,"avatar_url":"https://avatars.githubusercontent.com/u/10674378?v=3","gravatar_id":"","url":"https://api.github.com/users/bhushanvaidya3","html_url":"https://github.com/bhushanvaidya3","followers_url":"https://api.github.com/users/bhushanvaidya3/followers","following_url":"https://api.github.com/users/bhushanvaidya3/following{/other_user}","gists_url":"https://api.github.com/users/bhushanvaidya3/gists{/gist_id}","starred_url":"https://api.github.com/users/bhushanvaidya3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhushanvaidya3/subscriptions","organizations_url":"https://api.github.com/users/bhushanvaidya3/orgs","repos_url":"https://api.github.com/users/bhushanvaidya3/repos","events_url":"https://api.github.com/users/bhushanvaidya3/events{/privacy}","received_events_url":"https://api.github.com/users/bhushanvaidya3/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T18:56:52Z","updated_at":"2016-01-22T18:56:52Z","body":"It's not working on windows 7 for me. Node version is 5.5.0.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/10674378/12519914/a008004a-c10f-11e5-89cb-0d62bd98277e.png)"}}