ktor-server-core / io.ktor.features / ContentNegotiation / Configuration / checkAcceptHeaderCompliance

checkAcceptHeaderCompliance

var checkAcceptHeaderCompliance: Boolean

Checks that ContentType header value of the response suits Accept header value of the request