Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPResponseInfo.WriteContent
Generates the HTTP response content.

procedure WriteContent;
Description
WriteContent is a procedure used to generate the content for the HTTP response.

WriteContent generates the content using either ContentText, or ContentStream when assigned, for ResponseNo values in the range 200 - 499 inclusive. If ResponseNo is not in this range, only the ResponseNo and ResponseText is included in the content of the HTTP response.

WriteContent uses Connection to transfer the content of the HTTP response to the HTTP client.

Use WriteHeader to generate header values prior to calling WriteContent.