Details
Description
If you have a platform-http-vertx endpoint defined like:
from("platform-http:/hello") .setBody().constant("Hello World");
Then make a cURL request like this where 'header-b' has an empty value:
curl -v -H "header-a: value-a" -H "header-b;" localhost:8080/hello
The response headers usually echo back any custom headers. But in this case 'header-b' is not present as it gets mistakenly filtered out.
Accept: */* header-a: value-b User-Agent: curl/7.81.0
Some apps require such headers to be returned in the HTTP response, so we should support this.
Attachments
Issue Links
- links to