- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Tue, 29 Sep 2009 19:33:09 +0200
- 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 UTC