Skip to content

cookie manipulation issues #511

@facundoolano

Description

@facundoolano

I have a situation where I want to extract the cookies from a response, parse them, and then use them as input to a separate response. Trying to use hackney_cookie:parse_cookie and hackney_cookie:setcookie resulted in some inconsistencies:

  • parse_cookie parses all parameters while setcookie only accepts a subset of options and drops the rest
  • parse_cookie returns binary keys while setcookie expects atoms
  • parse_cookie returns Max-Age as a string, while setcookie expects an integer

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions