On Fri, 28 Mar 2014, Chris Young wrote:
$ curl -v --http2 https://www.google.com/
I'm getting a 302 here (well, after I disable the certificate
checking):
* Hostname was NOT found in DNS cache
* Trying 173.194.41.146...
* Connected to www.google.com (173.194.41.146) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* NPN, negotiated HTTP1.1
I get a different server but I did this:
./src/curl -v --http2 https://www.google.com
* Trying 173.194.32.20...
* Connected to www.google.com (173.194.32.20) port 443 (#0)
* NPN, negotiated HTTP2
* We have switched to HTTP2
* http2_send len=82
* before_frame_send() was called
* on_frame_send() was called
* before_frame_send() was called
...
< HTTP/2.0 400
< :version:HTTP/1.0
< content-length:1419
< content-type:text/html; charset=UTF-8
< date:Mon, 31 Mar 2014 06:30:33 GMT
< server:GFE/2.0
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html