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

Add option to get CSV headers #149

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mccahan
Copy link
Contributor

@mccahan mccahan commented Mar 3, 2025

Playing around with some widget stuff, the CSV endpoints are very convenient but it's helpful to be able to get them with headers. I put it in as a query string and made sure it won't affect any existing URL calls. I switched the order around starting on line ~386 because otherwise self.path.startswith('/csv') would match /csv/v2 as well

http://localhost:8675/csv/v2?headers
http://localhost:8675/csv?headers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant