Closed joelholzerxovis closed 5 months ago
Can you please create the same PR for the main
branch?
Can you please create the same PR for the
main
branch?
Hi @tsegismont
I have created a PR for the main branch -> https://github.com/eclipse-vertx/vertx-http-proxy/pull/82
Thank you for reviewing it.
Resolves #77
Motivation: I encountered an edge case which is not handled properly. The method sendRequest in the class ProxiedRequest ignores on line 173 the "host" header. In our application, I encountered the issue, that the "Host" header is starting with an Uppercase letter. Therefore it is added to the request on line 174, but it shouldn't.
This fix ignores the host header regardless it's casing.