postgrest icon indicating copy to clipboard operation
postgrest copied to clipboard

Proper Media Types parser

Open develop7 opened this issue 1 year ago • 0 comments

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.

develop7 avatar May 09 '24 09:05 develop7