ietf-822
[Top] [All Lists]

Re: RFC 2231 and CFWS

2003-01-23 05:15:54

In <20030122172649(_dot_)59299c0d(_dot_)moore(_at_)cs(_dot_)utk(_dot_)edu> 
Keith Moore <moore(_at_)cs(_dot_)utk(_dot_)edu> writes:

So, prior to 2231, a parameter can be

    ()token()=()token()
or  ()token()=()"quoted-string"()

Under 2231, we can also have an asterisk, possibly followed by DIGITS,
between the token and the '='. So are they to be considerd as an
appendage to the token, or as a prependage to the "=" or, IOW, where
may I put () amongst them? 

they are part of the token that is the parameter name.  no, you may not
put comments in the middle of the parameter name.

So you are saying that the most that is allowed is

    ()token*0()=()token()
       ditto   =()"quoted-string"()
       ditto   =()ascii'en_US'foo%20bar()

Also, I presume that the charset and language form can have () before
and after, but nowhere in the middle, as in

nope, you cannot have white space in the middle of the parameter.

But it can still go either side of the '=' surely?

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133   Web: http://www.cs.man.ac.uk/~chl
Email: chl(_at_)clw(_dot_)cs(_dot_)man(_dot_)ac(_dot_)uk      Snail: 5 
Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5

<Prev in Thread] Current Thread [Next in Thread>