xdmp.addResponseHeader( name as String, value as String ) as null
Adds an HTTP response header field.
Parameters | |
---|---|
name | The response header name. |
value | The value to set for this response header. |
http://marklogic.com/xdmp/privileges/xdmp-add-response-header
xdmp.addResponseHeader("meta", "description");