What’s the appropriate way to set a content type i...
# ktor
i
What’s the appropriate way to set a content type in a response?
call.response.contentType(ContentType.Text.Html)
gives me a
UnsafeHeaderException: Header Content-Type is controlled by the engine and cannot be set explicitly