Skip to main content

Name

msys.policyeditor.get_header — Return the value of a header field

Synopsis

msys.policyeditor.get_header(ctx, vars, params);

ctx: table
vars: table
params: table

**Configuration Change. ** This function is deprecated. Use local x = msg:header("X-Custom-Hdr") to get a header. For more information see msg:header.

Description

Return the value of a header field.

The ctx parameter is the context containing objects from the callout, vars is a table containing script variables and params is a table containing parameters to be passed to this routine.

Defined parameters for params are:

  • header the name of the header to retrieve

See Also

Was this page helpful?