mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for OPTIONS request against /db, closes #1100
This commit is contained in:
parent
daae35be46
commit
a45a3dff3e
3 changed files with 30 additions and 1 deletions
|
|
@ -1961,3 +1961,9 @@ async def test_generated_columns_are_visible_in_datasette(app_client):
|
|||
"string": "This is a string",
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
def test_http_options_request(app_client):
|
||||
response = app_client.request("/fixtures", method="OPTIONS")
|
||||
assert response.status == 200
|
||||
assert response.text == "ok"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue