Created
September 30, 2015 22:10
-
-
Save commuterjoy/c6b82d5d5b6051dedd86 to your computer and use it in GitHub Desktop.
http2 with curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Connection #0 to host nghttp2.org left intact | |
FT-MW4411:curl-7.44.0 matt.chadburn$ curl --http2 -v http://nghttp2.org/ | |
* Trying 106.186.112.116... | |
* Connected to nghttp2.org (106.186.112.116) port 80 (#0) | |
> GET / HTTP/1.1 | |
> Host: nghttp2.org | |
> User-Agent: curl/7.44.0 | |
> Accept: */* | |
> Connection: Upgrade, HTTP2-Settings | |
> Upgrade: h2c | |
> HTTP2-Settings: AAMAAABkAAQAAP__ | |
> | |
< HTTP/1.1 101 Switching Protocols | |
< Connection: Upgrade | |
< Upgrade: h2c | |
* Received 101 | |
* Using HTTP2, server supports multi-use | |
* Connection state changed (HTTP/2 confirmed) | |
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=1469 | |
* http2_recv: 16384 bytes buffer at 0x7fb1c1009508 (stream 1) | |
* http2_recv: returns 1513 for stream 1 | |
< HTTP/2.0 200 | |
< date:Wed, 30 Sep 2015 22:09:24 GMT | |
< content-type:text/html | |
< content-length:6623 | |
< last-modified:Thu, 24 Sep 2015 16:19:36 GMT | |
< etag:"56042298-19df" | |
< link:</stylesheets/screen.css>; rel=preload; as=stylesheet | |
< accept-ranges:bytes | |
< x-backend-header-rtt:0.000603 | |
< server:nghttpx nghttp2/1.3.5-DEV | |
< via:1.1 nghttpx | |
< | |
<!DOCTYPE html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment