* verifies that using a If-Modified-Since earlier than the
* Last-Modified response header sent by server then the server will
* return a 200 with entity
*/
dateResource = client.resource(getBaseURI() + "/context/request/date");
response = dateResource.header(HttpHeaders.IF_MODIFIED_SINCE, formatter.format(d2)).get();
assertEquals(200, response.getStatusCode());
assertEquals("the date: " + rfc1123Format.format(d), response.getEntity(String.class));
rfc1123Format.setTimeZone(TimeZone.getTimeZone("GMT"));
assertEquals(rfc1123Format.format(d), response.getHeaders()