xdmp.getRequestHeader( name as String, [default as String?] ) as Sequence
Returns the value of a named request header.
Parameters | |
---|---|
name | Request header name. |
default | A default value to return if there is no request header. |
xdmp.getRequestHeader("A"); => "foo"