Ignore:
Timestamp:
Jul 4, 2012, 12:54:55 PM (7 years ago)
Author:
julian.reschke@…
Message:

Work-in-progress: hyperlink status codes definitions (2xx range)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p5-range.xml

    r1708 r1715  
    335335    <t>
    336336        Cache-Control, ETag, Expires, Content-Location and/or Vary, if
    337         the header field would have been sent in a 200 response to the
     337        the header field would have been sent in a <x:ref>200 (OK)</x:ref> response to the
    338338        same request
    339339    </t>
     
    344344   &SHOULD-NOT; include other representation header fields. Otherwise, the response
    345345   &MUST; include all of the representation header fields that would have been returned
    346    with a 200 (OK) response to the same request.
     346   with a <x:ref>200 (OK)</x:ref> response to the same request.
    347347</t>
    348348<t>
     
    380380  <t>
    381381    &Note; Clients cannot depend on servers to send a <x:ref>416 (Requested
    382     Range Not Satisfiable)</x:ref> response instead of a 200 (OK) response for
    383     an unsatisfiable Range header field, since not all servers
     382    Range Not Satisfiable)</x:ref> response instead of a <x:ref>200 (OK)</x:ref>
     383    response for an unsatisfiable Range header field, since not all servers
    384384    implement this header field.
    385385  </t>
     
    444444</t>
    445445<t>
    446    When a client receives an incomplete 200 (OK) or <x:ref>206 (Partial Content)</x:ref>
     446   When a client receives an incomplete <x:ref>200 (OK)</x:ref> or <x:ref>206 (Partial Content)</x:ref>
    447447   response and already has one or more stored responses for the same method
    448448   and effective request URI, all of the stored responses with the same
     
    453453</t>
    454454<t>
    455    If the new response is an incomplete 200 (OK) response, then the header
     455   If the new response is an incomplete <x:ref>200 (OK)</x:ref> response, then the header
    456456   fields of that new response are used for any combined response and replace
    457457   those of the matching stored responses.
     
    459459<t>
    460460   If the new response is a <x:ref>206 (Partial Content)</x:ref> response and at least one
    461    of the matching stored responses is a 200 (OK), then the combined response
     461   of the matching stored responses is a <x:ref>200 (OK)</x:ref>, then the combined response
    462462   header fields consist of the most recent 200 response's header fields.
    463463   If all of the matching stored responses are 206 responses, then the
     
    472472   content ranges in the new response and each of the selected responses.
    473473   If the union consists of the entire range of the representation, then the
    474    combined response &MUST; be recorded as a complete 200 (OK) response
     474   combined response &MUST; be recorded as a complete <x:ref>200 (OK)</x:ref> response
    475475   with a Content-Length header field that reflects the complete length.
    476476   Otherwise, the combined response(s) &MUST; include a Content-Range
     
    626626   syntactically invalid, or if it might be seen as a denial-of-service
    627627   attack), the server &SHOULD; treat the request as if the invalid Range
    628    header field did not exist. (Normally, this means return a 200
     628   header field did not exist. (Normally, this means return a <x:ref>200 (OK)</x:ref>
    629629   response containing the full representation).
    630630</t>
     
    681681   the server &SHOULD; send the specified sub-range of the representation
    682682   using a <x:ref>206 (Partial Content)</x:ref> response. If the validator does not match,
    683    then the server &SHOULD; send the entire representation using a 200 (OK)
     683   then the server &SHOULD; send the entire representation using a <x:ref>200 (OK)</x:ref>
    684684   response.
    685685</t>
     
    833833        what is returned if the GET is otherwise successful. In other
    834834        words, the response carries a status code of <x:ref>206 (Partial Content)</x:ref>
    835         instead of 200 (OK).</t>
     835        instead of <x:ref>200 (OK)</x:ref>.</t>
    836836
    837837     <t>The presence of a Range header field in a conditional GET (a request
     
    10201020  </front>
    10211021  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;"/>
    1022   <x:source href="p2-semantics.xml" basename="p2-semantics"/>
     1022  <x:source href="p2-semantics.xml" basename="p2-semantics">
     1023    <x:defines>200 (OK)</x:defines>
     1024  </x:source>
    10231025</reference>
    10241026
Note: See TracChangeset for help on using the changeset viewer.