postgrest
postgrest copied to clipboard
Proper Media Types parser
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.