get_content_type


Description:

public unowned string get_content_type ()

Gets the content type of the file being downloaded.

If the <literal>Content-Type</literal> header has not yet been received, null will be returned.

Parameters:

this

a DownloadStream

Returns:

the content type of the file being downloaded, or null