HTTP HTTP GET HTTP/2 # # Server-side HTTP/2 101 OK HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Content-Length: 6 Connection: close Content-Type: text/html -maa- # # Client-side h2c http HTTP/1 doing HTTP/2 Upgrade: getting a HTTP/2 101 response http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http2 # # Verify data after the test has been "shot" ^X-Forwarded-Proto:.* ^Via:.* GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* Connection: Upgrade, HTTP2-Settings Upgrade: h2c HTTP2-Settings: AAMAAABkAAQAoAAAAAIAAAAA # CURLE_WEIRD_SERVER_REPLY (8) 8