Correct syntax for link headers, closes #2470

This commit is contained in:
Simon Willison 2025-03-09 20:05:43 -05:00
commit 333f786cb0
6 changed files with 7 additions and 7 deletions

View file

@ -433,7 +433,7 @@ def test_canned_write_custom_template(canned_write_client):
)
assert (
response.headers["link"]
== 'http://localhost/data/update_name.json; rel="alternate"; type="application/json+datasette"'
== '<http://localhost/data/update_name.json>; rel="alternate"; type="application/json+datasette"'
)