docs: public String selectHeaderAccept(String[] accepts) {
          if (accepts.length == 0) {
              return null;
          }
          for (String accept : accepts) {
              if (isJsonMime(accept)) {
                  return accept;
              }
          }
          return StringUtil.join(accepts, ",");
      }