The new code path for Expect : 100-continue requests causes the X-Forwarded-Host header to be overwritten to the value of the Host header.
This commit will also copy the X-Forwarded-Host from the incoming to the outgoing request to align the behaviour with non-expect-100-continue requests.
Summary
The new code path for
Expect : 100-continue
requests causes the X-Forwarded-Host header to be overwritten to the value of the Host header.This commit will also copy the X-Forwarded-Host from the incoming to the outgoing request to align the behaviour with non-expect-100-continue requests.
Resolves: cloudfoundry/routing-release#420
Backward Compatibility
Breaking Change? No