{
try {
checkConditions(request, getResultingActionOnWrite(request));
}
catch (ItemNotFoundException e) {
throw new AccessDeniedException(request, e.getMessage());
}
DefaultStorageFileItem fItem =
new DefaultStorageFileItem(this, request, true, true, new PreparedContentLocator(is,
getMimeSupport().guessMimeTypeFromPath(getMimeRulesSource(), request.getRequestPath()),