wwResponse::ContentType

Sets the content type of the request for example: text/plain or text/xml. If this value is not set the default content type for a request is always text/html.

Note that you should always set a content type header explicitly since it's more efficient

This property is here only for compatibility with ASP and it simply causes the ContentTypeHeader method to be called directly via Assign method.

o.ContentType

Remarks

This property must be set before any other HTTP output is sent.

See also:

Class wwResponse

© West Wind Technologies, 1996-2022 • Updated: 12/09/15
Comment or report problem with topic