implement If-Match and If-Non-Match in request handler