An earlier JIRA:
CAMEL-12855 created an issue where the forwarded header could be used to set the "host" for Swagger. This overwrote the old behavior where one could specify a "hard-code" host in the RestConfiguration.
Add an option to control whether these x-forward headers should be applied or not, to have the old behavior vs the new. (e.g. useXForwardHeaders = true/false)
firstname.lastname@example.org, a couple of questions:
- would the default be the new behavior (using the headers), or the old behavior (do not use the headers) ?
- should the parameter turn on/off the entire X-FORWARD section... that is in the setupXForwardedHeaders() here ?