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

Proper Media Types parser #3498

Open
develop7 opened this issue May 9, 2024 · 0 comments
Open

Proper Media Types parser #3498

develop7 opened this issue May 9, 2024 · 0 comments
Labels
hygiene cleanup or refactoring

Comments

@develop7
Copy link
Collaborator

develop7 commented May 9, 2024

Description of issue

Current parser breaks on media types like application/vnd.pgrst.plan;wat="application/json;text/csv" producing nonsense like ("application","vnd.pgrst.plan",[("wat","application/json"),("text/csv\"","")]) and doesn't handle escaped quotes well too.

We do use parsec in QueryParams BTW, so it's an obvious candidate to use here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hygiene cleanup or refactoring
Development

No branches or pull requests

2 participants