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

What about HTTP 1.1 support? #5

Closed
Sharom opened this issue Jun 11, 2014 · 3 comments
Closed

What about HTTP 1.1 support? #5

Sharom opened this issue Jun 11, 2014 · 3 comments

Comments

@Sharom
Copy link

Sharom commented Jun 11, 2014

No description provided.

@WyriHaximus
Copy link
Member

Yeah going to look into that and see if I can make some progress on that soon. It works fine in most cases but there are some edge cases where forcing it to 1.0 causes issues.

@deathmood
Copy link

Please tell me where I am wrong, `cause it does not work for me - I can not get response body with HTTP 1.1:

$request = $client->request('GET', 'http://facebook.com', [], '1.1');
$request->on('response', function ($res) {
    $res->on('data', function ($data, $res) {
        var_dump($data);
    });
});

it does not work for http://vk.com, http://facebook.com
why?

@WyriHaximus
Copy link
Member

@deathmood answered your question here: #49 (comment)

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

3 participants