MarkLogic 12 Product Documentation
xdmp:get-request-header-names

xdmp:get-request-header-names() as xs:string*

Summary

Returns a sequence of request header names.

In an isolated evaluation context (see xdmp:is-isolated), 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:get-request-header-names()
=> ("A", "B", ...)
Powered by MarkLogic Server | Terms of Use | Privacy Policy