Ignore:
Timestamp:
Oct 30, 2010, 10:00:59 AM (9 years ago)
Author:
julian.reschke@…
Message:

From 2817: adopt Upgrade semantics for status != 101, plus status code 426 (see #240)

File:
1 edited

Legend:

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

    r1070 r1071  
    612612     / "416"  ; &status-416;: Requested range not satisfiable
    613613     / "417"  ; <xref target="status.417"/>: Expectation Failed
     614     / "426"  ; <xref target="status.426"/>: Upgrade Required
    614615     / "500"  ; <xref target="status.500"/>: Internal Server Error
    615616     / "501"  ; <xref target="status.501"/>: Not Implemented
     
    19521953</t>
    19531954</section>
     1955
     1956<section title="426 Upgrade Required" anchor="status.426">
     1957  <iref primary="true" item="426 Upgrade Required (status code)" x:for-anchor=""/>
     1958  <iref primary="true" item="Status Codes" subitem="426 Upgrade Required" x:for-anchor=""/>
     1959<t>
     1960   The request can not be completed without a prior protocol upgrade. This
     1961   response &MUST; include an Upgrade header field (&header-upgrade;)
     1962   specifying the required protocols.
     1963</t>
     1964<figure>
     1965<preamble>Example:</preamble>
     1966<artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     1967HTTP/1.1 426 Upgrade Required
     1968Upgrade: HTTP/2.0
     1969Connection: Upgrade
     1970
     1971</artwork></figure>
     1972<t>
     1973   The server &SHOULD; include a message body in the 426 response which
     1974   indicates in human readable form the reason for the error and describes any
     1975   alternative courses which may be available to the user.
     1976</t>
     1977</section>
    19541978</section>
    19551979
     
    26872711   <c>
    26882712      <xref target="status.417"/>
     2713   </c>
     2714   <c>426</c>
     2715   <c>Upgrade Required</c>
     2716   <c>
     2717      <xref target="status.426"/>
    26892718   </c>
    26902719   <c>500</c>
     
    34483477</t>
    34493478<t>
     3479  Define status 426 (Upgrade Required) (this was incorporated from
     3480  <xref target="RFC2817"/>).
     3481  (<xref target="status.426"/>)
     3482</t>
     3483<t>
    34503484  Reclassify "Allow" as response header field, removing the option to
    34513485  specify it in a PUT request.
     
    35463580 "307" / "400" / "401" / "402" / "403" / "404" / "405" / "406" /
    35473581 "407" / "408" / "409" / "410" / "411" / "412" / "413" / "414" /
    3548  "415" / "416" / "417" / "500" / "501" / "502" / "503" / "504" /
    3549  "505" / extension-code
     3582 "415" / "416" / "417" / "426" / "500" / "501" / "502" / "503" /
     3583 "504" / "505" / extension-code
    35503584
    35513585<x:ref>TE</x:ref> = &lt;TE, defined in [Part1], Section 9.5&gt;
     
    40054039      "Migrate CONNECT from RFC2817 to p2"
    40064040    </t>
     4041    <t>
     4042      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/240"/>:
     4043      "Migrate Upgrade details from RFC2817"
     4044    </t>
    40074045  </list>
    40084046</t>
Note: See TracChangeset for help on using the changeset viewer.