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.
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 thanSet-Cookie
). It seems due to #576. The behavior ofHTTP::Headers#each
changes to yield the original field name, butHTTP::Response#cookies
iterates over header fields by callingHTTP::Headers#each
and only finds fields with name exactly equal toSet-Cookie
.