Re: [http-state] Ticket 5: Cookie ordering

David Morris <dwm@xpasc.com> Wed, 20 January 2010 04:51 UTC

Return-Path: <dwm@xpasc.com>
X-Original-To: http-state@core3.amsl.com
Delivered-To: http-state@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 129E13A69D1 for <http-state@core3.amsl.com>; Tue, 19 Jan 2010 20:51:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.484
X-Spam-Level:
X-Spam-Status: No, score=-5.484 tagged_above=-999 required=5 tests=[AWL=-2.885, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B9o-gzqdU4dL for <http-state@core3.amsl.com>; Tue, 19 Jan 2010 20:51:34 -0800 (PST)
Received: from mail.xpasc.com (mail.xpasc.com [68.164.244.189]) by core3.amsl.com (Postfix) with ESMTP id 4967C3A67CC for <http-state@ietf.org>; Tue, 19 Jan 2010 20:51:34 -0800 (PST)
Received: from bslepgate.xpasc.com (localhost.localdomain [127.0.0.1]) by bslepgate.xpasc.com (Postfix-out) with ESMTP id E793B100586 for <http-state@ietf.org>; Tue, 19 Jan 2010 20:51:30 -0800 (PST)
X-Propel-Return-Path: <dwm@xpasc.com>
Received: from mail.xpasc.com ([10.1.2.88]) by [127.0.0.1] ([127.0.0.1]) (port 7027) (Abaca EPG outproxy filter 3.1.1.9347 $Rev: 9262 $) id iz6Ura1k4Pu0; Tue, 19 Jan 2010 20:51:30 -0800
Received: from xpasc.com (egate.xpasc.com [10.1.2.49]) by bslepgate.xpasc.com (Postfix-out) with ESMTP id ADADF100585 for <http-state@ietf.org>; Tue, 19 Jan 2010 20:51:30 -0800 (PST)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id o0K4pUx9011520 for <http-state@ietf.org>; Tue, 19 Jan 2010 20:51:30 -0800
Date: Tue, 19 Jan 2010 20:51:30 -0800
From: David Morris <dwm@xpasc.com>
To: http-state <http-state@ietf.org>
In-Reply-To: <7789133a1001191410l48530adar28098a03e6de0fb1@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.1001192044220.10824@egate.xpasc.com>
References: <7789133a1001191410l48530adar28098a03e6de0fb1@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
X-Propel-ID: iz6Ura1k4Pu0
Subject: Re: [http-state] Ticket 5: Cookie ordering
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: http-state <http-state@ietf.org>
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/http-state>, <mailto:http-state-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/http-state>
List-Post: <mailto:http-state@ietf.org>
List-Help: <mailto:http-state-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-state>, <mailto:http-state-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jan 2010 04:51:35 -0000

On Tue, 19 Jan 2010, Adam Barth wrote:

> Ticket 3 is still open for discussion, but I'd like to get started
> talking the next ticket:
> http://trac.tools.ietf.org/wg/httpstate/trac/ticket/5
>
> == Overview ==
>
> Currently the draft defines the order in which cookies should appear
> in the Cookie header.  In particular, cookies are ordered first by the
> length of the Path attribute (longest first) and then by creation date
> (earliest first).  The majority of the most widely used user agents
> use this ordering. (I can look up exactly which browsers follow the
> ordering if that's important.)
>
> Sending cookies with longer (i.e., more specific) paths first is
> important for compatibly because some servers host multiple (mutually
> trusting) web applications at different (possibly overlapping) paths.

I think 'longer' is not a precise term ... likewise, 'more specific' isn't
precise enough to avoid confusion. I think what would be expected is that
the path sith the most 'levels' (as noted by '/' characters) is longer in 
a deeper into the hierarachy sense. Same depth, the age rule could apply.

If 'more specific' is already defined similar to what I've outlined,
you can igore this comment.

Dave Morris