Variable CSPResponse::ContentType
Description:
Contains the type of the data that is sent to the client. This string must be in the form of "*/*".
 |
Prototype
CSPString ContentType;
Remarks:
The default value is "text/html".
You should use this varible before any data is sent to the client.
Examples:
Response.ContentType = "text/plain";
Response.Write( "HELLO!" );
or
CSPBuffer GifDataBuffer;
//...
Response.ContentType( "image/gif" );
Response.BinaryWrite( GifDataBuffer );
|
|