accept

fun accept(vararg mediaTypes: MediaType)
var accept: MediaType?

See also

MockHttpServletRequestBuilder.accept