[http-state] BNF notation differences, was: Comments on draft-ietf-httpstate-cookie-08.txt (1 - 4.1.2.)
Julian Reschke <julian.reschke@gmx.de> Wed, 14 July 2010 14:10 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 06C843A6A53 for <http-state@core3.amsl.com>; Wed, 14 Jul 2010 07:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.297
X-Spam-Level:
X-Spam-Status: No, score=-3.297 tagged_above=-999 required=5 tests=[AWL=-0.698, 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 F-880EwZ0dhG for <http-state@core3.amsl.com>; Wed, 14 Jul 2010 07:10:09 -0700 (PDT)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id 25B8A3A65A5 for <http-state@ietf.org>; Wed, 14 Jul 2010 07:10:08 -0700 (PDT)
Received: (qmail invoked by alias); 14 Jul 2010 14:10:17 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.113]) [217.91.35.233] by mail.gmx.net (mp002) with SMTP; 14 Jul 2010 16:10:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX183RPB9fEA3wA5G2lx87rrAE5n6W7TZ0yEQ2jaK6q l+q1RVhhp+oZha
Message-ID: <4C3DC535.4020205@gmx.de>
Date: Wed, 14 Jul 2010 16:09:57 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5
MIME-Version: 1.0
To: Adam Barth <ietf@adambarth.com>
References: <f5jqv5pu3oksmjndegd5a329gp40opqsr5@hive.bjoern.hoehrmann.de> <AANLkTin2dZ3v681D2W4yZEHhnc_0G8mAQRsMA8ZQ6wWF@mail.gmail.com> <g13rv59fpsefi1jhuuuds4evqqc8baia7o@hive.bjoern.hoehrmann.de> <AANLkTimUXR0FI3D3KKZ2rOO2QEEGReKlRBCY5ZanwL24@mail.gmail.com> <lbb706tqebunfropg9o1teehms9fu5aq53@hive.bjoern.hoehrmann.de> <AANLkTinmliI2Sp0hU0m0IqzWpEpACeNLbW_Q_KeQnJ-O@mail.gmail.com>
In-Reply-To: <AANLkTinmliI2Sp0hU0m0IqzWpEpACeNLbW_Q_KeQnJ-O@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: http-state@ietf.org
Subject: [http-state] BNF notation differences, was: Comments on draft-ietf-httpstate-cookie-08.txt (1 - 4.1.2.)
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: Wed, 14 Jul 2010 14:10:11 -0000
On 31.05.2010 18:25, Adam Barth wrote: > ... >> Copying the rfc1123-date grammar from draft-ietf-httpbis-p1-messaging-09 >> into an appendix would probably be the best solution as differences with >> case-sensitivity and white space would then no longer be a source of >> confusion. Otherwise there simply should be a reminder that the grammar >> notation is different from RFC 2616 and care must be taken to apply the >> right rules for imported symbols. > > I've add the following text near the use of 1123-date: > > [[ > sane-cookie-date =<rfc1123-date, as defined in RFC 2616> > ; Note that RFC 2616 uses a different grammatical notation > ; than this document (which uses ABNF from RFC5234). > ]] > > Hopefully that addresses your concerns. > ... The current ABNF is: set-cookie-header = "Set-Cookie:" SP set-cookie-string set-cookie-string = cookie-pair *( ";" SP cookie-av ) cookie-pair = cookie-name "=" cookie-value cookie-name = token cookie-value = token token = <token, defined in [RFC 2616], Section 2.2> cookie-av = expires-av / max-age-av / domain-av / path-av / secure-av / httponly-av / extension-av expires-av = "Expires=" sane-cookie-date sane-cookie-date = <rfc1123-date, defined in [RFC 2616], Section 3.3.1> ; Note that RFC 2616 uses a different grammatical ; notation than this document (which uses ABNF ; from [RFC5234]). max-age-av = "Max-Age=" 1*DIGIT domain-av = "Domain=" domain-value domain-value = <subdomain, defined in [RFC 1034], Section 3.5> path-av = "Path=" path-value path-value = <any CHAR except CTLs or ";"> secure-av = "Secure" httponly-av = "HttpOnly" extension-av = <any CHAR except CTLs or ";"> So the comment was applied to sane-cookie-date, but it also applies to token. Furthermore, the ABNF for domain-value (RFC 1034) uses yet another syntax. So maybe it would be better to remove the comment again, and just to add a prose warning that these three productions inherited from other specs are defined in different variants of ABNF. Also, re: <any CHAR except CTLs or ";"> I think it would be good to avoid prose productions. In this case, an alternative would be: 0x20-3A / 0x3C-7E ; any CHAR except CTLs or ";" Best regards, Julian
- [http-state] Comments on draft-ietf-httpstate-coo… Bjoern Hoehrmann
- Re: [http-state] Comments on draft-ietf-httpstate… Adam Barth
- Re: [http-state] Comments on draft-ietf-httpstate… Bjoern Hoehrmann
- Re: [http-state] Comments on draft-ietf-httpstate… Daniel Stenberg
- Re: [http-state] Comments on draft-ietf-httpstate… Bjoern Hoehrmann
- Re: [http-state] Comments on draft-ietf-httpstate… Adam Barth
- Re: [http-state] Comments on draft-ietf-httpstate… Bjoern Hoehrmann
- Re: [http-state] Comments on draft-ietf-httpstate… Adam Barth
- Re: [http-state] Comments on draft-ietf-httpstate… Julian Reschke
- Re: [http-state] Comments on draft-ietf-httpstate… Bjoern Hoehrmann
- Re: [http-state] Comments on draft-ietf-httpstate… Adam Barth
- Re: [http-state] Comments on draft-ietf-httpstate… Bjoern Hoehrmann
- Re: [http-state] Comments on draft-ietf-httpstate… Adam Barth
- [http-state] BNF notation differences, was: Comme… Julian Reschke
- Re: [http-state] BNF notation differences, was: C… Bjoern Hoehrmann
- Re: [http-state] BNF notation differences, was: C… Adam Barth
- Re: [http-state] BNF notation differences, was: C… Adam Barth
- [http-state] ABNF prose productions, was: BNF not… Julian Reschke
- Re: [http-state] BNF notation differences, was: C… Julian Reschke