options.setHeader("Connection", "close");
options.setHeader("x-reqnum", "1");
ClientResponse response = client.get(CHECK_CACHE_INVALIDATE, options);
String resp1 = getResponse(response);
response.release();
assertEquals(resp1, "1");
// calling a method that could change state on the server should invalidate the cache
options.setHeader("x-reqnum", "2");
switch(type) {