code: public static Response delete(URI uri, String username, String password) throws URISyntaxException, HttpException {
          return send(new HttpDelete(uri), new UsernamePasswordCredentials(username, password), null);
      }
docs: Performs an HTTP DELETE on the given URI.
  Basic auth is used if both username and pw are not null.
  
  @param uri      The URI to connect to.
  @param username username
  @param password password
  @return The HTTP response as Response object.
  @throws URISyntaxException
  @throws HttpException