{"action":"created","issue":{"url":"https://api.github.com/repos/curl/curl/issues/798","repository_url":"https://api.github.com/repos/curl/curl","labels_url":"https://api.github.com/repos/curl/curl/issues/798/labels{/name}","comments_url":"https://api.github.com/repos/curl/curl/issues/798/comments","events_url":"https://api.github.com/repos/curl/curl/issues/798/events","html_url":"https://github.com/curl/curl/pull/798","id":154222386,"number":798,"title":"http2: Add space between colon and header value","user":{"login":"Lukasa","id":1382556,"avatar_url":"https://avatars.githubusercontent.com/u/1382556?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukasa","html_url":"https://github.com/Lukasa","followers_url":"https://api.github.com/users/Lukasa/followers","following_url":"https://api.github.com/users/Lukasa/following{/other_user}","gists_url":"https://api.github.com/users/Lukasa/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukasa/subscriptions","organizations_url":"https://api.github.com/users/Lukasa/orgs","repos_url":"https://api.github.com/users/Lukasa/repos","events_url":"https://api.github.com/users/Lukasa/events{/privacy}","received_events_url":"https://api.github.com/users/Lukasa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/curl/curl/labels/HTTP/2","name":"HTTP/2","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-11T11:38:37Z","updated_at":"2016-05-11T19:57:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/curl/curl/pulls/798","html_url":"https://github.com/curl/curl/pull/798","diff_url":"https://github.com/curl/curl/pull/798.diff","patch_url":"https://github.com/curl/curl/pull/798.patch"},"body":"Resolves #797.\r\n\r\ncurl's representation of HTTP/2 responses involves transforming the\r\nresponse to a format that is similar to HTTP/1.1. Prior to this change,\r\ncurl would do this by separating header names and values with only a\r\ncolon, without introducing a space after the colon.\r\n\r\nWhile this is technically a valid way to represent a HTTP/1.1 header\r\nblock, it is much more common to see a space following the colon. This\r\nchange introduces that space, to ensure that incautious tools are safely\r\nable to parse the header block.\r\n\r\nThis also ensures that the difference between the HTTP/1.1 and HTTP/2\r\nresponse layout is as minimal as possible.\r\n\r\nBug: https://github.com/curl/curl/issues/797"},"comment":{"url":"https://api.github.com/repos/curl/curl/issues/comments/218571738","html_url":"https://github.com/curl/curl/pull/798#issuecomment-218571738","issue_url":"https://api.github.com/repos/curl/curl/issues/798","id":218571738,"user":{"login":"Lukasa","id":1382556,"avatar_url":"https://avatars.githubusercontent.com/u/1382556?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukasa","html_url":"https://github.com/Lukasa","followers_url":"https://api.github.com/users/Lukasa/followers","following_url":"https://api.github.com/users/Lukasa/following{/other_user}","gists_url":"https://api.github.com/users/Lukasa/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukasa/subscriptions","organizations_url":"https://api.github.com/users/Lukasa/orgs","repos_url":"https://api.github.com/users/Lukasa/repos","events_url":"https://api.github.com/users/Lukasa/events{/privacy}","received_events_url":"https://api.github.com/users/Lukasa/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T19:57:41Z","updated_at":"2016-05-11T19:57:41Z","body":"Alright, done. =)"}}