internal static void SetEtagHeader(
     XboxLiveHttpRequest httpRequest, string eTag, TitleStorageETagMatchCondition eTagMatchCondition)
 {
     if (eTagMatchCondition != TitleStorageETagMatchCondition.NotUsed)
     {
         if (!string.IsNullOrEmpty(eTag))
         {
             httpRequest.SetCustomHeader(ETagHeaderName, eTag);
             var headerToUse = eTagMatchCondition == TitleStorageETagMatchCondition.IfMatch ? IfMatchHeaderName : IfNoneHeaderName;
             httpRequest.SetCustomHeader(headerToUse, eTag);
         }
     }
 }