code:     private static boolean startsWithStringArray(String sArray[], String value) {
          if (value == null) {
              return false;
          }
          for (int i = 0; i < sArray.length; i++) {
              if (value.startsWith(sArray[i])) {
                  return true;
              }
          }
          return false;
      }
  
  
      /**
       * Check if the resource could be compressed, if the client supports it.
       */
  