Updated spdycat output example

This commit is contained in:
Tatsuhiro Tsujikawa 2012-02-02 00:45:02 +09:00
parent db498a7601
commit e1abe54a81
1 changed files with 31 additions and 24 deletions

View File

@ -10,30 +10,37 @@ connect to SPDY-capable server via SSL and select spdy/2 with NPN and
get a resource given in the command-line:: get a resource given in the command-line::
$ ./spdycat -vn https://www.google.com/ $ ./spdycat -vn https://www.google.com/
[ 0.023] NPN select next protocol: the remote server offers: [ 0.029] NPN select next protocol: the remote server offers:
* spdy/2 * spdy/2
* http/1.1 * http/1.1
[ 0.034] send SYN_STREAM frame (stream_id=1, assoc_stream_id=0, flags=1, length=83, pri=3) [ 0.040] recv SETTINGS frame <version=2, flags=0, length=12>
method: GET (niv=1)
scheme: https [4(1):100]
url: / [ 0.040] send SYN_STREAM frame <version=2, flags=1, length=107>
user-agent: spdylay/0.0.0 (stream_id=1, assoc_stream_id=0, pri=3)
version: HTTP/1.1 host: www.google.com:443
[ 0.082] recv SYN_REPLY frame (stream_id=1, flags=0, length=580) method: GET
cache-control: private, max-age=0 scheme: https
content-type: text/html; charset=ISO-8859-1 url: /
date: Sun, 29 Jan 2012 15:36:57 GMT user-agent: spdylay/0.0.0
expires: -1 version: HTTP/1.1
server: gws [ 0.087] recv SYN_REPLY frame <version=2, flags=0, length=580>
status: 200 OK (stream_id=1)
version: HTTP/1.1 cache-control: private, max-age=0
x-frame-options: SAMEORIGIN content-type: text/html; charset=ISO-8859-1
x-xss-protection: 1; mode=block date: Wed, 01 Feb 2012 15:43:00 GMT
[ 0.083] recv DATA frame (stream_id=1, flags=0, length=4096) expires: -1
[ 0.083] recv DATA frame (stream_id=1, flags=0, length=2426) server: gws
[ 0.084] recv DATA frame (stream_id=1, flags=0, length=4096) status: 200 OK
[ 0.091] recv DATA frame (stream_id=1, flags=1, length=3114) version: HTTP/1.1
[ 0.091] send GOAWAY frame (last_good_stream_id=0) x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
[ 0.087] recv DATA frame (stream_id=1, flags=0, length=4096)
[ 0.088] recv DATA frame (stream_id=1, flags=0, length=2617)
[ 0.094] recv DATA frame (stream_id=1, flags=0, length=4096)
[ 0.094] recv DATA frame (stream_id=1, flags=1, length=828)
[ 0.094] send GOAWAY frame <version=2, flags=0, length=4>
(last_good_stream_id=0)
Please note that OpenSSL with Please note that OpenSSL with
`NPN <http://technotes.googlecode.com/git/nextprotoneg.html>`_ `NPN <http://technotes.googlecode.com/git/nextprotoneg.html>`_