Returns the value of the content-type header field for the object referred to by the specified url connection object.
Syntax
getContentType( urlconnection )
urlconnection.getContentType( )
Parameters
urlconnection
|
the url connection object to use.
|
Returns
string
|
the content-type header field.
|
Example
type = ucon.getContentType( )
|