Loading TOC...

MarkLogic 12 Product Documentation
xdmp.getRequestHeaderNames

xdmp.getRequestHeaderNames() as Sequence

Summary

Returns a sequence of request header names.

In an isolated evaluation context (see xdmp.isIsolated), this function is not available and throws XDMP-ISOLATED.

Required Privileges

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.

Example

xdmp.getRequestHeaderNames();
=> ["A", "B", ...]

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.