Changeset 2086 for draft-ietf-httpbis/latest
- Timestamp:
- 05/01/13 08:56:48 (10 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p1-messaging.html
r2083 r2086 449 449 } 450 450 @bottom-center { 451 content: "Expires July 8, 2013";451 content: "Expires July 9, 2013"; 452 452 } 453 453 @bottom-right { … … 491 491 <meta name="dct.creator" content="Reschke, J. F."> 492 492 <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p1-messaging-latest"> 493 <meta name="dct.issued" scheme="ISO8601" content="2013-01-0 4">493 <meta name="dct.issued" scheme="ISO8601" content="2013-01-05"> 494 494 <meta name="dct.replaces" content="urn:ietf:rfc:2145"> 495 495 <meta name="dct.replaces" content="urn:ietf:rfc:2616"> … … 520 520 <tr> 521 521 <td class="left">Intended status: Standards Track</td> 522 <td class="right">January 4, 2013</td>522 <td class="right">January 5, 2013</td> 523 523 </tr> 524 524 <tr> 525 <td class="left">Expires: July 8, 2013</td>525 <td class="left">Expires: July 9, 2013</td> 526 526 <td class="right"></td> 527 527 </tr> … … 551 551 in progress”. 552 552 </p> 553 <p>This Internet-Draft will expire on July 8, 2013.</p>553 <p>This Internet-Draft will expire on July 9, 2013.</p> 554 554 <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1> 555 555 <p>Copyright © 2013 IETF Trust and the persons identified as the document authors. All rights reserved.</p> … … 1165 1165 </p> 1166 1166 <p id="rfc.section.3.1.1.p.9">HTTP does not place a pre-defined limit on the length of a request-line. A server that receives a method longer than any that 1167 it implements <em class="bcp14">SHOULD</em> respond with either a <a href="p2-semantics.html#status.405" class="smpl">405 (Method Not Allowed)</a>, if it is an origin server, ora <a href="p2-semantics.html#status.501" class="smpl">501 (Not Implemented)</a> status code. A server <em class="bcp14">MUST</em> be prepared to receive URIs of unbounded length and respond with the <a href="p2-semantics.html#status.414" class="smpl">414 (URI Too Long)</a> status code if the received request-target would be longer than the server wishes to handle (see <a href="p2-semantics.html#status.414" title="414 URI Too Long">Section 6.5.12</a> of <a href="#Part2" id="rfc.xref.Part2.7"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>).1167 it implements <em class="bcp14">SHOULD</em> respond with a <a href="p2-semantics.html#status.501" class="smpl">501 (Not Implemented)</a> status code. A server <em class="bcp14">MUST</em> be prepared to receive URIs of unbounded length and respond with the <a href="p2-semantics.html#status.414" class="smpl">414 (URI Too Long)</a> status code if the received request-target would be longer than the server wishes to handle (see <a href="p2-semantics.html#status.414" title="414 URI Too Long">Section 6.5.12</a> of <a href="#Part2" id="rfc.xref.Part2.7"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>). 1168 1168 </p> 1169 1169 <p id="rfc.section.3.1.1.p.10">Various ad-hoc limitations on request-line length are found in practice. It is <em class="bcp14">RECOMMENDED</em> that all HTTP senders and recipients support, at a minimum, request-line lengths of 8000 octets. -
draft-ietf-httpbis/latest/p1-messaging.xml
r2083 r2086 1101 1101 HTTP does not place a pre-defined limit on the length of a request-line. 1102 1102 A server that receives a method longer than any that it implements 1103 &SHOULD; respond with either a <x:ref>405 (Method Not Allowed)</x:ref>, if it is an origin 1104 server, or a <x:ref>501 (Not Implemented)</x:ref> status code. 1103 &SHOULD; respond with a <x:ref>501 (Not Implemented)</x:ref> status code. 1105 1104 A server &MUST; be prepared to receive URIs of unbounded length and 1106 1105 respond with the <x:ref>414 (URI Too Long)</x:ref> status code if the received … … 3923 3922 <x:defines>4xx</x:defines> 3924 3923 <x:defines>400 (Bad Request)</x:defines> 3925 <x:defines>405 (Method Not Allowed)</x:defines>3926 3924 <x:defines>411 (Length Required)</x:defines> 3927 3925 <x:defines>414 (URI Too Long)</x:defines> -
draft-ietf-httpbis/latest/p2-semantics.html
r2085 r2086 1329 1329 to be registered within the HTTP Method Registry maintained by IANA, as defined in <a href="#method.registry" title="Method Registry">Section 8.1</a>. 1330 1330 </p> 1331 <p id="rfc.section.4.1.p.8">The set of methods allowed by a target resource can be listed in an <a href="#header.allow" class="smpl">Allow</a> header field (<a href="#header.allow" id="rfc.xref.header.allow.1" title="Allow">Section 7.4.1</a>). However, the set of allowed methods can change dynamically. When a request me ssage is received that is unrecognized or1332 not implemented by an origin server, the origin server <em class="bcp14">SHOULD</em> respond with the <a href="#status.501" class="smpl">501 (Not Implemented)</a> status code. When a request messageis received that is known by an origin server but not allowed for the target resource,1331 <p id="rfc.section.4.1.p.8">The set of methods allowed by a target resource can be listed in an <a href="#header.allow" class="smpl">Allow</a> header field (<a href="#header.allow" id="rfc.xref.header.allow.1" title="Allow">Section 7.4.1</a>). However, the set of allowed methods can change dynamically. When a request method is received that is unrecognized or not 1332 implemented by an origin server, the origin server <em class="bcp14">SHOULD</em> respond with the <a href="#status.501" class="smpl">501 (Not Implemented)</a> status code. When a request method is received that is known by an origin server but not allowed for the target resource, 1333 1333 the origin server <em class="bcp14">SHOULD</em> respond with the <a href="#status.405" class="smpl">405 (Method Not Allowed)</a> status code. 1334 1334 </p> … … 2638 2638 <div id="rfc.iref.74"></div> 2639 2639 <h3 id="rfc.section.6.5.5"><a href="#rfc.section.6.5.5">6.5.5</a> <a id="status.405" href="#status.405">405 Method Not Allowed</a></h3> 2640 <p id="rfc.section.6.5.5.p.1">The <dfn>405 (Method Not Allowed)</dfn> status code indicates that the method specified in the request-line is not allowed by the origin server for the <a href="#resources" class="smpl">target resource</a>. The origin server <em class="bcp14">MUST</em> generate an <a href="#header.allow" class="smpl">Allow</a> header field in the response containing a list of valid methods for the requested resource.2640 <p id="rfc.section.6.5.5.p.1">The <dfn>405 (Method Not Allowed)</dfn> status code indicates that the method specified in the request-line is known by the origin server but not supported by the <a href="#resources" class="smpl">target resource</a>. The origin server <em class="bcp14">MUST</em> generate an <a href="#header.allow" class="smpl">Allow</a> header field in a 405 response containing a list of the target resource's currently supported methods. 2641 2641 </p> 2642 2642 <div id="rfc.iref.74"></div> -
draft-ietf-httpbis/latest/p2-semantics.xml
r2085 r2086 1116 1116 <x:ref>Allow</x:ref> header field (<xref target="header.allow"/>). 1117 1117 However, the set of allowed methods can change dynamically. 1118 When a request me ssageis received that is unrecognized or not implemented1118 When a request method is received that is unrecognized or not implemented 1119 1119 by an origin server, the origin server &SHOULD; respond with the 1120 1120 <x:ref>501 (Not Implemented)</x:ref> status code. 1121 When a request me ssageis received that is known by an origin server but1121 When a request method is received that is known by an origin server but 1122 1122 not allowed for the target resource, the origin server &SHOULD; respond 1123 1123 with the <x:ref>405 (Method Not Allowed)</x:ref> status code. … … 3200 3200 <t> 3201 3201 The <x:dfn>405 (Method Not Allowed)</x:dfn> status code indicates that the 3202 method specified in the request-line is not allowed by the origin server 3203 for the <x:ref>target resource</x:ref>. The origin server &MUST; generate 3204 an <x:ref>Allow</x:ref> header field in the response containing a list of 3205 valid methods for the requested resource. 3202 method specified in the request-line is known by the origin server but 3203 not supported by the <x:ref>target resource</x:ref>. 3204 The origin server &MUST; generate an <x:ref>Allow</x:ref> header field in 3205 a 405 response containing a list of the target resource's currently 3206 supported methods. 3206 3207 </t> 3207 3208 </section>
Note: See TracChangeset
for help on using the changeset viewer.