Describe the bug I am trying to send a custom host header using feign client, but the consumer application is not picking what i send.

Apart from Host, everyother header seems to be working as expected.

FeignClient: @GetMapping(value = "${url}") ResponseEntity list(@PathVariable("name") String name, @RequestParam("id") String id, @RequestParam("modelName") String modelName, @RequestHeader(value = "Authorization", required = true) String authorizationHeader, @RequestHeader(value = "Host", required = true) String hostName);

After Enabling logs in caller application i can see feign is sending the host as intended

Host: customheader.com

But in my consumer app, the value of Host header is picked form DNS name ( Default behaviour).

Comment From: OlgaMaciaszek

Hello, @Viyaan, please provide a minimal, complete, verifiable example that reproduces the issue.

Comment From: spring-cloud-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.