Skip to content

Cookies extraction is not working properly in 5.x #693

@flosacca

Description

@flosacca

In 5.0.2, HTTP::Response#cookies does not return cookies set by Set-Cookie header fields in a non-canonical form (e.g. set-cookie rather than Set-Cookie). It seems due to #576. The behavior of HTTP::Headers#each changes to yield the original field name, but HTTP::Response#cookies iterates over header fields by calling HTTP::Headers#each and only finds fields with name exactly equal to Set-Cookie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions