W3C home > Mailing lists > Public > www-archive@w3.org > September 2009

Re: [draft-abarth-origin-03] feedback

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 29 Sep 2009 19:33:09 +0200
Message-ID: <4AC244D5.1080208@gmx.de>
To: Adam Barth <w3c@adambarth.com>
CC: Anne van Kesteren <annevk@opera.com>, www-archive@w3.org
Adam Barth wrote:
> On Tue, Sep 29, 2009 at 10:13 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
>> Anne van Kesteren wrote:
>>> The origin production does not need 1*WSP as far as I know. Or is this how
>>> headers are supposed to be defined per 2616bis?
>>> ...
>> It needs to specify the whitespace, unless it invokes the special ABNF
>> semantics from RFC2616 that use implied LWS (which I don't think it does).
> 
> We don't want to use the implied whitespace because it screws up the
> serialized-origin production.  What magically sequence of characters
> should I include in this production to make this header behave like a
> normal header?
> 
>   origin            = "origin" ":" [ "null" / origin-list ]

I think you need

origin            = "origin" ":" OWS [ "null" / origin-list ] OWS

where OWS is defined in 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-latest.html#rfc.section.1.2.2> 
as

   OWS            = *( [ obs-fold ] WSP )
                  ; "optional" whitespace
   obs-fold       = CRLF

BR, Julian
Received on Tuesday, 29 September 2009 17:34:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:26 GMT