Loading TOC...

MarkLogic 12 Product Documentation
xdmp:set-response-chunked-encoding

xdmp:set-response-chunked-encoding(
   $chumked as xs:boolean
) as empty-sequence()

Summary

Enabble/disables chunked encoding

In an isolated evaluation context (see xdmp:is-isolated), this function is not available and throws XDMP-ISOLATED.

Parameters
chumked true to enable chunked transfer, false otherwise

Required Privileges

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

Example

xdmp:set-response-chunked-encoding(fn:true())

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