parse_cookies

Parses Cookie headers into objects.

  • jar: Value of the Cookie header
  • decoder: Function to run on all cookie names and values. This is to get around character limitations (see RFC 6265). There is no formal standard, but as most sites prefer URL encoding, it is the default. x => x can be used as a way to disable decoding.

Migrated from folder: loginable_demo/parse_cookies