Re: [http-state] Incorrect example in Section 3.1 of draft-ietf-httpstate-cookie-05

Adam Barth <ietf@adambarth.com> Sun, 04 April 2010 00:34 UTC

Return-Path: <ietf@adambarth.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 052853A6894 for <http-state@core3.amsl.com>; Sat, 3 Apr 2010 17:34:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.623
X-Spam-Level:
X-Spam-Status: No, score=0.623 tagged_above=-999 required=5 tests=[BAYES_50=0.001, FM_FORGED_GMAIL=0.622]
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 fIn0oRx59Mse for <http-state@core3.amsl.com>; Sat, 3 Apr 2010 17:34:05 -0700 (PDT)
Received: from mail-gx0-f217.google.com (mail-gx0-f217.google.com [209.85.217.217]) by core3.amsl.com (Postfix) with ESMTP id EAC903A6857 for <http-state@ietf.org>; Sat, 3 Apr 2010 17:34:04 -0700 (PDT)
Received: by gxk9 with SMTP id 9so2348515gxk.8 for <http-state@ietf.org>; Sat, 03 Apr 2010 17:34:01 -0700 (PDT)
Received: by 10.150.243.17 with SMTP id q17mr4384679ybh.103.1270341241128; Sat, 03 Apr 2010 17:34:01 -0700 (PDT)
Received: from mail-iw0-f194.google.com (mail-iw0-f194.google.com [209.85.223.194]) by mx.google.com with ESMTPS id 21sm212772iwn.3.2010.04.03.17.33.59 (version=SSLv3 cipher=RC4-MD5); Sat, 03 Apr 2010 17:33:59 -0700 (PDT)
Received: by iwn32 with SMTP id 32so2141861iwn.18 for <http-state@ietf.org>; Sat, 03 Apr 2010 17:33:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.177.225 with HTTP; Sat, 3 Apr 2010 17:33:39 -0700 (PDT)
In-Reply-To: <EEF745DD-7335-42D8-A27F-3C47E187D8A3@apple.com>
References: <EEF745DD-7335-42D8-A27F-3C47E187D8A3@apple.com>
From: Adam Barth <ietf@adambarth.com>
Date: Sat, 3 Apr 2010 17:33:39 -0700
Received: by 10.231.149.6 with SMTP id r6mr859207ibv.86.1270341239249; Sat, 03 Apr 2010 17:33:59 -0700 (PDT)
Message-ID: <h2k5c4444771004031733w48a973a0s5737fbb4cc41de45@mail.gmail.com>
To: David Kilzer <ddkilzer@apple.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: http-state@ietf.org
Subject: Re: [http-state] Incorrect example in Section 3.1 of draft-ietf-httpstate-cookie-05
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: Sun, 04 Apr 2010 00:34:06 -0000

The issue is corrected at top-of-tree:

http://github.com/abarth/http-state/blob/master/drafts/cookie.xml#L176

I need to incorporate the feedback from IETF77 and then I'll push an
updated draft.

Thanks,
Adam


On Sat, Apr 3, 2010 at 5:16 PM, David Kilzer <ddkilzer@apple.com> wrote:
> In Section 3.1 of
> <https://datatracker.ietf.org/doc/draft-ietf-httpstate-cookie/> there is
> this example:
>
>    == Server -> User Agent ==
>    Set-Cookie: SID=31d4d96e407aad42; Path=/; Secure, HttpOnly
>    Set-Cookie: lang=en-US; Path=/; Domain=.example.com
>
> However, the separator between "Secure" and "HttpOnly" is a comma (",")
> instead of a semi-colon (";").
> Based on the ABNF used in Section 4.1.1, this is not a (fully) valid header.
> I'm assuming that the examples in this section should be valid, so you may
> wish to fix this.
> Dave
>