Internet Direct (Indy) Version 9.0.1 Beta
|
procedure WriteContent;
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.