ktor-http / io.ktor.http.content / ByteArrayContent / contentType

contentType

val contentType: ContentType?

Overrides OutgoingContent.contentType

Specifies ContentType for this resource.