{"action":"closed","number":73,"pull_request":{"url":"https://api.github.com/repos/Lukasa/hyper/pulls/73","id":20063399,"html_url":"https://github.com/Lukasa/hyper/pull/73","diff_url":"https://github.com/Lukasa/hyper/pull/73.diff","patch_url":"https://github.com/Lukasa/hyper/pull/73.patch","issue_url":"https://api.github.com/repos/Lukasa/hyper/issues/73","number":73,"state":"closed","locked":false,"title":"HTTP/2 dumping tool","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},"body":"Here's an idea out of left field:\r\n\r\nLet's ship a command-line tool that can dump a HTTP/2 connection into decoded frames. This would be a useful tool for diagnostic purposes and debugging. In its simplest form it should be able to take a binary file representing the streamed TCP data for a single connection and dump it into the format used by the HTTP/2 specification.\r\n\r\nThis could, when combined with the SSLSplit tool, make a powerful HTTP/2 diagnostic framework. It'd also show the power of `hyper`'s framing layer.\r\n\r\nOther useful features:\r\n\r\n- decode HPACK headers on the fly.\r\n- simulate connection state (e.g. flow control windows, stream counts etc.)\r\n- flag protocol violations that don't affect framing\r\n- decode HTTP/2 streams into requests and responses\r\n\r\nGetting started on this should be _really_ easy!\r\n\r\n##### Proposed output format\r\n\r\n```\r\nHEADERS\r\n    {partial header block}\r\n\r\nCONTINUATION\r\n  + END_HEADERS\r\n    {partial header block}\r\n\r\n{maybe decoded header block here?}\r\n\r\nDATA\r\n  + END_STREAM\r\n    {binary data}\r\n```","created_at":"2014-08-20T18:18:23Z","updated_at":"2015-02-18T17:34:18Z","closed_at":"2015-02-18T17:34:18Z","merged_at":null,"merge_commit_sha":"edc62e8bfb32cc728e1831fa2d2f405355e7af2d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Lukasa/hyper/pulls/73/commits","review_comments_url":"https://api.github.com/repos/Lukasa/hyper/pulls/73/comments","review_comment_url":"https://api.github.com/repos/Lukasa/hyper/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Lukasa/hyper/issues/73/comments","statuses_url":"https://api.github.com/repos/Lukasa/hyper/statuses/0f895ad919b5148882c1a83faec73367d3b9c7d1","head":{"label":"Lukasa:http2dump","ref":"http2dump","sha":"0f895ad919b5148882c1a83faec73367d3b9c7d1","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},"repo":{"id":16165969,"name":"hyper","full_name":"Lukasa/hyper","owner":{"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},"private":false,"html_url":"https://github.com/Lukasa/hyper","description":"HTTP/2 for Python.","fork":false,"url":"https://api.github.com/repos/Lukasa/hyper","forks_url":"https://api.github.com/repos/Lukasa/hyper/forks","keys_url":"https://api.github.com/repos/Lukasa/hyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lukasa/hyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lukasa/hyper/teams","hooks_url":"https://api.github.com/repos/Lukasa/hyper/hooks","issue_events_url":"https://api.github.com/repos/Lukasa/hyper/issues/events{/number}","events_url":"https://api.github.com/repos/Lukasa/hyper/events","assignees_url":"https://api.github.com/repos/Lukasa/hyper/assignees{/user}","branches_url":"https://api.github.com/repos/Lukasa/hyper/branches{/branch}","tags_url":"https://api.github.com/repos/Lukasa/hyper/tags","blobs_url":"https://api.github.com/repos/Lukasa/hyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lukasa/hyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lukasa/hyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lukasa/hyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lukasa/hyper/statuses/{sha}","languages_url":"https://api.github.com/repos/Lukasa/hyper/languages","stargazers_url":"https://api.github.com/repos/Lukasa/hyper/stargazers","contributors_url":"https://api.github.com/repos/Lukasa/hyper/contributors","subscribers_url":"https://api.github.com/repos/Lukasa/hyper/subscribers","subscription_url":"https://api.github.com/repos/Lukasa/hyper/subscription","commits_url":"https://api.github.com/repos/Lukasa/hyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lukasa/hyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lukasa/hyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lukasa/hyper/issues/comments/{number}","contents_url":"https://api.github.com/repos/Lukasa/hyper/contents/{+path}","compare_url":"https://api.github.com/repos/Lukasa/hyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lukasa/hyper/merges","archive_url":"https://api.github.com/repos/Lukasa/hyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lukasa/hyper/downloads","issues_url":"https://api.github.com/repos/Lukasa/hyper/issues{/number}","pulls_url":"https://api.github.com/repos/Lukasa/hyper/pulls{/number}","milestones_url":"https://api.github.com/repos/Lukasa/hyper/milestones{/number}","notifications_url":"https://api.github.com/repos/Lukasa/hyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lukasa/hyper/labels{/name}","releases_url":"https://api.github.com/repos/Lukasa/hyper/releases{/id}","created_at":"2014-01-23T07:53:47Z","updated_at":"2015-02-18T08:49:04Z","pushed_at":"2015-02-11T22:59:08Z","git_url":"git://github.com/Lukasa/hyper.git","ssh_url":"git@github.com:Lukasa/hyper.git","clone_url":"https://github.com/Lukasa/hyper.git","svn_url":"https://github.com/Lukasa/hyper","homepage":"http://hyper.rtfd.org/en/latest/","size":12647,"stargazers_count":184,"watchers_count":184,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":28,"forks":19,"open_issues":28,"watchers":184,"default_branch":"development"}},"base":{"label":"Lukasa:master","ref":"master","sha":"308be18d5db1bc5218f14884b7b1cb78105e1f21","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},"repo":{"id":16165969,"name":"hyper","full_name":"Lukasa/hyper","owner":{"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},"private":false,"html_url":"https://github.com/Lukasa/hyper","description":"HTTP/2 for Python.","fork":false,"url":"https://api.github.com/repos/Lukasa/hyper","forks_url":"https://api.github.com/repos/Lukasa/hyper/forks","keys_url":"https://api.github.com/repos/Lukasa/hyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lukasa/hyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lukasa/hyper/teams","hooks_url":"https://api.github.com/repos/Lukasa/hyper/hooks","issue_events_url":"https://api.github.com/repos/Lukasa/hyper/issues/events{/number}","events_url":"https://api.github.com/repos/Lukasa/hyper/events","assignees_url":"https://api.github.com/repos/Lukasa/hyper/assignees{/user}","branches_url":"https://api.github.com/repos/Lukasa/hyper/branches{/branch}","tags_url":"https://api.github.com/repos/Lukasa/hyper/tags","blobs_url":"https://api.github.com/repos/Lukasa/hyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lukasa/hyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lukasa/hyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lukasa/hyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lukasa/hyper/statuses/{sha}","languages_url":"https://api.github.com/repos/Lukasa/hyper/languages","stargazers_url":"https://api.github.com/repos/Lukasa/hyper/stargazers","contributors_url":"https://api.github.com/repos/Lukasa/hyper/contributors","subscribers_url":"https://api.github.com/repos/Lukasa/hyper/subscribers","subscription_url":"https://api.github.com/repos/Lukasa/hyper/subscription","commits_url":"https://api.github.com/repos/Lukasa/hyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lukasa/hyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lukasa/hyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lukasa/hyper/issues/comments/{number}","contents_url":"https://api.github.com/repos/Lukasa/hyper/contents/{+path}","compare_url":"https://api.github.com/repos/Lukasa/hyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lukasa/hyper/merges","archive_url":"https://api.github.com/repos/Lukasa/hyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lukasa/hyper/downloads","issues_url":"https://api.github.com/repos/Lukasa/hyper/issues{/number}","pulls_url":"https://api.github.com/repos/Lukasa/hyper/pulls{/number}","milestones_url":"https://api.github.com/repos/Lukasa/hyper/milestones{/number}","notifications_url":"https://api.github.com/repos/Lukasa/hyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lukasa/hyper/labels{/name}","releases_url":"https://api.github.com/repos/Lukasa/hyper/releases{/id}","created_at":"2014-01-23T07:53:47Z","updated_at":"2015-02-18T08:49:04Z","pushed_at":"2015-02-11T22:59:08Z","git_url":"git://github.com/Lukasa/hyper.git","ssh_url":"git@github.com:Lukasa/hyper.git","clone_url":"https://github.com/Lukasa/hyper.git","svn_url":"https://github.com/Lukasa/hyper","homepage":"http://hyper.rtfd.org/en/latest/","size":12647,"stargazers_count":184,"watchers_count":184,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":28,"forks":19,"open_issues":28,"watchers":184,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/Lukasa/hyper/pulls/73"},"html":{"href":"https://github.com/Lukasa/hyper/pull/73"},"issue":{"href":"https://api.github.com/repos/Lukasa/hyper/issues/73"},"comments":{"href":"https://api.github.com/repos/Lukasa/hyper/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/Lukasa/hyper/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/Lukasa/hyper/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Lukasa/hyper/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/Lukasa/hyper/statuses/0f895ad919b5148882c1a83faec73367d3b9c7d1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":44,"additions":379,"deletions":0,"changed_files":3}}