On Mon, Aug 10, 2015 at 8:40 AM, Julian Reschke <julian.reschke@gmx.de>
wrote:
> I'd follow the httpbis definition model and only define the field *value*
> in the ABNF, and also keep the distinction between "option" and "parameter"
> in the names so it's easier to discuss in prose:
>
> Clear-Site-Data = 1#option
> option = key-value *( OWS ";" [ OWS parameter ] )
> key-value = token [ BWS "=" BWS word ]
> parameter = token [ BWS "=" BWS word ]
> word = token / quoted-string
>
I've taken a stab at this in
https://w3c.github.io/webappsec/specs/clear-site-data/#header
(unfortunately-hard-to-parse diff:
https://github.com/w3c/webappsec/commit/65a99f888eb8c40ca8e9fb40e1b213bc1586b68e
).
WDYT?
the ability to use '*' to mean "clear everything". I suppose we can
>> easily replace that with an "clear-everything-no-really-i-mean-it"
>> keyword.
>>
>
> The string "*" is an allowed token; see <
> http://greenbytes.de/tech/webdav/rfc7230.html#rfc.iref.g.34>.
Hooray, thanks!
-mike