The current logout system is still a hack from back in the days. We change values in a HTML template. The path to the HTML template gets converted to a URL-like path (file://path/to/file), so mechanize thinks it's a true HTML form on the Internet. Afterwards, mechanize submits the form.
This system never failed, but I understand enough of Requests to move to something more elegant. I therefore propose to ditch this and develop a logout system using Requests.
The current logout system is still a hack from back in the days. We change values in a HTML template. The path to the HTML template gets converted to a URL-like path (file://path/to/file), so
mechanizethinks it's a true HTML form on the Internet. Afterwards,mechanizesubmits the form.This system never failed, but I understand enough of Requests to move to something more elegant. I therefore propose to ditch this and develop a logout system using Requests.