sabre-io/http

http 2 doesn't get recognized

jens1o opened this issue · 6 comments

It falls back to 1.1.
https://github.com/fruux/sabre-http/blob/master/lib/Sapi.php#L134-L136

Happy to provide a pr when you want it to be fixed.

will the http2 binary protocol deliver this values as 1.0/1.1 did?

or will those values only be provided with http2 over plain-text?

I'm talking about the httpVersion. So the headers are the same:
image
But sabre-http does not recognize it is in http 2.

any news on this? This is pretty important to me, so I can release an RESTful API which is working properly.

Pr welcome incl. test

Okay, will work on it. :)

Ok will close for now