{"action":"opened","issue":{"url":"https://api.github.com/repos/schickling/gulp-webserver/issues/130","repository_url":"https://api.github.com/repos/schickling/gulp-webserver","labels_url":"https://api.github.com/repos/schickling/gulp-webserver/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/schickling/gulp-webserver/issues/130/comments","events_url":"https://api.github.com/repos/schickling/gulp-webserver/issues/130/events","html_url":"https://github.com/schickling/gulp-webserver/issues/130","id":305949165,"number":130,"title":"add request header using proxies and options","user":{"login":"vinhnghi223","id":2405899,"avatar_url":"https://avatars2.githubusercontent.com/u/2405899?v=4","gravatar_id":"","url":"https://api.github.com/users/vinhnghi223","html_url":"https://github.com/vinhnghi223","followers_url":"https://api.github.com/users/vinhnghi223/followers","following_url":"https://api.github.com/users/vinhnghi223/following{/other_user}","gists_url":"https://api.github.com/users/vinhnghi223/gists{/gist_id}","starred_url":"https://api.github.com/users/vinhnghi223/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinhnghi223/subscriptions","organizations_url":"https://api.github.com/users/vinhnghi223/orgs","repos_url":"https://api.github.com/users/vinhnghi223/repos","events_url":"https://api.github.com/users/vinhnghi223/events{/privacy}","received_events_url":"https://api.github.com/users/vinhnghi223/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T14:29:18Z","updated_at":"2018-03-16T14:29:18Z","closed_at":null,"author_association":"NONE","body":"I tried to manipulate the request header by using the options property like in the documentation, but when I check with browser's dev tool, I didn't see the custom header property being added.\r\n\r\n```\r\n          proxies: [\r\n                {\r\n                    source: '/api/',\r\n                    target: 'http://abc.com/api/',\r\n                    options: {headers: {'ABC_HEADER': 'abc'}}\r\n                }\r\n            ]\r\n```"}}
{"actor":{"display_login":"vinhnghi223"}}