MarkLogic 10 Product Documentation
xdmp.addResponseTrailer

xdmp.addResponseTrailer(
   name as String,
   value as String
) as null

Summary

Adds a HTTP Trailer when HTTP chunked transfer is enabled.

Parameters
name The key of the trailer.
value The value of the trailer.

Required Privileges

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

Example

xdmp.addResponseTrailer("key","value");
Powered by MarkLogic Server | Terms of Use | Privacy Policy