We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba4eee commit eccb136Copy full SHA for eccb136
runtimes/core/src/api/gateway/mod.rs
@@ -311,9 +311,6 @@ impl ProxyHttp for Gateway {
311
312
upstream_request.set_uri(new_uri);
313
314
- // Do we need to set the host header here?
315
- // It means the upstream service won't be able to tell
316
- // what the original Host header was, which is sometimes useful.
317
if let Some(ref host) = gateway_ctx.upstream_host {
318
upstream_request.insert_header(header::HOST, host)?;
319
}
0 commit comments