contentTypeOptions

fun contentTypeOptions(contentTypeOptionsConfig: ContentTypeOptionsDsl.() -> Unit)

Configures the XContentTypeOptionsHeaderWriter which inserts the

X-Content-Type-Options header

Parameters

contentTypeOptionsConfig

the customization to apply to the header