HTTP Headers

HTTP Headers can be accessed using the getRequestHeader function. For multivalue headers use the getRequestHeaders(header_name) function which returns a list of values for the given header.

Certain standard and commonly-used HTTP headers such as Content-Type or Encoding have dedicated convenience CTL functions: getRequestEncoding or getRequestContentType.

For the full list of CTL functions providing access to HTTP request, see CTL function reference.