Discuss this help topic in SecureBlackbox Forum

HTTPS: Use chunked mode for response data

If you serve the HTTP 1.1 request, and you don't know the size of the response data beforehand, you can use chunked encoding of the response data. First you need to check if the client has indicated that it supports chunked encoding (you can inspect TElHTTPServerRequestParams.AcceptChunked property to find this out).

To enabled chunked encoding, set TElHTTPServerResponseParams.UseChunkedTransfer property to 'true'. In this case you must not set TElHTTPServerResponseParams.ContentLength property, as these two properties are mutually exclusive according to the standard.

Chunked encoding is not supported in HTTP 1.0.

How To articles about server-side HTTPS questions

Discuss this help topic in SecureBlackbox Forum