Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

Http11TrailerBlock

function Http11TrailerBlock(const aFields: tHttpHeaders): TBytes;
The bytes that end a chunked HTTP/1.1 body: the zero-size chunk line, each field of aFields in order as "name: value", and the closing empty line, each ended by CRLF. aFields is validated as by HttpCopyOutgoingTrailers; nil or empty gives the plain end of body. Raises eHttpArgumentError when the block would exceed cHttpOutgoingTrailerWireBytes.