import { parseCookieHeader } from "https://deno.land/x/request_cookie_store@v0.6.0-pre.3/set-cookie.ts";
A not-so-strict parser for cookie headers.
- Allows pretty much everything in the value, including
=
- Trims keys and values
- Ignores when both name and value are empty (but either empty allowed)
For more on the state of allowed cookie characters, see https://stackoverflow.com/a/1969339/870615.