Re: FYI... Binary Optimized Header Encoding for SPDY

On Aug 2, 2012, at 9:58 AM, Eliot Lear wrote:

> 
> Martin,
> 
>> We could always USE ASN.1 (and PER). 
> 
> Thank you for bringing home the point that there are complexity
> tradeoffs for doing all of this.

Why?  It makes things so simple:

  HTTPHeaders  ::=  SEQUENCE OF HTTPHeader

  HTTPHeader   ::=  SEQUENCE {
        type     OBJECT
	critical BOOLEAN
        value    OCTETSTRING
   }

All you need is a 

No, I'm not seriously proposing this. But a simple TV/TLV scheme could work.

Received on Thursday, 2 August 2012 17:28:35 UTC