Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp:add-response-trailer

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

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:add-response-trailer("key","value")

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