- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Wed, 26 Oct 2011 15:17:25 +0200
- To: Håkan <hakan.canberger@gmail.com>
- CC: ietf-http-wg@w3.org
On 2011-10-26 15:08, Håkan wrote: > ... > Agree with that too. Spaces are allowed BETWEEN the elements and list > separator. But spaces are not allowed BEFORE the first list separator or > element, and spaces are not allowed AFTER the last list separator or > element, according to the list rules. But the example " foo , > ,bar,charlie " states it's allowed. > > The rules would have to look something like this to allow OWS before and > after (not a real attempt to produce correct rules, just to illustrate > my point): > > #element => [ *OWS ( "," / element ) *( OWS "," [ OWS element ] ) *OWS ] > 1#element => *OWS *( "," OWS ) element *( OWS "," [ OWS element ] ) *OWS > ... Ack. Those are allowed because of the header-field ABNF: header-field = field-name ":" OWS field-value BWS ...but I agree that the prose around the examples needs to say that... Best regards, Julian
Received on Wednesday, 26 October 2011 13:18:01 UTC