ContentType.setMediaType

void setMediaType(string type) nothrow

Sets the Content-Type's media type.

Parameters

typemedia type