-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
How should datasette.client interact with base_url #1026
Comments
I'm inclined to say that internal requests should ignore The one catch here is plugins that might want to proxy the current incoming URL for some reason - where that incoming Actually those should be fine - because it will have been stripped off earlier: Lines 963 to 968 in 4f7c0eb
|
We have a solution for this now: |
Reconsidering this: I think the The clincher on this is when I went to add a section to the But there's a problem: to handle table name escaping users are likely to want to use
This risks adding the |
That Maybe |
#1041 can also benefit from the string subclass that shows that |
Refs #1023. If Datasette is running with a
base_url
setting and a plugin calls e.g.datasette.client.get("/-/plugins.json")
what should happen?The text was updated successfully, but these errors were encountered: