// response
if (checksumHeader != null && rangeHeader == null
&& HttpMethod.GET.equals(request.getMethod()) && response.getLength() > 0) {
l4j.debug("wschecksum detected (" + checksumHeader + "); wrapping entity stream");
ChecksumValue checksum = new ChecksumValueImpl(checksumHeader);
response.setEntityInputStream(new ChecksummedInputStream(response.getEntityInputStream(), checksum));
}
return response;
} catch (NoSuchAlgorithmException e) {
throw new RuntimeException(e);