Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration options to allow empty headers #2539

Open
getaceres opened this issue Sep 2, 2024 · 1 comment
Open

Add configuration options to allow empty headers #2539

getaceres opened this issue Sep 2, 2024 · 1 comment
Labels
feedback provided Feedback has been provided to the author proposal Proposed Specification or API change

Comments

@getaceres
Copy link

Hello, I'm trying to implement a client for a Web Service using Feign. The problem with web services is that they always require sending a SOAPAction even if that header is empty. Right now, the Feign template removes empty headers as per documentation:

`
Request Headers Expansion
Headers and HeaderMap templates follow the same rules as Request Parameter Expansion with the following alterations:

Unresolved expressions are omitted. If the result is an empty header value, the entire header is removed.
`

This makes impossible to call this kind of web services using Feign.

It would be nice to have a configuration option in the Feign builder to enable sending empty headers if present.

@kdavisk6
Copy link
Member

Do you have a proposal in mind?

@kdavisk6 kdavisk6 added proposal Proposed Specification or API change feedback provided Feedback has been provided to the author labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback provided Feedback has been provided to the author proposal Proposed Specification or API change
Projects
None yet
Development

No branches or pull requests

2 participants