Http.contentType

Sets the response's content-type header.

class Http
@property pure @safe
string
contentType
()

Examples

response.contentType = MimeTypes.html;

Meta