code: public byte[] deleteBytes(byte[] content) throws IOException {
  
          if (!connection.isOpen())
              connection.open();
  
          connection.prepare("DELETE");
  
          OutputStream os = null;
          if (content != null) {
              connection.getConnection().setDoOutput(true);
              os = connection.getOutputStream();
              os.write(content);
          }
  
          response = connection.readInput();
          if (os != null)
             os.close();
          return getResponseBytes();
      }
docs: Perform an HTTP DELETE request to the URL.
  @param content bytes (not usually populated)
  @return string containing the response from the server