mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 11:50:31 +01:00
[PR #334] Implement custom cookie handling in HTTP transaction layer #256
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/334
Author: @gschier
Created: 12/29/2025
Status: 🔄 Open
Base:
main← Head:claude/custom-cookie-handling-MPpml📝 Commits (7)
2446367Implement custom cookie handling in HTTP transaction layer1f9a69eFix formatting issues93f81a8Update Cargo.lock and fix formatting in parser.rsee19934Treat NotPresent/Empty cookie domains as non-matching for safetyc78746dFix type error: use unwrap_or_else for String43da10cReject cookies with single-component domains (TLDs)3b78660Remove unused get_cookies_for_url method📊 Changes
11 files changed (+792 additions, -159 deletions)
View changed files
📝
src-tauri/Cargo.lock(+3 -67)📝
src-tauri/Cargo.toml(+1 -3)📝
src-tauri/src/http_request.rs(+25 -44)📝
src-tauri/yaak-http/Cargo.toml(+3 -2)📝
src-tauri/yaak-http/src/client.rs(+0 -8)➕
src-tauri/yaak-http/src/cookies.rs(+484 -0)📝
src-tauri/yaak-http/src/lib.rs(+1 -0)📝
src-tauri/yaak-http/src/transaction.rs(+265 -3)📝
src-tauri/yaak-templates/src/parser.rs(+1 -3)📝
src-tauri/yaak-ws/Cargo.toml(+1 -1)📝
src-tauri/yaak-ws/src/commands.rs(+8 -28)📄 Description
Remove dependency on reqwest for cookie handling by implementing custom
cookie store and management in the yaak-http crate:
cookies based on RFC 6265 domain/path rules
parse Set-Cookie headers from responses
reqwest_cookie_store
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.