Assert.assertEquals(response.getEntity(), "plain" + 1);
}
{
ClientRequest request = new ClientRequest(generateURL("/cache/accepts"));
request.accept("text/html");
ClientResponse<String> response = request.get(String.class);
Assert.assertEquals(200, response.getStatus());
String cc = response.getHeaders().getFirst(HttpHeaders.CACHE_CONTROL);
Assert.assertNotNull(cc);
etag = response.getHeaders().getFirst(HttpHeaders.ETAG);