-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Detect HTTP2 on the server #65
Comments
Hmm, not sure this is possible. This is how the chrome extensions are doing it. Probably this information is not available in phantomjs? |
You might be able to do this easily for non-SSL connection : HTTP/1.1 101 Switching Protocols |
I'll have to check if the Found this C++ open-source project: https://github.com/zoompf/SPDYCheck |
Thank you, it looks like a good solution.
|
Here is another approach (thank you VR):
A server supporting HTTP2 must announce it at the ssl level, with then "npn" and "alpn" extensions. Needs an up to date libssl (not working on OSX). I didn't manage to make it work for the moment. |
u're welcome, here is example code |
Oh that looks excellent! Thanks a lot! |
Hey - the command is not working on my local machine.
What am I missing here? 😊 Openssl is installed in the latest version as far as I see. |
@stefanjudis you miss a recent version of openssl :-) |
aah - I'm stupid... Have some path troubles here.... Thanks for quick response. :) |
Very easy now, thanx to you @stefanjudis : https://github.com/stefanjudis/is-http2 |
Done via #135. |
When a website is served with HTTP2, some of the rules (mainly about reducing the number of requests) are not relevant.
The problem is about detecting HTTP2. Does anyone know how to achieve this? Help appreciated!
The text was updated successfully, but these errors were encountered: