Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout using Requests #97

Open
GijsTimmers opened this issue Dec 16, 2015 · 1 comment
Open

Logout using Requests #97

GijsTimmers opened this issue Dec 16, 2015 · 1 comment
Assignees

Comments

@GijsTimmers
Copy link
Owner

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.

@GijsTimmers GijsTimmers self-assigned this Dec 16, 2015
@GijsTimmers GijsTimmers added this to the 2.0.0: 'Barndominium' milestone Dec 16, 2015
@jovanbulck
Copy link
Collaborator

Ok, seems like logging out is a simple HTTP POST request. Seems like we can choose between logging out via cgi-bin/wayf2.pl or cgi-bin/netlogout.pl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants