mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #834] [MERGED] Decode brotli provider JSON responses #4796
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4796
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/Pasta-Devs/Marinara-Engine/pull/834
Author: @Xelvanis
Created: 5/14/2026
Status: ✅ Merged
Merged: 5/14/2026
Merged by: @Xelvanis
Base:
main← Head:fix/provider-brotli-response-decoding📝 Commits (1)
06c6029fix(provider): decode brotli provider JSON responses📊 Changes
3 files changed (+59 additions, -6 deletions)
View changed files
📝
packages/server/src/utils/security.ts(+15 -2)📝
packages/server/test/openai-provider-reasoning.test.ts(+41 -1)📝
packages/server/test/security-utils.test.ts(+3 -3)📄 Description
Linked issue
Follow-up to #825. No new GitHub issue exists yet for the Venice-specific follow-up report.
Why this change
chatComplete()response during conversation summary generation.What changed
Accept-Encodingtoidentity, while still preserving any explicit caller-provided encoding header.chatComplete()receiving raw brotli JSON.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/server exec tsx --import ./test/setup-env.ts --test test/security-utils.test.ts test/openai-provider-reasoning.test.ts; passed.pnpm check; passed.Docs and release impact
No docs or release metadata changes expected; this is a narrow server/provider response decoding follow-up.
UI evidence (if applicable)
N/A. Server/provider response decoding only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.