code: @Override
  	protected void addContent(URLConnection con) throws IOException {
  		con.setDoOutput(true);
  		con.addRequestProperty("Content-Type", mime);
  		con.addRequestProperty("Content-Length", String.valueOf(content.length));
  		OutputStream os = con.getOutputStream();
  		writeContent(os);
  		os.close();
  	}
docs: Add the content to the URLConnection used.
  
  @param con the connection to use
  @throws IOException if writing to stream fails