ui.modern.form.[formName].remove-headers
Background
This option can be used to remove HTTP headers for a specific template.
The parameter name must contain the name of the template for which it applies: ui.modern.form.TEMPLATE_NAME.remove-headers
.
The headers are specified as a comma separated list (white space will be removed for the header names.
Setting the key
Set this configuration key in the results page (preferred) or search package configuration.
Use the configuration key editor to add or edit the ui.modern.form.[formName].remove-headers
key, and set the value. This can be set to any valid List<String>
value.
Examples
If you have a custom template named foo.ftl
and you wish to remove the header X-BAR
and X-FOO
ui.modern.form.foo.remove-headers=X-BAR,X-FOO