Used to indicate the content type of the specified response object.
Syntax
contentType( response )
response.contentType( )
Parameters
response
|
the response object to use.
|
Returns
Notes
This method is only accessible by ss and by iScript Servlet.
Example
if isNull( Response( ).contentType( ) ) then
Response( ).contentType( "text/plain" )
end
Syntax
contentType( response , string )
response.contentType( string )
Parameters
response
|
the response object to use.
|
string
|
the content type.
|
Returns
Notes
This method is only accessible by ss and by iScript Servlet.
Example
Response.contentType( ctype )
|