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

Can't get response content for some urls #555

Closed
killernova opened this issue May 29, 2019 · 1 comment
Closed

Can't get response content for some urls #555

killernova opened this issue May 29, 2019 · 1 comment

Comments

@killernova
Copy link

When I request url like this one: r = HTTP.get('https://international.la-croix.com'), it returns the code of 200: r.code => 200, but when I want to print the response body, it just returns blank string: r.to_s => "".

This problem only appears in some urls, and most of them works fine.

@ixti
Copy link
Member

ixti commented May 29, 2019

It's known issue with parser used in released versions:

You can switch to 5.0.0.pre version which has required fix applied.

@ixti ixti closed this as completed May 29, 2019
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

2 participants