Table of Contents

THttpServerResponse.ContentLength Property

Gets or sets the response body length via the content-length header.

Remarks

Setting a negative value removes the header. Has no effect once the headers have been sent.

Syntax

Unit: Sparkle.HttpServer.Response

property THttpServerResponse.ContentLength: Int64

See also