Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV ?sql= should indicate errors #2129

Open
simonw opened this issue Aug 7, 2023 · 1 comment
Open

CSV ?sql= should indicate errors #2129

simonw opened this issue Aug 7, 2023 · 1 comment
Labels
csv maybe-not-1.0 Things that might not need to block 1.0 after all plugins
Milestone

Comments

@simonw
Copy link
Owner

simonw commented Aug 7, 2023

https://latest.datasette.io/_memory.csv?sql=select+blah is a blank page right now:

curl -I 'https://latest.datasette.io/_memory.csv?sql=select+blah'
HTTP/2 200 
access-control-allow-origin: *
access-control-allow-headers: Authorization, Content-Type
access-control-expose-headers: Link
access-control-allow-methods: GET, POST, HEAD, OPTIONS
access-control-max-age: 3600
content-type: text/plain; charset=utf-8
x-databases: _memory, _internal, fixtures, fixtures2, extra_database, ephemeral
date: Mon, 07 Aug 2023 23:12:15 GMT
server: Google Frontend

Originally posted by @simonw in #2118 (comment)

@simonw
Copy link
Owner Author

simonw commented Aug 7, 2023

This may end up being a renderer plugin hook design question too.

@simonw simonw added the maybe-not-1.0 Things that might not need to block 1.0 after all label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
csv maybe-not-1.0 Things that might not need to block 1.0 after all plugins
Projects
None yet
Development

No branches or pull requests

1 participant