Subject: CREDENTIAL frame documentation

From: yusuke <[email-masked]>
Date: Sun, 30 Dec 2012 07:12:23 +0900

Hi all.

I'm reading HTTP2 draft
http://tools.ietf.org/html/draft-ietf-httpbis-http2-00

in 2.6.9 CREDENTIAL, frame describes like this.

   +----------------------------------+
   |1|000000000000001|0000000000001011|
   +----------------------------------+
   | flags (8)  |  Length (24 bits)   |
   +----------------------------------+
   |  Slot (16 bits) |                |
   +-----------------+                |
   |      Proof Length (32 bits)      |
   +----------------------------------+
   |               Proof              |
   +----------------------------------+ <+
   |   Certificate Length (32 bits)   |  |
   +----------------------------------+  | Repeated until end of frame
   |            Certificate           |  |
   +----------------------------------+ <+

I think the first 16 bits are Control bit + Version.
and this shows Version should be 1.

I think this section isn't formatted like other frame description.
why don't you fix this like blow in next update?

   +----------------------------------+
   |1| version  |11|
   +----------------------------------+
   | flags (8)  |  Length (24 bits)   |
   +----------------------------------+
   |  Slot (16 bits) |                |
   +-----------------+                |
   |      Proof Length (32 bits)      |
   +----------------------------------+
   |               Proof              |
   +----------------------------------+ <+
   |   Certificate Length (32 bits)   |  |
   +----------------------------------+  | Repeated until end of frame
   |            Certificate           |  |
   +----------------------------------+ <+

Control bit: The control bit is always 1 for this message.

Version: The SPDY version number.

Type: The message type for a CREDENTIAL is 11.

Flags: .....

thanks
yusuke