Ticket #146: 146.diff

File 146.diff, 3.4 KB (added by julian.reschke@…, 10 years ago)

proposed patch for part 2

  • p2-semantics.xml

     
    443443  <x:ref>extension-method</x:ref> = <x:ref>token</x:ref>
    444444</artwork></figure>
    445445<t>
    446    The list of methods allowed by a resource can be specified in an
     446   The list of methods supported by a resource can be specified in an
    447447   Allow header field (<xref target="header.allow"/>). The return code of the response
    448    always notifies the client whether a method is currently allowed on a
    449    resource, since the set of allowed methods can change dynamically. An
    450    origin server &SHOULD; return the status code 405 (Method Not Allowed)
    451    if the method is known by the origin server but not allowed for the
     448   always notifies the client whether a method is currently supported on a
     449   resource, since the set of supported methods can change dynamically. An
     450   origin server &SHOULD; return the status code 405 (Method Not Supported)
     451   if the method is known by the origin server but not supported for the
    452452   requested resource, and 501 (Not Implemented) if the method is
    453453   unrecognized or not implemented by the origin server. The methods GET
    454454   and HEAD &MUST; be supported by all general-purpose servers. All other
     
    566566     / "402"  ; <xref target="status.402"/>: Payment Required
    567567     / "403"  ; <xref target="status.403"/>: Forbidden
    568568     / "404"  ; <xref target="status.404"/>: Not Found
    569      / "405"  ; <xref target="status.405"/>: Method Not Allowed
     569     / "405"  ; <xref target="status.405"/>: Method Not Supported
    570570     / "406"  ; <xref target="status.406"/>: Not Acceptable
    571571     / "407"  ; &status-407;: Proxy Authentication Required
    572572     / "408"  ; <xref target="status.408"/>: Request Time-out
     
    15931593</t>
    15941594</section>
    15951595
    1596 <section title="405 Method Not Allowed" anchor="status.405">
    1597   <iref primary="true" item="405 Method Not Allowed (status code)" x:for-anchor=""/>
    1598   <iref primary="true" item="Status Codes" subitem="405 Method Not Allowed" x:for-anchor=""/>
     1596<section title="405 Method Not Supported" anchor="status.405">
     1597  <iref primary="true" item="405 Method Not Supported (status code)" x:for-anchor=""/>
     1598  <iref primary="true" item="Status Codes" subitem="405 Method Not Supported" x:for-anchor=""/>
    15991599<t>
    1600    The method specified in the Request-Line is not allowed for the
     1600   The method specified in the Request-Line is not supported by the
    16011601   resource identified by the Effective Request URI. The response &MUST; include an
    16021602   Allow header containing a list of valid methods for the requested
    16031603   resource.
     
    19261926  Allow: GET, HEAD, PUT
    19271927</artwork></figure>
    19281928<t>
    1929       The actual set of allowed methods is defined
     1929      The actual set of supported methods is defined
    19301930      by the origin server at the time of each request.
    19311931</t>
    19321932<t>
     
    24682468      <xref target="status.404"/>
    24692469   </c>
    24702470   <c>405</c>
    2471    <c>Method Not Allowed</c>
     2471   <c>Method Not Supported</c>
    24722472   <c>
    24732473      <xref target="status.405"/>
    24742474   </c>
     
    38153815      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/109"/>:
    38163816      "Clarify entity / representation / variant terminology"
    38173817    </t>
     3818    <t>
     3819      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/146"/>:
     3820      "Clarify desciption of 405 (Not Allowed)"
     3821    </t>
    38183822  </list>
    38193823</t>
    38203824</section>