bytes

fun bytes(body: ByteArray, contentType: MediaType? = null, status: Int = 200, headers: Headers = Headers.EMPTY): DebugResponse

A response carrying arbitrary body bytes, with the given contentType (default application/octet-stream), status (default 200), and headers (default empty).