Icon SendContentStream Method

procedure SendContentStream(const ContentStream: TStream;
      StatusCode: Integer=HTTP_OK; const StatusMessage: String='')

Sends a UTF-8-encoded text stream response with a Content-Type header of "text/html; charset=utf-8" along with an optional status code and message.
Image