private bool ValidateETag(string ifNoneMatchHeader, IResult result) { if (string.IsNullOrEmpty(ifNoneMatchHeader)) { return true; } return string.Equals(ifNoneMatchHeader, result.ETag); }