Re: Next pre-draft implementation in javascript.

Dang!

I used shift() instead of pop() in the javascript implementation.
While that is now fixed, the draft examples will be incorrect, as they were
based on this implementation.


-=R


On Mon, Oct 21, 2013 at 9:18 AM, Roberto Peon <grmocg@gmail.com> wrote:

> The spec should be updated and submitted as draft later today.
> Tatsuhiro is correct that the version in the draft is currently out of
> date.
> The version in the javascript will be the version in the draft (soon).
>
> Cool that there is already interop! That is fast! Awesome!
> -=R
>
>
> On Mon, Oct 21, 2013 at 9:15 AM, Tatsuhiro Tsujikawa <
> tatsuhiro.t@gmail.com> wrote:
>
>>
>>
>>
>> On Mon, Oct 21, 2013 at 11:08 AM, Roberto Peon <grmocg@gmail.com> wrote:
>>
>>> I'm implemented all of the next (pre) draft version of compression here:
>>> https://github.com/grmocg/httpbis-header-compression
>>>
>>> (Apparently this might work:
>>> http://rawgithub.com/grmocg/httpbis-header-compression/master/compressor_test.html
>>> )
>>>
>>> which should soon be merged here, as it is a modification of Fred's
>>> original JS compressor:
>>> https://github.com/akalin-chromium/httpbis-header-compression
>>>
>>>
>>> It provides for separate encoding/decoding steps, showing the output (or
>>> input, depending) as hex, as well as the state of the table, and opcodes as
>>> they're decoded.
>>>
>>> Hopefully this means that you should be able to verify interop more
>>> easily than last time since you can just run this in your browser in a tab.
>>>
>>>
>> I have also implemented the HPACK with huffman in nghttp2.
>> https://github.com/tatsuhiro-t/nghttp2/tree/hpack-exp
>>
>>  It seems the XML has older huffman tables, so I got ones in javascript
>> compressor output.
>>
>> I conducted some encode/decode tests between javascript compressor and
>> nghttp2, and they are working beautifully. That is a promising start of the
>> next interop round.
>> nghttp2 has now some command line tools to test compression, which can
>> take inputs in JSON.
>>
>> Best regards,
>>
>> Tatsuhiro Tsujikawa
>>
>>
>>
>>
>>> .. and now back to hacking on the spec..
>>>  -=R
>>>
>>>
>>
>>
>

Received on Tuesday, 22 October 2013 22:59:24 UTC