mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-14 15:53:24 +01:00
[PR #328] [MERGED] Fix cookies not being persisted after HTTP requests #250
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/328
Author: @gschier
Created: 12/22/2025
Status: ✅ Merged
Merged: 12/22/2025
Merged by: @gschier
Base:
main← Head:claude/debug-yaak-cookies-IGMdj📝 Commits (1)
31eb74cFix cookies not being persisted after HTTP requests📊 Changes
1 file changed (+26 additions, -3 deletions)
View changed files
📝
src-tauri/src/http_request.rs(+26 -3)📄 Description
Cookies received from Set-Cookie headers were stored in the in-memory
CookieStore but never saved back to the database. Each subsequent request
would reload cookies from the database, losing any cookies received from
previous responses.
This fix extracts cookies from the in-memory store after each request
completes and persists them back to the cookie jar in the database.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.