code: public Resource resolve(String path) {
  
          // it might be an absolute path...
          if (path.startsWith("http:") || path.startsWith("https:") || path.startsWith("file:")) {
              return new Resource(path, query, headers);
          }
  
          // strip prefix / if needed...
          if (path.startsWith("/")) {
              path = path.substring(1);
          }
          return new Resource(this.path + "/" + path, query, headers);
      }
docs: TODO: support fancier resolutions