I want to use http/2 with cURL. First I got an error when I tried this curl --http2 https://http2.akamai.com/
- "Protocol not supported". I installed nghttp2 and reinstalled cURL like it is described here. The error is gone and I can get data with the curl --http2
now. But the page https://http2.akamai.com/ tells me "This browser is not HTTP/2 enabled", while in chrome or directly via nghttp2 it says "You are using HTTP/2 right now!".
I'm using mac os x and installed all dependencies in the latest versions via homebrew. The curl sources (7.41) I downloaded here.
localhost:~ svenkeinath$ curl --version curl 7.41.0 (x86_64-apple-darwin14.3.0) libcurl/7.41.0 OpenSSL/0.9.8zd zlib/1.2.5 nghttp2/0.7.7 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: IPv6 Largefile NTLM NTLM_WB SSL libz HTTP2 UnixSockets
– Chantry