wodHttpDLX ActiveX Control - ContentType Property
      
 

Description

Returns document type.


Property type

A String value.  


Syntax

object.ContentType



The ContentType Property syntax has these parts:

Part Description
object An expression evaluating to an object of type HttpResponse.

Remarks

This property, when set, will return type of the document returned by the server, as defined by MIME definitions. Most typical this is text/html, but it can be also any other type, especially when multipart responses are returned, which contain attachments or binary files.

This property is just a 'shortcut' to Response.Headers("Content-Type") value.