Skip to main content

forwarded_headers

Function forwarded_headers 

Source
fn forwarded_headers(ctx: &Context, target: &Target) -> Vec<(String, String)>
Expand description

Forwards the request’s headers to the upstream, overriding Host with the selected target. Shared by both execute branches via UpstreamPlugin::outbound_request.