Skip to content

Refactor extract HTTP::Cookies to its own file#15500

Merged
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:refactor/cookies-file
Feb 22, 2025
Merged

Refactor extract HTTP::Cookies to its own file#15500
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:refactor/cookies-file

Conversation

@straight-shoota
Copy link
Member

HTTP::Cookies is a separate concern from HTTP::Cookie and should have its own file space.

Cookie::Parser could also be extracted, but it's more closely related and there are plans for a bigger overhaul/refactor in #15218.

@straight-shoota straight-shoota added this to the 1.16.0 milestone Feb 21, 2025
@straight-shoota straight-shoota merged commit e8ca60d into crystal-lang:master Feb 22, 2025
32 checks passed
@straight-shoota straight-shoota changed the title Refactor move HTTP::Cookies to its own file Refactor extract HTTP::Cookies to its own file Feb 22, 2025
@straight-shoota straight-shoota deleted the refactor/cookies-file branch February 22, 2025 13:40
kojix2 pushed a commit to kojix2/crystal that referenced this pull request Feb 23, 2025
`HTTP::Cookies` is a separate concern from `HTTP::Cookie` and should have its own file space.

`Cookie::Parser` could also be extracted, but it's more closely related and there are plans for a bigger overhaul/refactor in crystal-lang#15218.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants