mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
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/open-webui/open-webui/pull/23857
Author: @bobo-xxx
Created: 4/17/2026
Status: ❌ Closed
Base:
main← Head:clawoss/fix/openai-strip-hop-by-hop-headers-complete📝 Commits (1)
aeeb209Filter hop-by-hop headers in ALL SSE proxy paths (openai.py)📊 Changes
1 file changed (+16 additions, -4 deletions)
View changed files
📝
backend/open_webui/routers/openai.py(+16 -4)📄 Description
Summary
Extends the fix from PR #23856 to all streaming response paths in that forward upstream headers to the client. The original PR only addressed , but , , and can also trigger when hop-by-hop headers like , , , and are forwarded through a different HTTP stack.
Changes
Testing
The fix follows the same pattern as the existing fix in which correctly strips these headers. All four code paths now use the same filtering approach before passing headers to .
Fixes
Fixes open-webui#23856
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.