code: public static HTTPResponse put(URL url, String username, String password, long timeout, boolean redirect, String mimetype, String charset, String useragent, ProxyData proxy,
  	    lucee.commons.net.http.Header[] headers, Object body) throws IOException {
  	HttpPut put = new HttpPut(url.toExternalForm());
  	setBody(put, body, mimetype, charset);
  	return _invoke(url, put, username, password, timeout, redirect, charset, useragent, proxy, headers, null);
  
      }
docs: does a http put request
  
  @param url
  @param username
  @param password
  @param timeout
  @param charset
  @param useragent
  @param proxyserver
  @param proxyport
  @param proxyuser
  @param proxypassword
  @param headers
  @param body
  @return
  @throws IOException
  @throws PageException