with (handleRequest(HttpMethod.Get, "/status") { addHeader("Content-Type", "application/json") }) { assertEquals(expected, JsonParser().parse(response.content)) }