Open
Description
I'm pretty sure I have this right, but LMK if I'm wrong. Using my own Middleware to provide ProcessRequest
it's too easy to override which host the RoundTripper will Dial thereby overriding which host I expect the Endpoint to specify.
request.Request.GetHttpRequest().URL
is a pointer, so any edits to URL.Host
are carry all the way through to the RoundTrip. Perhaps a quick override above this line to guarantee the Location dials the correct upstream host?
Metadata
Metadata
Assignees
Labels
No labels