W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > May 2007

Re: ACTION: The order of HTTP Headers

From: Sean Owen <srowen@google.com>
Date: Wed, 23 May 2007 10:23:50 -0400
Message-ID: <e920a71c0705230723w169cfe98m60dd5d2ae0625adb@mail.gmail.com>
To: "Jo Rabin" <jrabin@mtld.mobi>
Cc: public-mobileok-checker@w3.org

On 5/23/07, Jo Rabin <jrabin@mtld.mobi> wrote:
> For moki, I would prefer to maintain the ordering as received. I'm not
> sure that this makes it either easier or harder select values ...
> e.g. //primaryDoc//HTTPResponse[last()]/header[@name="charlie"] does not
> depend on the ordering ...

No but testing does. Now you can't merely diff two documents and tell
whether they are the same, because header ordering may cause spurious
differences. It's not impossible to rewrite the test code to parse all
this out and order it and compare, but, it's a fairly big jump in
complexity for no apparent benefit -- we do have the original response
recorded anyway, with ordering intact. We're normalizing away notably
more than the order already so I'm not seeing much of a downside to
Received on Wednesday, 23 May 2007 14:24:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:18 UTC