W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

Re: HTTP/2 Header Encoding Status Update

From: Scott Schmit <i.grok@comcast.net>
Date: Sat, 2 Mar 2013 00:38:23 -0500
To: ietf-http-wg@w3.org
Message-ID: <20130302053823.GA22385@odin.ulthar.us>
On Wed, Feb 27, 2013 at 01:16:16PM -0800, James M Snell wrote:
> Numeric values:
>   1. Numeric values are encoded as variable-length, unsigned integers.
"Big-endian" or "little-endian"?

I've seen some references which state that the MSBs go first, others
that say the LSBs go first. (Wikipedia led me down the MSB path, which
confused me at first.  Google's protocol buffers does LSBs first.)

Based on your date example, it appears you're doing LSBs first (though
the date example appears skewed by 123 seconds?).

You'll need to define the uvarint format -- a search for "unsigned
variable-length integers" comes up with a number of very different
encodings--not that they all call themselves "uvarint" but still...

I assume that the uvarint length will be capped in some way?  Is that
per-field or is there an overall cap?

Scott Schmit

Received on Saturday, 2 March 2013 05:38:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:10 UTC