(for brainstorming around issue ticket #266)
BWS = <HTTPbis P1 BWS> OWS = <HTTPbis P1 OWS> token = <HTTPbis P1 token> quoted-string = <HTTPbis P1 quoted-string> word = token / quoted-string param = token BWS "=" BWS word
A parameter that can be value-less:
paramvl = token [ BWS "=" BWS word ]
the following values should be treated as equivalent (empty string)
thing = <TO BE DONE based on our use cases> PS = thing *( OWS ";" [ OWS param ]) PSvl = thing *( OWS ";" [ OWS paramvl ])
(making the param optional makes trailing semicolons valid; there's no point to forbid them)
Examples for "thing"
Accept, Content-Type: subset of token plus "/"
Expect: allows both token and token=value
Link: URI characters (superset of token including ";" but not DQUOTE)
LoPS = #PS LoPSvl = #PSvl
LoPS (where accept extensions are allowed to use a single token form)
LoPS (do charset names need characters outside token?)
LoPS (do language tags need characters outside token?)
PS (but note the special case in RFC2397, Section 3 ("data" URI)
The content of this page was last updated on 2012-03-26. It was migrated from the old Trac wiki on 2022-12-13.