
xdmp.getRequestHeaderNames() as Sequence
Returns a sequence of request header names.
In an isolated evaluation context (see xdmp.isIsolated), this function is not available and throws XDMP-ISOLATED.
The Authorization and Proxy-Authorization header names
are only returned if the caller has the execute privilege
http://marklogic.com/xdmp/privileges/xdmp-get-request-header-sensitive.
All other header names are returned without any privilege requirement.
xdmp.getRequestHeaderNames(); => ["A", "B", ...]
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.