Loading TOC...

xdmp.getRequestHeader

xdmp.getRequestHeader(
   $name as String,
   [$default as String?]
) as ValueIterator

Summary

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.

Example

xdmp.getRequestHeader("A");
=> "foo"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy