Re: Set-Cookie and Cookie Optimized Binary Encoding

Nico Williams <nico@cryptonector.com> Sun, 20 January 2013 02:17 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 80DBB21F875F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 19 Jan 2013 18:17:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.882
X-Spam-Level:
X-Spam-Status: No, score=-7.882 tagged_above=-999 required=5 tests=[AWL=2.095, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3-wxIWpLO8Nm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 19 Jan 2013 18:17:06 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A8E5021F8722 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 19 Jan 2013 18:17:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TwjwD-0005kS-CE for ietf-http-wg-dist@listhub.w3.org; Sun, 20 Jan 2013 01:43:09 +0000
Resent-Date: Sun, 20 Jan 2013 01:43:09 +0000
Resent-Message-Id: <E1TwjwD-0005kS-CE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Twjvy-0005jf-NQ for ietf-http-wg@listhub.w3.org; Sun, 20 Jan 2013 01:42:54 +0000
Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a65.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Twjvy-00047U-12 for ietf-http-wg@w3.org; Sun, 20 Jan 2013 01:42:54 +0000
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id A6D707E405D for <ietf-http-wg@w3.org>; Sat, 19 Jan 2013 17:42:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=B6V/6Wwdv13+UHBTG8Or ICXaKCY=; b=ChPNha+Zf78pyFZWkyYhUAYtx07Apqso7Ty0prjXmWaYiIaE3Mpp ItqTY2reJYCOmwl0T8FdPeg2b/bRGdkqGdzo28q7cj2pRvS/vhFagCuoYbV/9WfG uQJCrPxI3H75XWZ40I16sgltxUP7CKyP7yVIhqC0/s73N5X2vxAm98w=
Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id 523857E4056 for <ietf-http-wg@w3.org>; Sat, 19 Jan 2013 17:42:32 -0800 (PST)
Received: by mail-wg0-f50.google.com with SMTP id es5so2928988wgb.17 for <ietf-http-wg@w3.org>; Sat, 19 Jan 2013 17:42:31 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.194.80.73 with SMTP id p9mr20629829wjx.4.1358646151113; Sat, 19 Jan 2013 17:42:31 -0800 (PST)
Received: by 10.217.82.73 with HTTP; Sat, 19 Jan 2013 17:42:30 -0800 (PST)
In-Reply-To: <CABP7RbfwsdC1Fkt0P8TB3bMyJhb7ENM0cptJgF-=aV9ZSmS7+A@mail.gmail.com>
References: <CABP7RbcYw4=Lv_JHRAq9HNKQZ9GthE1ZhbXGC4fPna1aD3eZeA@mail.gmail.com> <591317E9-3090-4491-8694-F1E06217D6B4@mnot.net> <CABP7RbfTrN0GLRDrnLWvoyE5TfE+8U=0frpD0kHVcz+dqCkA2Q@mail.gmail.com> <CAK3OfOgYgemMX9FHrTWnv=+oWaVjtj7R9qyToznb0Y2yjKnCGQ@mail.gmail.com> <CABP7RbfwsdC1Fkt0P8TB3bMyJhb7ENM0cptJgF-=aV9ZSmS7+A@mail.gmail.com>
Date: Sat, 19 Jan 2013 19:42:30 -0600
Message-ID: <CAK3OfOiG9fiky6OGC5O7Rr1HK7hq4uKyO9dOGY5Y4-hSqzu-2A@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: James M Snell <jasnell@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=208.97.132.145; envelope-from=nico@cryptonector.com; helo=homiemail-a65.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-2.500, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Twjvy-00047U-12 282affc689b2205ca359d5ef75fb3ad8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Set-Cookie and Cookie Optimized Binary Encoding
Archived-At: <http://www.w3.org/mid/CAK3OfOiG9fiky6OGC5O7Rr1HK7hq4uKyO9dOGY5Y4-hSqzu-2A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16031
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Sat, Jan 19, 2013 at 7:31 PM, James M Snell <jasnell@gmail.com> wrote:
> Part of that escape hatch ought to be a bit in the encoded header that
> indicates a binary or text value. If it's text, then the 1.1 format is used.
> If it's binary, the optimized format is used and we get a closest we can get
> compromise on the translation from one to the other.

Exactly.