docs: private String appendQueryParams(String uri, Map<String, Object> headers) {
          if (!headers.containsKey(QUERY_PARAM_HEADER_NAME)) {
              return uri;
          }
  
          String requestUri = uri;
          StringBuilder queryParamBuilder = new StringBuilder();
          String queryParams = headers.get(QUERY_PARAM_HEADER_NAME).toString();
  
          StringTokenizer tok = new StringTokenizer(queryParams, ",");
          if (tok.hasMoreTokens()) {
              while (requestUri.endsWith("/")) {
                  requestUri = requestUri.substring(0, requestUri.length() - 1);
              }
  
              queryParamBuilder.append("?").append(tok.nextToken());
          }
  
          while (tok.hasMoreTokens()) {
              queryParamBuilder.append("&").append(tok.nextToken());
          }
  
          return requestUri + queryParamBuilder.toString();
      }