accept

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

See also

org.springframework.test.web.servlet.request.MockHttpServletRequestBuilder