docs: public URLNormalizer removeTrailingSlash() {
          String urlRoot = HttpURL.getRoot(url);
          String path = toURL().getPath();
          String urlRootAndPath = urlRoot + path;
  
          if (path.endsWith("/")) {
              String newPath = StringUtils.removeEnd(path, "/");
              String newUrlRootAndPath = urlRoot + newPath;
              url = StringUtils.replaceOnce(
                      url, urlRootAndPath, newUrlRootAndPath);
          }
          return this;
      }