TTMSMCPHTTPServerResponse.Headers Property
The headers to send with the answer.
API unit family: TMS.MCP.HTTPServer
Declaring type: TTMSMCPHTTPServerResponse
Type: TTMSMCPHTTPServerHeaders
Syntax
property Headers: TTMSMCPHTTPServerHeaders;
Remarks
Add or set them before the headers go out; anything set afterwards is ignored, since headers cannot be recalled. Although the property can be written, doing so replaces the collection without freeing the one already there; change the contents through the collection instead of replacing it.