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

Add support for cookies on redirects for the simple_httpclient #602

Closed
wants to merge 1 commit into from

Conversation

ierror
Copy link

@ierror ierror commented Oct 3, 2012

some sites do redirects or interrupt them based on cookies.

@bdarnell
Copy link
Member

bdarnell commented Oct 4, 2012

Cookies should only be sent if the domains match (among other requirements). Trying to emulate browser policies here seems tricky, so any cookie support should be opt-in (and perhaps based on a pluggable policy object; see the standard library's cookielib for example).

Please add a test for this change (and fix the tests that are failing on python 3).

@bdarnell
Copy link
Member

Closing due to inactivity.

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

Successfully merging this pull request may close these issues.

None yet

2 participants