Fixed #23695 -- Made condition decorator work for HEAD requests without ETag.