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

Some sites throw a redirection error #96

Open
shenders13 opened this issue Jun 7, 2016 · 1 comment
Open

Some sites throw a redirection error #96

shenders13 opened this issue Jun 7, 2016 · 1 comment
Labels

Comments

@gottfrois gottfrois added the bug label Jun 16, 2016
@gottfrois
Copy link
Owner

It seems to be an issue with cookies. The original URL returns a 302 with a Set-Cookie http header. The gem handle this http header correctly but even after the cookie is set, the site keeps returning 302 http responses.

I would need more time to investigate this. Also, I had plan to remove all that redirection home made logic and use another http client library such as faraday and typhoeus.

No quick fix i can think of right now unfortunately other than monkey patching on your side but with the effect of having some other website that will throw a redirect limit error as well because of cookie not set.

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

No branches or pull requests

2 participants