spring-framework / org.springframework.web.accept / ContentNegotiationManagerFactoryBean / setIgnoreAcceptHeader

setIgnoreAcceptHeader

open fun setIgnoreAcceptHeader(ignoreAcceptHeader: Boolean): Unit

Whether to disable checking the 'Accept' request header.

By default this value is set to false.