if (imageLocation.hasStored()) {
String cookie = imageLocation.getStored();
BlobData blob = imageDataService.getImageFile(cookie);
response = Response.ok().entity(blob.asEntity());
ByteString md5 = blob.getHash();
response.header("Content-MD5", Hex.toHex(md5.toByteArray()));
} else {
response = Response.status(Status.NO_CONTENT);