mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
[PR #320] [MERGED] Split up HTTP sending logic #242
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/320
Author: @gschier
Created: 12/12/2025
Status: ✅ Merged
Merged: 12/20/2025
Merged by: @gschier
Base:
main← Head:sendable-http-request📝 Commits (10+)
e277ab1Start working on SendableHttpRequest and convertion to that typee43a1e6Support graphql bodyf9e3eb0Support multipart and text bodies3c9b3a9Fix importse695b57Build URLf55d056Enhance body and headers handling inSendableHttpRequest, adding content-type management and multipart support adjustments.c6f6534Refactorhttp_requestto utilizeSendableHttpRequest, simplifying URL, headers, and body handling.f329d04Add defaultUser-AgentandAcceptheaders if missing in HTTP requests822464eAdd boundary extraction from existing headerc577537Get ready for streaming bodies📊 Changes
41 files changed (+2699 additions, -723 deletions)
View changed files
📝
.gitignore(+1 -0)📝
src-tauri/Cargo.lock(+40 -4)📝
src-tauri/Cargo.toml(+1 -0)📝
src-tauri/src/error.rs(+1 -1)📝
src-tauri/src/http_request.rs(+271 -594)📝
src-tauri/src/render.rs(+1 -1)📝
src-tauri/yaak-common/Cargo.toml(+1 -0)📝
src-tauri/yaak-common/src/lib.rs(+1 -0)➕
src-tauri/yaak-common/src/serde.rs(+23 -0)📝
src-tauri/yaak-http/Cargo.toml(+13 -2)➕
src-tauri/yaak-http/src/chained_reader.rs(+78 -0)📝
src-tauri/yaak-http/src/client.rs(+6 -19)➕
src-tauri/yaak-http/src/decompress.rs(+188 -0)📝
src-tauri/yaak-http/src/error.rs(+15 -0)📝
src-tauri/yaak-http/src/lib.rs(+6 -0)📝
src-tauri/yaak-http/src/path_placeholders.rs(+3 -3)➕
src-tauri/yaak-http/src/proto.rs(+29 -0)➕
src-tauri/yaak-http/src/sender.rs(+409 -0)➕
src-tauri/yaak-http/src/transaction.rs(+385 -0)➕
src-tauri/yaak-http/src/types.rs(+975 -0)...and 21 more files
📄 Description
This is part 1 of https://feedback.yaak.app/p/view-entire-request-response-flow
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.