get_content_type
Description:
[ Version ( since = "2.26" ) ]
public unowned string? get_content_type (out HashTable<string,string> @params)
public unowned string? get_content_type (out HashTable<string,string> @params)
Looks up the "Content-Type" header in this, parses it, and returns its value in *content_type
and *params
.
params
can be null
if you are only interested in the content type itself.
Parameters:
this | |
params |
return location for the Content-Type parameters (eg, "charset"), or |
Returns:
a string with the value of the "Content-Type" header or |