Loading TOC...

MarkLogic 10 Product Documentation
xdmp:add-response-header

xdmp:add-response-header(
   $name as xs:string,
   $value as xs:string
) as empty-sequence()

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:add-response-header("meta", "description")

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