docs: public MimeType getPreferredAccept(Set<MimeType> supportedTypes) {
          // Starts from the highest.
          for (AcceptHeaderEntry clientSupported : entries) {
              for (MimeType serverSupported : supportedTypes) {
                  if (isSameOrSubtype(serverSupported, clientSupported.mediaType)) {
                      return serverSupported;
                  }
              }
          }
  
          return null;
      }