{
// XRD Expires null, HTTP Expires expired
ByteArrayInputStream is = new ByteArrayInputStream("dummy".getBytes());
final Calendar cal = Calendar.getInstance();
cal.add(Calendar.MINUTE, -9); // 9 minutes ago
ResolvedHttpResponse rresp = new ResolvedHttpResponse(is) {
{
resp = new BasicHttpResponse(HttpVersion.HTTP_1_1, HttpStatus.SC_OK, "OK");
resp.addHeader("Expires", dfm.format(cal.getTime()));
}
};