-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Strange HTTPS behavior #30
Comments
Can you be more precise about the rubbish? Is there no result or partial result? Also what versions does |
It is seems to be some binary encoded data, represented as a string. Something like this:
PHP version: 5.6.7
|
can you show your code please? don't have to keep guessing |
@hiend it's basically the same as example from readme. |
Confirmed the issue on PHP 5.6.8
Running SSLlabs tests on it now to see if anything comes up there. |
I should probably tag reactphp-legacy/socket-client#34 |
@cboden already cloned socket-client into my vendor/react dir and the issue persists |
It isn't SSL you're seeing it's GZIP. You can confirm by making a test script outputting the response body and piping that into gunzip like: Currently react/http-client doesn't support gzip. However I'm going through all the HTTP 1.0, 1.1, and 2.0 RFC's before drafting up a plan to support all them with all their features. This includes content encoding like GZIP. |
Thanks for analyzing this @WyriHaximus! If this only boils down to #37, I suppose we can close this ticket? |
FYI #50 is fixing this issue |
I'm writing simple parser. When trying to get contents of https://meduza.io/feature/2015/05/19/zaschita-astahova, I see some rubbish going through stream.
However, https://youtube.com or https://www.coursera.org/ works as normal.
What can this be?
The text was updated successfully, but these errors were encountered: