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

http tests need to honor Set-Cookie #295

Open
zackw opened this issue Nov 2, 2018 · 0 comments
Open

http tests need to honor Set-Cookie #295

zackw opened this issue Nov 2, 2018 · 0 comments

Comments

@zackw
Copy link
Collaborator

zackw commented Nov 2, 2018

It's fairly common for websites to try to set a cookie if you don't already have one, by issuing a 3xx redirect to the same page that you just loaded, with some Set-Cookie headers. If your next GET to that URL doesn't echo the cookie, either it will send the redirection again (putting the dialogue into an infinite loop) or it will send you a 4xx error. Either way we fail to load the page when we should have.

I don't know, off the top of my head, how to make pycurl send cookies.

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

No branches or pull requests

1 participant