{"html_url": "https://github.com/simonw/datasette/issues/1620#issuecomment-1028393259", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1620", "id": 1028393259, "node_id": "IC_kwDOBm6k_c49TAkr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-02-02T21:53:02Z", "updated_at": "2022-02-02T21:53:02Z", "author_association": "OWNER", "body": "I ran the following on https://www.google.com/ in the console to demonstrate that these work as intended:\r\n\r\n```javascript\r\n[\r\n \"https://latest.datasette.io/fixtures\",\r\n \"https://latest.datasette.io/fixtures?sql=select+1\",\r\n \"https://latest.datasette.io/fixtures/facetable\"\r\n].forEach(async (url) => {\r\n response = await fetch(url, {method: \"HEAD\"});\r\n console.log(response.headers.get(\"Link\"));\r\n});\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1121618041, "label": "Link: rel=\"alternate\" to JSON for queries too"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1620#issuecomment-1028385067", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1620", "id": 1028385067, "node_id": "IC_kwDOBm6k_c49S-kr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-02-02T21:42:23Z", "updated_at": "2022-02-02T21:42:23Z", "author_association": "OWNER", "body": "```\r\n% curl -s -I 'https://latest.datasette.io/' | grep link\r\nlink: https://latest.datasette.io/.json; rel=\"alternate\"; type=\"application/json+datasette\"\r\n% curl -s -I 'https://latest.datasette.io/fixtures' | grep link\r\nlink: https://latest.datasette.io/fixtures.json; rel=\"alternate\"; type=\"application/json+datasette\"\r\n% curl -s -I 'https://latest.datasette.io/fixtures?sql=select+1' | grep link\r\nlink: https://latest.datasette.io/fixtures.json?sql=select+1; rel=\"alternate\"; type=\"application/json+datasette\"\r\n% curl -s -I 'https://latest.datasette.io/-/plugins' | grep link \r\nlink: https://latest.datasette.io/-/plugins.json; rel=\"alternate\"; type=\"application/json+datasette\"\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1121618041, "label": "Link: rel=\"alternate\" to JSON for queries too"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1620#issuecomment-1028374330", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1620", "id": 1028374330, "node_id": "IC_kwDOBm6k_c49S786", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-02-02T21:28:16Z", "updated_at": "2022-02-02T21:28:16Z", "author_association": "OWNER", "body": "I just realized I can refactor this to make it much simpler.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1121618041, "label": "Link: rel=\"alternate\" to JSON for queries too"}, "performed_via_github_app": null}