header

fun header(name: String, vararg values: Any)

See also

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