Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use the HTTP properties tab to define a HTTP header for a HTTP collector or HTTP exporter.

...

Insert excerpt
_standard_settings
_standard_settings
nopaneltrue

Basic Settings

FieldDescription
Name

Enter the name of the HTTP header Item. You must not include a colon after the name. For example:

Code Block
Content-Type


Value

Enter the value of the HTTP header Item. For example:

Code Block
text/xml; charset=UTF-8

You can also refer to a specific attribute on a lookup pipe that connects to a HTTP collector or HTTP exporter. Include the string {pipe_name.attribute_name}, where:

  • pipe_name is the name of the pipe
  • attribute_name is the name of the attribute.

This is useful if the value you need changes. For example, a character set is defined in the attribute "lang". The actual character set varies depending on the language used on in the source HTTP. To read the character set from the pipe "in", specify:

Code Block
text/xml; charset={in.lang}



Certain headers may not be set in this way and will be ignored if added to the list. Ignored headers include Access-Control-Request-Headers, Access-Control-Request-Method, Content-Length, Content-Transfer-Encoding, Host, Keep-Alive, Origin, Trailer, Transfer-Encoding, Upgrade, Via, or any header starting with sec-.

Some headers will be automatically added if not specified. This these are Content-length, Host, User-agent, Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2, Connection: keep-alive, Pragma: no-cache, Cache-Control: no-cache.