Ignore:
Timestamp:
11/08/13 00:00:48 (9 years ago)
Author:
fielding@…
Message:

Restore the ability for 205 responses to be sent with a zero-length chunked body; addresses #491 and related to #88

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r2352 r2353  
    29712971<t>
    29722972   Since the 205 status code implies that no additional content will be
    2973    provided in the payload, the server &MUST; send a message body of zero
    2974    length. In other words, the server &MUST; send a "Content-Length: 0" field
    2975    in a 205 response or close the connection immediately after sending the
    2976    blank line terminating the header section.
     2973   provided, a server &MUST-NOT; generate a payload in a 205 response.
     2974   In other words, a server &MUST; do one of the following for a 205 response:
     2975   a) indicate a zero-length body for the response by including a
     2976   <x:ref>Content-Length</x:ref> header field with a value of 0;
     2977   b) indicate a zero-length payload for the response by including a
     2978   <x:ref>Transfer-Encoding</x:ref> header field with a value of chunked and
     2979   a message body consisting of a single chunk of zero-length; or,
     2980   c) close the connection immediately after sending the blank line
     2981   terminating the header section.
    29772982</t>
    29782983</section>
Note: See TracChangeset for help on using the changeset viewer.