get_content_type


Description:

public virtual unowned string? get_content_type ()

Gets the type of the data represented by this.

For most request types, this will not be known until after you call send or send_async.end.

As in the HTTP Content-Type header, this may include parameters after the MIME type.

Parameters:

this

a Request

Returns:

the type of the data represented by this, or null if not known.