def uninstall_plugin(key)
      get("/plugin-admin.jsp?deleteplugin=#{key}") do |res|
        raise ResponceException.new("cant delete",res) if res.code != "302" or res['location'] !~ /deletesuccess=true/
      end