Skip to content

UI.modern.form._formName_.headers._key_

Specify custom headers for a form file.

Type: String

Can be set in: profile.cfg, collection.cfg

Details

This option can be used to specify custom HTTP headers for a given form file when using the modern UI. When set, Funnelback will send custom HTTP headers in addition to the standard one.

The parameter name must contain the name of the form file for which it applies, and must be suffixed by a string make the key unique: ui.modern.form.[form name].headers.[string].

The parameter value should be a HTTP header string such as Header-Name: value. The colon is used as a separator between the header name, and the value.

A similar parameter is available for cache templates: ui.modern.cache.form.[cache form name].headers.[string]=...

Default value

There is no default value because the parameter name must contain the name of the form for which it applies.

Examples

If you want to set a Content-Disposition header as well as a custom X-Powered-By header on a form file named csv-export.ftl:

ui.modern.form.csv-export.headers.1=Content-Disposition: attachment; filename=export.csv
ui.modern.form.csv-export.headers.2=X-Powered-By: Funnelback enterprise search

See also

top

Funnelback logo
v15.14.0