xdmp.addResponseTrailer( name as String, value as String ) as null
Adds a HTTP Trailer when HTTP chunked transfer is enabled.
Parameters | |
---|---|
name | The key of the trailer. |
value | The value of the trailer. |
http://marklogic.com/xdmp/privileges/xdmp-add-response-header
xdmp.addResponseTrailer("key","value");
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.