lighttp ~master (2020-01-09T16:41:23Z)
Dub
Repo
Http.contentType
lighttp
util
Http
Sets the response's content-type header.
class
Http
@
property
pure @
safe
string
contentType
(
string
contentType
)
Examples
response
.
contentType
=
MimeTypes
.
html
;
Meta
Source
See Implementation
lighttp
util
Http
functions
add
parse
properties
body_
contentType
cookies
method
structs
Headers
variables
_body
_method
headers
status
Sets the response's content-type header.