Changes between Version 19 and Version 20 of ContentDispositionErrorHandling


Ignore:
Timestamp:
13/12/10 10:05:23 (9 years ago)
Author:
ietf@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContentDispositionErrorHandling

    v19 v20  
    11= A proposal for optional error handling in processing the Content-Disposition header field =
    22
    3   This document does not require any specific handling of invalid
    4   header field values.  With this in mind, the text below describes a
    5   simple strategy for parsing the header field and detecting problems
    6   in general, or in specific parameters.
     3This document does not require any specific handling of invalid
     4header field values.  With this in mind, the text below describes a
     5simple strategy for parsing the header field and detecting problems
     6in general, or in specific parameters.
    77
    88== Combine Multiple Instances of Content-Disposition ==
    99
    10   If the HTTP message contains multiple instances of the Content-
    11   Disposition header field, combine all field values into a single one
    12   as specified in Section 4.2 of [RFC2616].
     10If the HTTP message contains multiple instances of the Content-
     11Disposition header field, combine all field values into a single one
     12as specified in Section 4.2 of [RFC2616].
    1313
    1414== Parsing for Disposition Type and Parameters ==
     15
     16Parse the field value using the state machine below (starting in the INITIAL state):
     17
     18{{{
     19INITIAL:
     20  <">   => Buffer the current character and switch to the QUOTED state.
     21  ";"   => Emit the buffered characters.
     22  EOF   => Emit the buffered characters.
     23  OTHER => Buffer the current character.
     24
     25QUOTED:
     26  <">   => Buffer the current character and switch to the INITIAL state.
     27  EOF   => Emit the buffered characters.
     28  OTHER => Buffer the current character.
     29}}}
     30
    1531
    1632  Using the simplified grammar below: