Loading TOC...

xdmp.addResponseHeader

xdmp.addResponseHeader(
   $name as String,
   $value as String
) as null

Summary

Adds an HTTP response header field.

Parameters
$name The response header name.
$value The value to set for this response header.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-add-response-header

Example

xdmp.addResponseHeader("meta", "description");

Comments

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