Re: [http-state] Updated draft

Julian Reschke <julian.reschke@gmx.de> Mon, 17 August 2009 19:45 UTC

Return-Path: <julian.reschke@gmx.de>
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 4561028C2E4 for <http-state@core3.amsl.com>; Mon, 17 Aug 2009 12:45:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.74
X-Spam-Level:
X-Spam-Status: No, score=-3.74 tagged_above=-999 required=5 tests=[AWL=-1.141, 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 TOvryFRZvfy0 for <http-state@core3.amsl.com>; Mon, 17 Aug 2009 12:45:42 -0700 (PDT)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id 222093A6916 for <http-state@ietf.org>; Mon, 17 Aug 2009 12:45:41 -0700 (PDT)
Received: (qmail invoked by alias); 17 Aug 2009 19:45:45 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.117]) [217.91.35.233] by mail.gmx.net (mp025) with SMTP; 17 Aug 2009 21:45:45 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19m1BpYHB1mlJ37ntgOG3DTLqU+8kaoWd1ubKzS9I RmG+DUncq+sCVw
Message-ID: <4A89B35C.6010601@gmx.de>
Date: Mon, 17 Aug 2009 21:45:32 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: Adam Barth <ietf@adambarth.com>
References: <7789133a0908151008p35ff30e6w2761368fe70d41a6@mail.gmail.com> <7789133a0908161032l2265ce5fg966c434f1b05aa64@mail.gmail.com> <alpine.DEB.2.00.0908161952060.13789@yvahk2.pbagnpgbe.fr> <7789133a0908161131s5741d457q812b5e4213452054@mail.gmail.com> <alpine.DEB.2.00.0908162035140.13789@yvahk2.pbagnpgbe.fr> <4A889417.9020709@gmail.com> <alpine.DEB.2.00.0908170929100.22132@yvahk2.pbagnpgbe.fr> <7789133a0908170853r5a81b84cu1308049256f51d2c@mail.gmail.com> <7789133a0908170908r4e3e8d30v7187bbf67f76b95c@mail.gmail.com> <4A8996DE.4030905@gmx.de> <7789133a0908171152q5cdd97beia9e4034148e63e0e@mail.gmail.com>
In-Reply-To: <7789133a0908171152q5cdd97beia9e4034148e63e0e@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.65
Cc: Daniel Stenberg <daniel@haxx.se>, http-state <http-state@ietf.org>
Subject: Re: [http-state] Updated draft
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
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: Mon, 17 Aug 2009 19:45:43 -0000

Adam Barth wrote:
> On Mon, Aug 17, 2009 at 10:43 AM, Julian Reschke<julian.reschke@gmx.de> wrote:
>> Why would you have to pick an ordering?
>>
>> In Java, I might just drop then into a HashSet, and never worry about
>> ordering...
> 
> In the end you have to serialize the set of cookies you transmit to
> the server into a sequence of bytes for the Cookie header.  When you
> do this, you have to pick an ordering for that sequence of bytes.  Of
> course, you can pick a different order each time you serialize, but
> that seems inferior to matching the behavior of 99% of the market.

Well, no. I'll just obtain an Iterator from Java, and the order it 
returns the values will be implementation-dependant.

BR, Julian