I need to connect to sa server that is not an HTTP server with webclient. I keep getting error 411 length required. So im giving it to them. But the server has an error where it only accepts upperCase headers. WebClient automatically converts headers to lowercase, this is causing errors. How can i stop it from converting to lowercase?
I have tried using MessageToMessageEncoder based on this But the encode method is never called.