Dear All,

We are using the documents management /v1/documents REST endpoint to
retrieve documents in multipart/mixed content type. It works as expected
with a retrieval of smaller documents and returns headers with a response
like so:
HTTP/1.1 200 OK
vnd.marklogic.document-format: binary
Content-type: multipart/mixed; boundary=ML_BOUNDARY_11510717316849072801
ML-Effective-Timestamp: 15003098405343020
Content-Length: 15684
Server: MarkLogic
Connection: Keep-Alive
Keep-Alive: timeout=500

However, on a retrieval of bigger size documents Content-Length &
Keep-Alive headers are ommited, Connection header is set to "Close" like so:
HTTP/1.1 200 OK
vnd.marklogic.document-format: binary
Content-type: multipart/mixed; boundary=ML_BOUNDARY_4647702192025548700
ML-Effective-Timestamp: 15003103202328660
Server: MarkLogic
Connection: close

I obviously done the homework and found somewhat helpful KB article here:
https://help.marklogic.com/knowledgebase/article/View/465/0/content-length-keepalive-and-connection-close,
mentioning that this is situational depending on the response size.
However, it does not necessarilly tell me if there is any way to override
the 1MB threshold.

Is there any way to override this threshold as I fail to find one on admin
interface or use a clever request headers to raise it?

We are on v8.0-6.3 but I can also reproduce this on v9.0-1.1 MarkLogic

Kind reagards,
Arunas Vaitkus
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to