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

No response on specific URL #15

Closed
macure opened this issue Jan 27, 2017 · 1 comment
Closed

No response on specific URL #15

macure opened this issue Jan 27, 2017 · 1 comment

Comments

@macure
Copy link

macure commented Jan 27, 2017

Hi,

I have noticed a peculiar case when trying to get http://www.nameit.com

hQuery::fromUrl('http://www.nameit.com') returns false

On the demo nothing happens as well.

Best regards

@duzun
Copy link
Owner

duzun commented Feb 12, 2017

The issue here is that nameit.com keeps redirecting hQuery again and again because hQuery doesn't preserve cookies.
By default hQuery follows up to 7 redirects, then returns false as there is no response body.

I'm planing to implement cookies soon, at least for such cases like this one (in mem cookies).

Thanks for pointing it out!

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