.header("Content-Disposition", isDownload ?
"attachment; filename=OData-Response." + new Date().toString().replace(' ', '_').replace(':', '.')
+ ".html" : null)
.build();
} catch (final ODataException e) {
throw new ODataRuntimeException("Should not happen", e);
} catch (final IOException e) {
throw new ODataRuntimeException("Should not happen", e);
}
}