+ req_etag = None
+ if opt_type == OPERATION_TYPE.MODIFY_INFO:
+ req_etag = req.META.get("HTTP_IF_MATCH")
+ logger.debug("req_etag=%s, CACHE_ETAG=%s", req_etag, CACHE_ETAG)
+ if req_etag and req_etag != CACHE_ETAG:
+ raise NFLCMExceptionPreconditionFailed("Etag mismatch")
+