Changes between Version 20 and Version 21 of ContentDispositionErrorHandling


Ignore:
Timestamp:
Dec 13, 2010, 2:13:49 AM (9 years ago)
Author:
ietf@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContentDispositionErrorHandling

    v20 v21  
    2929}}}
    3030
     31Consider each emitted string of characters in turn.  If the string matches the grammar below, the string is a name-value-pair.  Otherwise, the string is a disposition-type.
    3132
    32   Using the simplified grammar below:
     33{{{
     34  name-value-pair = name "=" value
     35  name = <OCTET, except "=">
     36  value = OCTET
     37}}}
    3338
    34     field-value = disp-type *( ";" param )
    35     disp-type   = token
    36     param       = token "=" value
     39== Duplicate Elements ==
    3740
    38   ...parse the field value into a disp-type (disposition type) and a
    39   sequence of parameters (pairs of name (token) and value).
     41If the header field contains more than one disposition-type, ignore all the disposition-types except the first one.
    4042
    41   Treat the result values as characters encoded using the ISO-8859-1
    42   character encoding ([ISO-8859-1]).
    43 
    44   Lower-case all disposition types and parameter names (note that these
    45   characters will all fall into the US-ASCII range by definition in the
    46   ABNF).
    47 
    48   If the field value does not conform to the grammar (such as when not
    49   exactly one disposition type is specified), ignore the whole header
    50   field.
    51 
    52 == Checking Cardinality Constraints ==
    53 
    54   If the parameter sequence contains multiple instances of the same
    55   parameter name, ignore the whole header field.
    56 
    57   TODO(abarth): We want to take the first.
     43Of all the name-value-pairs that share a common name (when compared ASCII-case insensitively), ignore all but the first.
    5844
    5945== Post-Process Parameter Values ==