{"action":"created","comment":{"url":"https://api.github.com/repos/WICG/webpackage/pulls/comments/211162735","pull_request_review_id":147526583,"id":211162735,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTE2MjczNQ==","diff_hunk":"@@ -302,26 +302,23 @@ the headers as this serialization. Instead, this section defines a CBOR\n representation that can be embedded into other CBOR, canonically serialized\n ({{canonical-cbor}}), and then signed.\n \n-The CBOR representation of an exchange `exchange`'s headers is the CBOR\n-({{!RFC7049}}) array with the following content:\n+The CBOR representation of a set of request and response metadata and headers is\n+the CBOR ({{!RFC7049}}) array with the following content:\n \n 1. The map mapping:\n-   * The byte string ':method' to the byte string containing `exchange`'s\n-     request's method.\n-   * The byte string ':url' to the byte string containing `exchange`'s request's","path":"draft-yasskin-http-origin-signed-responses.md","position":12,"original_position":12,"commit_id":"99fa76f42e04d3f4c0cc2d933f9f7d5ead2428ce","original_commit_id":"99fa76f42e04d3f4c0cc2d933f9f7d5ead2428ce","user":{"login":"nyaxt","id":18355,"node_id":"MDQ6VXNlcjE4MzU1","avatar_url":"https://avatars2.githubusercontent.com/u/18355?v=4","gravatar_id":"","url":"https://api.github.com/users/nyaxt","html_url":"https://github.com/nyaxt","followers_url":"https://api.github.com/users/nyaxt/followers","following_url":"https://api.github.com/users/nyaxt/following{/other_user}","gists_url":"https://api.github.com/users/nyaxt/gists{/gist_id}","starred_url":"https://api.github.com/users/nyaxt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyaxt/subscriptions","organizations_url":"https://api.github.com/users/nyaxt/orgs","repos_url":"https://api.github.com/users/nyaxt/repos","events_url":"https://api.github.com/users/nyaxt/events{/privacy}","received_events_url":"https://api.github.com/users/nyaxt/received_events","type":"User","site_admin":false},"body":"Filed #290","created_at":"2018-08-20T07:26:03Z","updated_at":"2018-08-20T07:26:03Z","html_url":"https://github.com/WICG/webpackage/pull/288#discussion_r211162735","pull_request_url":"https://api.github.com/repos/WICG/webpackage/pulls/288","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/WICG/webpackage/pulls/comments/211162735"},"html":{"href":"https://github.com/WICG/webpackage/pull/288#discussion_r211162735"},"pull_request":{"href":"https://api.github.com/repos/WICG/webpackage/pulls/288"}},"in_reply_to_id":211159247},"pull_request":{"url":"https://api.github.com/repos/WICG/webpackage/pulls/288","id":208440974,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NDQwOTc0","html_url":"https://github.com/WICG/webpackage/pull/288","diff_url":"https://github.com/WICG/webpackage/pull/288.diff","patch_url":"https://github.com/WICG/webpackage/pull/288.patch","issue_url":"https://api.github.com/repos/WICG/webpackage/issues/288","number":288,"state":"closed","locked":false,"title":"Put a fallback URL at the beginning of signed exchanges","user":{"login":"jyasskin","id":83420,"node_id":"MDQ6VXNlcjgzNDIw","avatar_url":"https://avatars1.githubusercontent.com/u/83420?v=4","gravatar_id":"","url":"https://api.github.com/users/jyasskin","html_url":"https://github.com/jyasskin","followers_url":"https://api.github.com/users/jyasskin/followers","following_url":"https://api.github.com/users/jyasskin/following{/other_user}","gists_url":"https://api.github.com/users/jyasskin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyasskin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyasskin/subscriptions","organizations_url":"https://api.github.com/users/jyasskin/orgs","repos_url":"https://api.github.com/users/jyasskin/repos","events_url":"https://api.github.com/users/jyasskin/events{/privacy}","received_events_url":"https://api.github.com/users/jyasskin/received_events","type":"User","site_admin":false},"body":"This lets the browser redirect there if it doesn't recognize the version of the signed exchange.\r\n\r\nThis sits on top of #287 and #281, so please only review [`99fa76f`](https://github.com/WICG/webpackage/pull/288/commits/99fa76f42e04d3f4c0cc2d933f9f7d5ead2428ce). It fixes #242.\r\n\r\nOne question here is whether to include the method with the fallback URL. We can't do anything with a non-GET method right now, and after many years of HTTP, the only acceptable methods are GET and HEAD anyway, so I think we should consider dropping the method entirely, although not in this PR.\r\n\r\nsigned-responses: [Preview](https://jyasskin.github.io/webpackage/fallback-url/draft-yasskin-http-origin-signed-responses.html), [Diff](https://tools.ietf.org/rfcdiff?url1=https://jyasskin.github.io/webpackage/fix-276-clearly-reuse-header-bytes/draft-yasskin-http-origin-signed-responses.txt&url2=https://jyasskin.github.io/webpackage/fallback-url/draft-yasskin-http-origin-signed-responses.txt)\r\n\r\nLoading: [Preview](https://jyasskin.github.io/webpackage/fallback-url/loading.html#mp-http-fetch)","created_at":"2018-08-14T23:52:48Z","updated_at":"2018-08-20T07:26:03Z","closed_at":"2018-08-20T07:21:22Z","merged_at":"2018-08-20T07:21:21Z","merge_commit_sha":"99fa76f42e04d3f4c0cc2d933f9f7d5ead2428ce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WICG/webpackage/pulls/288/commits","review_comments_url":"https://api.github.com/repos/WICG/webpackage/pulls/288/comments","review_comment_url":"https://api.github.com/repos/WICG/webpackage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WICG/webpackage/issues/288/comments","statuses_url":"https://api.github.com/repos/WICG/webpackage/statuses/99fa76f42e04d3f4c0cc2d933f9f7d5ead2428ce","head":{"label":"jyasskin:fallback-url","ref":"fallback-url","sha":"99fa76f42e04d3f4c0cc2d933f9f7d5ead2428ce","user":{"login":"jyasskin","id":83420,"node_id":"MDQ6VXNlcjgzNDIw","avatar_url":"https://avatars1.githubusercontent.com/u/83420?v=4","gravatar_id":"","url":"https://api.github.com/users/jyasskin","html_url":"https://github.com/jyasskin","followers_url":"https://api.github.com/users/jyasskin/followers","following_url":"https://api.github.com/users/jyasskin/following{/other_user}","gists_url":"https://api.github.com/users/jyasskin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyasskin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyasskin/subscriptions","organizations_url":"https://api.github.com/users/jyasskin/orgs","repos_url":"https://api.github.com/users/jyasskin/repos","events_url":"https://api.github.com/users/jyasskin/events{/privacy}","received_events_url":"https://api.github.com/users/jyasskin/received_events","type":"User","site_admin":false},"repo":{"id":79855158,"node_id":"MDEwOlJlcG9zaXRvcnk3OTg1NTE1OA==","name":"webpackage","full_name":"jyasskin/webpackage","owner":{"login":"jyasskin","id":83420,"node_id":"MDQ6VXNlcjgzNDIw","avatar_url":"https://avatars1.githubusercontent.com/u/83420?v=4","gravatar_id":"","url":"https://api.github.com/users/jyasskin","html_url":"https://github.com/jyasskin","followers_url":"https://api.github.com/users/jyasskin/followers","following_url":"https://api.github.com/users/jyasskin/following{/other_user}","gists_url":"https://api.github.com/users/jyasskin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyasskin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyasskin/subscriptions","organizations_url":"https://api.github.com/users/jyasskin/orgs","repos_url":"https://api.github.com/users/jyasskin/repos","events_url":"https://api.github.com/users/jyasskin/events{/privacy}","received_events_url":"https://api.github.com/users/jyasskin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jyasskin/webpackage","description":"Web packaging format","fork":true,"url":"https://api.github.com/repos/jyasskin/webpackage","forks_url":"https://api.github.com/repos/jyasskin/webpackage/forks","keys_url":"https://api.github.com/repos/jyasskin/webpackage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jyasskin/webpackage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jyasskin/webpackage/teams","hooks_url":"https://api.github.com/repos/jyasskin/webpackage/hooks","issue_events_url":"https://api.github.com/repos/jyasskin/webpackage/issues/events{/number}","events_url":"https://api.github.com/repos/jyasskin/webpackage/events","assignees_url":"https://api.github.com/repos/jyasskin/webpackage/assignees{/user}","branches_url":"https://api.github.com/repos/jyasskin/webpackage/branches{/branch}","tags_url":"https://api.github.com/repos/jyasskin/webpackage/tags","blobs_url":"https://api.github.com/repos/jyasskin/webpackage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jyasskin/webpackage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jyasskin/webpackage/git/refs{/sha}","trees_url":"https://api.github.com/repos/jyasskin/webpackage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jyasskin/webpackage/statuses/{sha}","languages_url":"https://api.github.com/repos/jyasskin/webpackage/languages","stargazers_url":"https://api.github.com/repos/jyasskin/webpackage/stargazers","contributors_url":"https://api.github.com/repos/jyasskin/webpackage/contributors","subscribers_url":"https://api.github.com/repos/jyasskin/webpackage/subscribers","subscription_url":"https://api.github.com/repos/jyasskin/webpackage/subscription","commits_url":"https://api.github.com/repos/jyasskin/webpackage/commits{/sha}","git_commits_url":"https://api.github.com/repos/jyasskin/webpackage/git/commits{/sha}","comments_url":"https://api.github.com/repos/jyasskin/webpackage/comments{/number}","issue_comment_url":"https://api.github.com/repos/jyasskin/webpackage/issues/comments{/number}","contents_url":"https://api.github.com/repos/jyasskin/webpackage/contents/{+path}","compare_url":"https://api.github.com/repos/jyasskin/webpackage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jyasskin/webpackage/merges","archive_url":"https://api.github.com/repos/jyasskin/webpackage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jyasskin/webpackage/downloads","issues_url":"https://api.github.com/repos/jyasskin/webpackage/issues{/number}","pulls_url":"https://api.github.com/repos/jyasskin/webpackage/pulls{/number}","milestones_url":"https://api.github.com/repos/jyasskin/webpackage/milestones{/number}","notifications_url":"https://api.github.com/repos/jyasskin/webpackage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jyasskin/webpackage/labels{/name}","releases_url":"https://api.github.com/repos/jyasskin/webpackage/releases{/id}","deployments_url":"https://api.github.com/repos/jyasskin/webpackage/deployments","created_at":"2017-01-23T22:31:35Z","updated_at":"2018-08-01T18:11:23Z","pushed_at":"2018-08-14T23:41:35Z","git_url":"git://github.com/jyasskin/webpackage.git","ssh_url":"git@github.com:jyasskin/webpackage.git","clone_url":"https://github.com/jyasskin/webpackage.git","svn_url":"https://github.com/jyasskin/webpackage","homepage":null,"size":5258,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WICG:master","ref":"master","sha":"bc103472aacb7f1b4ff898e8e6eaf59cd6b09e04","user":{"login":"WICG","id":13145324,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTQ1MzI0","avatar_url":"https://avatars2.githubusercontent.com/u/13145324?v=4","gravatar_id":"","url":"https://api.github.com/users/WICG","html_url":"https://github.com/WICG","followers_url":"https://api.github.com/users/WICG/followers","following_url":"https://api.github.com/users/WICG/following{/other_user}","gists_url":"https://api.github.com/users/WICG/gists{/gist_id}","starred_url":"https://api.github.com/users/WICG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WICG/subscriptions","organizations_url":"https://api.github.com/users/WICG/orgs","repos_url":"https://api.github.com/users/WICG/repos","events_url":"https://api.github.com/users/WICG/events{/privacy}","received_events_url":"https://api.github.com/users/WICG/received_events","type":"Organization","site_admin":false},"repo":{"id":71413286,"node_id":"MDEwOlJlcG9zaXRvcnk3MTQxMzI4Ng==","name":"webpackage","full_name":"WICG/webpackage","owner":{"login":"WICG","id":13145324,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTQ1MzI0","avatar_url":"https://avatars2.githubusercontent.com/u/13145324?v=4","gravatar_id":"","url":"https://api.github.com/users/WICG","html_url":"https://github.com/WICG","followers_url":"https://api.github.com/users/WICG/followers","following_url":"https://api.github.com/users/WICG/following{/other_user}","gists_url":"https://api.github.com/users/WICG/gists{/gist_id}","starred_url":"https://api.github.com/users/WICG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WICG/subscriptions","organizations_url":"https://api.github.com/users/WICG/orgs","repos_url":"https://api.github.com/users/WICG/repos","events_url":"https://api.github.com/users/WICG/events{/privacy}","received_events_url":"https://api.github.com/users/WICG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WICG/webpackage","description":"Web packaging format","fork":false,"url":"https://api.github.com/repos/WICG/webpackage","forks_url":"https://api.github.com/repos/WICG/webpackage/forks","keys_url":"https://api.github.com/repos/WICG/webpackage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WICG/webpackage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WICG/webpackage/teams","hooks_url":"https://api.github.com/repos/WICG/webpackage/hooks","issue_events_url":"https://api.github.com/repos/WICG/webpackage/issues/events{/number}","events_url":"https://api.github.com/repos/WICG/webpackage/events","assignees_url":"https://api.github.com/repos/WICG/webpackage/assignees{/user}","branches_url":"https://api.github.com/repos/WICG/webpackage/branches{/branch}","tags_url":"https://api.github.com/repos/WICG/webpackage/tags","blobs_url":"https://api.github.com/repos/WICG/webpackage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WICG/webpackage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WICG/webpackage/git/refs{/sha}","trees_url":"https://api.github.com/repos/WICG/webpackage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WICG/webpackage/statuses/{sha}","languages_url":"https://api.github.com/repos/WICG/webpackage/languages","stargazers_url":"https://api.github.com/repos/WICG/webpackage/stargazers","contributors_url":"https://api.github.com/repos/WICG/webpackage/contributors","subscribers_url":"https://api.github.com/repos/WICG/webpackage/subscribers","subscription_url":"https://api.github.com/repos/WICG/webpackage/subscription","commits_url":"https://api.github.com/repos/WICG/webpackage/commits{/sha}","git_commits_url":"https://api.github.com/repos/WICG/webpackage/git/commits{/sha}","comments_url":"https://api.github.com/repos/WICG/webpackage/comments{/number}","issue_comment_url":"https://api.github.com/repos/WICG/webpackage/issues/comments{/number}","contents_url":"https://api.github.com/repos/WICG/webpackage/contents/{+path}","compare_url":"https://api.github.com/repos/WICG/webpackage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WICG/webpackage/merges","archive_url":"https://api.github.com/repos/WICG/webpackage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WICG/webpackage/downloads","issues_url":"https://api.github.com/repos/WICG/webpackage/issues{/number}","pulls_url":"https://api.github.com/repos/WICG/webpackage/pulls{/number}","milestones_url":"https://api.github.com/repos/WICG/webpackage/milestones{/number}","notifications_url":"https://api.github.com/repos/WICG/webpackage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WICG/webpackage/labels{/name}","releases_url":"https://api.github.com/repos/WICG/webpackage/releases{/id}","deployments_url":"https://api.github.com/repos/WICG/webpackage/deployments","created_at":"2016-10-20T01:15:38Z","updated_at":"2018-08-20T07:21:24Z","pushed_at":"2018-08-20T07:25:41Z","git_url":"git://github.com/WICG/webpackage.git","ssh_url":"git@github.com:WICG/webpackage.git","clone_url":"https://github.com/WICG/webpackage.git","svn_url":"https://github.com/WICG/webpackage","homepage":null,"size":5532,"stargazers_count":444,"watchers_count":444,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":25,"open_issues":48,"watchers":444,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WICG/webpackage/pulls/288"},"html":{"href":"https://github.com/WICG/webpackage/pull/288"},"issue":{"href":"https://api.github.com/repos/WICG/webpackage/issues/288"},"comments":{"href":"https://api.github.com/repos/WICG/webpackage/issues/288/comments"},"review_comments":{"href":"https://api.github.com/repos/WICG/webpackage/pulls/288/comments"},"review_comment":{"href":"https://api.github.com/repos/WICG/webpackage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WICG/webpackage/pulls/288/commits"},"statuses":{"href":"https://api.github.com/repos/WICG/webpackage/statuses/99fa76f42e04d3f4c0cc2d933f9f7d5ead2428ce"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"nyaxt"}}