{"action":"created","issue":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/1562","repository_url":"https://api.github.com/repos/SmingHub/Sming","labels_url":"https://api.github.com/repos/SmingHub/Sming/issues/1562/labels{/name}","comments_url":"https://api.github.com/repos/SmingHub/Sming/issues/1562/comments","events_url":"https://api.github.com/repos/SmingHub/Sming/issues/1562/events","html_url":"https://github.com/SmingHub/Sming/issues/1562","id":394122609,"node_id":"MDU6SXNzdWUzOTQxMjI2MDk=","number":1562,"title":"Custom headers are not sent correctly","user":{"login":"slaff","id":247452,"node_id":"MDQ6VXNlcjI0NzQ1Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/247452?v=4","gravatar_id":"","url":"https://api.github.com/users/slaff","html_url":"https://github.com/slaff","followers_url":"https://api.github.com/users/slaff/followers","following_url":"https://api.github.com/users/slaff/following{/other_user}","gists_url":"https://api.github.com/users/slaff/gists{/gist_id}","starred_url":"https://api.github.com/users/slaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slaff/subscriptions","organizations_url":"https://api.github.com/users/slaff/orgs","repos_url":"https://api.github.com/users/slaff/repos","events_url":"https://api.github.com/users/slaff/events{/privacy}","received_events_url":"https://api.github.com/users/slaff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-26T09:14:21Z","updated_at":"2018-12-26T10:14:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Setting custom header results in invalid HTTP request.\r\n```\r\n\tHttpHeaders headers;\r\n\theaders[F(\"X-Powered-By\")] = _F(\"Sming\");\t\t\t\t  // Use text for non-standard field names\r\n\tgetRequest->setHeaders(headers);\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/247452/50440510-dcbf1c80-08f6-11e9-9429-d40f9519c2d0.png)\r\n\r\nAs can be seen from the snapshot above the header name is missing.\r\n"},"comment":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/comments/449944193","html_url":"https://github.com/SmingHub/Sming/issues/1562#issuecomment-449944193","issue_url":"https://api.github.com/repos/SmingHub/Sming/issues/1562","id":449944193,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTk0NDE5Mw==","user":{"login":"mikee47","id":1982774,"node_id":"MDQ6VXNlcjE5ODI3NzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1982774?v=4","gravatar_id":"","url":"https://api.github.com/users/mikee47","html_url":"https://github.com/mikee47","followers_url":"https://api.github.com/users/mikee47/followers","following_url":"https://api.github.com/users/mikee47/following{/other_user}","gists_url":"https://api.github.com/users/mikee47/gists{/gist_id}","starred_url":"https://api.github.com/users/mikee47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikee47/subscriptions","organizations_url":"https://api.github.com/users/mikee47/orgs","repos_url":"https://api.github.com/users/mikee47/repos","events_url":"https://api.github.com/users/mikee47/events{/privacy}","received_events_url":"https://api.github.com/users/mikee47/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T10:14:00Z","updated_at":"2018-12-26T10:14:00Z","author_association":"CONTRIBUTOR","body":"@slaff Just had a quick look, problem is with `HttpHeaders::setMultiple()` which needs over-riding. I'll submit a PR later today."}}
{"actor":{"display_login":"mikee47"}}