net.http: remove read_set_cookies
function
#20187
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖[deprecated] Generated by Copilot at 70d10d2
Removed
read_set_cookies
function and updated tests for cookie parsing. The changes improve the performance and correctness of thevlib/net/http/cookie.v
module and align it with RFC 6265.🤖[deprecated] Generated by Copilot at 70d10d2
read_set_cookies
function fromcookie.v
as it is redundant withparse_set_cookie
(link)cookie_test.v
to useparse_set_cookie
instead ofread_set_cookies
(link)read_set_cookies
fromcookie_test.v
and replace it with a new test function forparse_set_cookie
(link)This PR removes the
read_set_cookies
function because it is misleading and not used anywhere else