HTTP Header

PhixFlow Help

HTTP Header

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

This property tab is not available from the repository. It opens from:

  • the HTTP Collector properties

  • the HTTP Exporter properties.

Basic Settings

Field

Description

Name

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

Content-Type

Value

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

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:

text/xml; charset={in.lang}

HTTP Header Exceptions

Depending on your system's API, some headers may either be ignored or added.

The following headers may be ignored if you create a HTTP Header for them.

  • Access-Control-Request-Headers

  • Access-Control-Request-Method

  • Content-Length

  • Content-Transfer-Encoding

  • Host

  • Keep-Alive

  • Origin

  • Trailer

  • Transfer-Encoding

  • Upgrade

  • Via

  • any header starting with sec-.

Some headers will be automatically added if you do not create a HTTP Header for them:

  • 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