Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/pipeline-manager/src/runner/interaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,10 +612,12 @@ pub(crate) async fn streaming_proxy(
// compression causes gzip frame buffering that blocks streaming clients (see the
// `Content-Encoding: identity` override below). `.no_decompress()` above suppresses
// awc's own `Accept-Encoding` header; here we also strip the client's.
// `authorization` has already been handled by the API server, and is thus not needed
// to be forwarded to the pipeline itself.
for header in request
.headers()
.into_iter()
.filter(|(h, _)| *h != "connection" && *h != "accept-encoding")
.filter(|(h, _)| *h != "connection" && *h != "accept-encoding" && *h != "authorization")
{
new_request = new_request.append_header(header);
}
Expand Down
Loading