{"action":"closed","issue":{"url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/12","repository_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse","labels_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/12/comments","events_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/12/events","html_url":"https://github.com/gustavnikolaj/hijackresponse/issues/12","id":224072427,"number":12,"title":"writeHead called with a statusMessage sets message contents as headers","user":{"login":"exogen","id":53522,"avatar_url":"https://avatars1.githubusercontent.com/u/53522?v=3","gravatar_id":"","url":"https://api.github.com/users/exogen","html_url":"https://github.com/exogen","followers_url":"https://api.github.com/users/exogen/followers","following_url":"https://api.github.com/users/exogen/following{/other_user}","gists_url":"https://api.github.com/users/exogen/gists{/gist_id}","starred_url":"https://api.github.com/users/exogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exogen/subscriptions","organizations_url":"https://api.github.com/users/exogen/orgs","repos_url":"https://api.github.com/users/exogen/repos","events_url":"https://api.github.com/users/exogen/events{/privacy}","received_events_url":"https://api.github.com/users/exogen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-04-25T09:15:31Z","updated_at":"2017-04-25T11:17:39Z","closed_at":"2017-04-25T11:17:39Z","body":"Hi Gustav!\r\n\r\nI'm seeing strange response headers when using `hijackresponse`, even with just a simple always-`unhijack` setup or a simple pass-through transform:\r\n\r\n```\r\nHTTP/1.1 200 OK\r\n0: O\r\n1: K\r\nx-powered-by: Express\r\naccept-ranges: bytes\r\naccess-control-allow-origin: *\r\ncontent-type: text/html; charset=UTF-8\r\nContent-Length: 548\r\netag: W/\"202-1SxF0UlPnK3ouKs7FF8xugo6bZk\"\r\nVary: Accept-Encoding\r\ndate: Tue, 25 Apr 2017 09:03:38 GMT\r\nconnection: close\r\n```\r\n\r\nNotice the strange `0` and `1` headers that have adopted the OK status. Without `hijackresponse`, these are not present. This seems like a bug, or could it be a bad interaction with other middleware?"}}
{"actor":{"display_login":"gustavnikolaj"}}