Changeset 1728 for draft-ietf-httpbis
- Timestamp:
- 05/07/12 17:20:04 (10 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/extract-method-defs.xslt
r1561 r1728 13 13 <ttcol>Method</ttcol> 14 14 <ttcol>Safe</ttcol> 15 <ttcol>Idempotent</ttcol> 15 16 <ttcol>Reference</ttcol> 16 17 <xsl:apply-templates select="//section[iref/@item='Methods']"> … … 84 85 </xsl:variable> 85 86 87 <xsl:variable name="idempotent" xmlns:p2="urn:ietf:id:draft-ietf-httpbis-p2-semantics#"> 88 <xsl:choose> 89 <xsl:when test="rdf:Description/p2:idempotent='yes'">yes</xsl:when> 90 <xsl:otherwise>no</xsl:otherwise> 91 </xsl:choose> 92 </xsl:variable> 93 86 94 <xsl:text> </xsl:text> 87 95 <c><xsl:value-of select="$text"/></c> 88 96 <c><xsl:value-of select="$safe"/></c> 97 <c><xsl:value-of select="$idempotent"/></c> 89 98 <c><xref target="{@anchor}"/></c> 90 99 </xsl:template> -
draft-ietf-httpbis/latest/p2-semantics.html
r1727 r1728 922 922 <li>Safe ("yes" or "no", see <a href="#safe.methods" title="Safe Methods">Section 2.1.1</a>) 923 923 </li> 924 <li>Idempotent ("yes" or "no", see <a href="#safe.methods" title="Safe Methods">Section 2.1.1</a>) 925 </li> 924 926 <li>Pointer to specification text</li> 925 927 </ul> … … 1031 1033 <p id="rfc.section.2.3.4.p.6">Note that POST caching is not widely implemented. However, the <a href="#status.303" class="smpl">303 (See Other)</a> response can be used to direct the user agent to retrieve a cacheable representation of the resource. 1032 1034 </p> 1035 <h3 id="rfc.section.2.3.5"><a href="#rfc.section.2.3.5">2.3.5</a> <a id="PUT" href="#PUT">PUT</a></h3> 1033 1036 <div id="rfc.iref.p.2"></div> 1034 1037 <div id="rfc.iref.m.5"></div> 1035 <h3 id="rfc.section.2.3.5"><a href="#rfc.section.2.3.5">2.3.5</a> <a id="PUT" href="#PUT">PUT</a></h3>1036 1038 <p id="rfc.section.2.3.5.p.1">The PUT method requests that the state of the target resource be created or replaced with the state defined by the representation 1037 1039 enclosed in the request message payload. A successful PUT of a given representation would suggest that a subsequent GET on … … 1090 1092 for the effective request URI, those stored responses will be invalidated (see <a href="p6-cache.html#invalidation.after.updates.or.deletions" title="Request Methods that Invalidate">Section 2.6</a> of <a href="#Part6" id="rfc.xref.Part6.5"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>). 1091 1093 </p> 1094 <h3 id="rfc.section.2.3.6"><a href="#rfc.section.2.3.6">2.3.6</a> <a id="DELETE" href="#DELETE">DELETE</a></h3> 1092 1095 <div id="rfc.iref.d.1"></div> 1093 1096 <div id="rfc.iref.m.6"></div> 1094 <h3 id="rfc.section.2.3.6"><a href="#rfc.section.2.3.6">2.3.6</a> <a id="DELETE" href="#DELETE">DELETE</a></h3>1095 1097 <p id="rfc.section.2.3.6.p.1">The DELETE method requests that the origin server delete the target resource. This method <em class="bcp14">MAY</em> be overridden by human intervention (or other means) on the origin server. The client cannot be guaranteed that the operation 1096 1098 has been carried out, even if the status code returned from the origin server indicates that the action has been completed … … 3108 3110 <th>Method</th> 3109 3111 <th>Safe</th> 3112 <th>Idempotent</th> 3110 3113 <th>Reference</th> 3111 3114 </tr> … … 3115 3118 <td class="left">CONNECT</td> 3116 3119 <td class="left">no</td> 3120 <td class="left">no</td> 3117 3121 <td class="left"> <a href="#CONNECT" id="rfc.xref.CONNECT.1" title="CONNECT">Section 2.3.8</a> 3118 3122 </td> … … 3121 3125 <td class="left">DELETE</td> 3122 3126 <td class="left">no</td> 3127 <td class="left">yes</td> 3123 3128 <td class="left"> <a href="#DELETE" id="rfc.xref.DELETE.1" title="DELETE">Section 2.3.6</a> 3124 3129 </td> … … 3127 3132 <td class="left">GET</td> 3128 3133 <td class="left">yes</td> 3134 <td class="left">yes</td> 3129 3135 <td class="left"> <a href="#GET" id="rfc.xref.GET.1" title="GET">Section 2.3.2</a> 3130 3136 </td> … … 3133 3139 <td class="left">HEAD</td> 3134 3140 <td class="left">yes</td> 3141 <td class="left">yes</td> 3135 3142 <td class="left"> <a href="#HEAD" id="rfc.xref.HEAD.1" title="HEAD">Section 2.3.3</a> 3136 3143 </td> … … 3139 3146 <td class="left">OPTIONS</td> 3140 3147 <td class="left">yes</td> 3148 <td class="left">yes</td> 3141 3149 <td class="left"> <a href="#OPTIONS" id="rfc.xref.OPTIONS.2" title="OPTIONS">Section 2.3.1</a> 3142 3150 </td> … … 3145 3153 <td class="left">POST</td> 3146 3154 <td class="left">no</td> 3155 <td class="left">no</td> 3147 3156 <td class="left"> <a href="#POST" id="rfc.xref.POST.1" title="POST">Section 2.3.4</a> 3148 3157 </td> … … 3151 3160 <td class="left">PUT</td> 3152 3161 <td class="left">no</td> 3162 <td class="left">yes</td> 3153 3163 <td class="left"> <a href="#PUT" id="rfc.xref.PUT.1" title="PUT">Section 2.3.5</a> 3154 3164 </td> … … 3156 3166 <tr> 3157 3167 <td class="left">TRACE</td> 3168 <td class="left">yes</td> 3158 3169 <td class="left">yes</td> 3159 3170 <td class="left"> <a href="#TRACE" id="rfc.xref.TRACE.2" title="TRACE">Section 2.3.7</a> … … 4727 4738 </li> 4728 4739 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/361">http://tools.ietf.org/wg/httpbis/trac/ticket/361</a>>: "ABNF requirements for recipients" 4740 </li> 4741 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/364">http://tools.ietf.org/wg/httpbis/trac/ticket/364</a>>: "Capturing more information in the method registry" 4729 4742 </li> 4730 4743 </ul> -
draft-ietf-httpbis/latest/p2-semantics.xml
r1727 r1728 454 454 <t>Method Name (see <xref target="methods"/>)</t> 455 455 <t>Safe ("yes" or "no", see <xref target="safe.methods"/>)</t> 456 <t>Idempotent ("yes" or "no", see <xref target="safe.methods"/>)</t> 456 457 <t>Pointer to specification text</t> 457 458 </list> … … 502 503 <rdf:Description> 503 504 <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe> 505 <idempotent xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</idempotent> 504 506 </rdf:Description> 505 507 <iref primary="true" item="OPTIONS method" x:for-anchor=""/> … … 562 564 <rdf:Description> 563 565 <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe> 566 <idempotent xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</idempotent> 564 567 </rdf:Description> 565 568 <iref primary="true" item="GET method" x:for-anchor=""/> … … 610 613 <rdf:Description> 611 614 <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe> 615 <idempotent xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</idempotent> 612 616 </rdf:Description> 613 617 <iref primary="true" item="HEAD method" x:for-anchor=""/> … … 692 696 693 697 <section title="PUT" anchor="PUT"> 698 <rdf:Description> 699 <idempotent xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</idempotent> 700 </rdf:Description> 694 701 <iref primary="true" item="PUT method" x:for-anchor=""/> 695 702 <iref primary="true" item="Methods" subitem="PUT" x:for-anchor=""/> … … 814 821 815 822 <section title="DELETE" anchor="DELETE"> 823 <rdf:Description> 824 <idempotent xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</idempotent> 825 </rdf:Description> 816 826 <iref primary="true" item="DELETE method" x:for-anchor=""/> 817 827 <iref primary="true" item="Methods" subitem="DELETE" x:for-anchor=""/> … … 849 859 <rdf:Description> 850 860 <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe> 861 <idempotent xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</idempotent> 851 862 </rdf:Description> 852 863 <iref primary="true" item="TRACE method" x:for-anchor=""/> … … 3983 3994 <ttcol>Method</ttcol> 3984 3995 <ttcol>Safe</ttcol> 3996 <ttcol>Idempotent</ttcol> 3985 3997 <ttcol>Reference</ttcol> 3986 3998 <c>CONNECT</c> 3999 <c>no</c> 3987 4000 <c>no</c> 3988 4001 <c> … … 3991 4004 <c>DELETE</c> 3992 4005 <c>no</c> 4006 <c>yes</c> 3993 4007 <c> 3994 4008 <xref target="DELETE"/> 3995 4009 </c> 3996 4010 <c>GET</c> 4011 <c>yes</c> 3997 4012 <c>yes</c> 3998 4013 <c> … … 4001 4016 <c>HEAD</c> 4002 4017 <c>yes</c> 4018 <c>yes</c> 4003 4019 <c> 4004 4020 <xref target="HEAD"/> 4005 4021 </c> 4006 4022 <c>OPTIONS</c> 4023 <c>yes</c> 4007 4024 <c>yes</c> 4008 4025 <c> … … 4011 4028 <c>POST</c> 4012 4029 <c>no</c> 4030 <c>no</c> 4013 4031 <c> 4014 4032 <xref target="POST"/> … … 4016 4034 <c>PUT</c> 4017 4035 <c>no</c> 4036 <c>yes</c> 4018 4037 <c> 4019 4038 <xref target="PUT"/> 4020 4039 </c> 4021 4040 <c>TRACE</c> 4041 <c>yes</c> 4022 4042 <c>yes</c> 4023 4043 <c> … … 6827 6847 "ABNF requirements for recipients" 6828 6848 </t> 6849 <t> 6850 <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/364"/>: 6851 "Capturing more information in the method registry" 6852 </t> 6829 6853 </list> 6830 6854 </t>
Note: See TracChangeset
for help on using the changeset viewer.