source: draft-ietf-httpbis/latest/p2-semantics.xml @ 1425

Last change on this file since 1425 was 1425, checked in by fielding@…, 8 years ago

Fix incorrect definition of line folding (obs-fold) from [351].
Remove optional WSP from chunked encoding grammar added in [353].
Do not use WSP anywhere (it is misleading because it dosn't match the real
definition of whitespace).

Related to #36

  • Property svn:eol-style set to native
File size: 174.8 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='../myxml2rfc.xslt'?>
3<!DOCTYPE rfc [
4  <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
5  <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>">
6  <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>">
7  <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>">
8  <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>">
9  <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>">
10  <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>">
11  <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>">
12  <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>">
13  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
14  <!ENTITY ID-VERSION "latest">
15  <!ENTITY ID-MONTH "August">
16  <!ENTITY ID-YEAR "2011">
17  <!ENTITY mdash "&#8212;">
18  <!ENTITY notation                   "<xref target='Part1' x:rel='#notation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
19  <!ENTITY acks                       "<xref target='Part1' x:rel='#acks' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
20  <!ENTITY messaging                  "<xref target='Part1' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
21  <!ENTITY payload                    "<xref target='Part3' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
22  <!ENTITY conditional                "<xref target='Part4' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
23  <!ENTITY range                      "<xref target='Part5' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
24  <!ENTITY caching                    "<xref target='Part6' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
25  <!ENTITY auth                       "<xref target='Part7' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
26  <!ENTITY content-negotiation        "<xref target='Part3' x:rel='#content.negotiation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
27  <!ENTITY notation-abnf              "<xref target='Part1' x:rel='#notation.abnf' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
28  <!ENTITY basic-rules                "<xref target='Part1' x:rel='#basic.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
29  <!ENTITY field-rules                "<xref target='Part1' x:rel='#field.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
30  <!ENTITY uri                        "<xref target='Part1' x:rel='#uri' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
31  <!ENTITY effective-request-uri      "<xref target='Part1' x:rel='#effective.request.uri' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
32  <!ENTITY intermediaries             "<xref target='Part1' x:rel='#intermediaries' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
33  <!ENTITY chunked-encoding           "<xref target='Part1' x:rel='#chunked.encoding' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
34  <!ENTITY full-date                  "<xref target='Part1' x:rel='#date.time.formats.full.date' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
35  <!ENTITY http-url                   "<xref target='Part1' x:rel='#http-url' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
36  <!ENTITY http-version               "<xref target='Part1' x:rel='#http.version' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
37  <!ENTITY use100                     "<xref target='Part1' x:rel='#use.of.the.100.status' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
38  <!ENTITY qvalue                     "<xref target='Part3' x:rel='#quality.values' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
39  <!ENTITY request-target             "<xref target='Part1' x:rel='#request-target' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
40  <!ENTITY header-accept              "<xref target='Part3' x:rel='#header.accept' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
41  <!ENTITY header-accept-charset      "<xref target='Part3' x:rel='#header.accept-charset' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
42  <!ENTITY header-accept-encoding     "<xref target='Part3' x:rel='#header.accept-encoding' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
43  <!ENTITY header-accept-language     "<xref target='Part3' x:rel='#header.accept-language' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
44  <!ENTITY header-accept-ranges       "<xref target='Part5' x:rel='#header.accept-ranges' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
45  <!ENTITY header-age                 "<xref target='Part6' x:rel='#header.age' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
46  <!ENTITY header-authorization       "<xref target='Part7' x:rel='#header.authorization' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
47  <!ENTITY header-cache-control       "<xref target='Part6' x:rel='#header.cache-control' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
48  <!ENTITY header-connection          "<xref target='Part1' x:rel='#header.connection' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
49  <!ENTITY header-content-location    "<xref target='Part3' x:rel='#header.content-location' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
50  <!ENTITY header-content-range       "<xref target='Part5' x:rel='#header.content-range' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
51  <!ENTITY header-etag                "<xref target='Part4' x:rel='#header.etag' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
52  <!ENTITY header-expires             "<xref target='Part6' x:rel='#header.expires' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
53  <!ENTITY header-fields              "<xref target='Part1' x:rel='#header.fields' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
54  <!ENTITY header-host                "<xref target='Part1' x:rel='#header.host' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
55  <!ENTITY header-if-match            "<xref target='Part4' x:rel='#header.if-match' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
56  <!ENTITY header-if-modified-since   "<xref target='Part4' x:rel='#header.if-modified-since' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
57  <!ENTITY header-if-none-match       "<xref target='Part4' x:rel='#header.if-none-match' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
58  <!ENTITY header-if-range            "<xref target='Part5' x:rel='#header.if-range' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
59  <!ENTITY header-if-unmodified-since "<xref target='Part4' x:rel='#header.if-unmodified-since' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
60  <!ENTITY header-pragma              "<xref target='Part6' x:rel='#header.pragma' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
61  <!ENTITY header-proxy-authenticate  "<xref target='Part7' x:rel='#header.proxy-authenticate' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
62  <!ENTITY header-proxy-authorization "<xref target='Part7' x:rel='#header.proxy-authorization' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
63  <!ENTITY header-range               "<xref target='Part5' x:rel='#header.range' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
64  <!ENTITY header-upgrade             "<xref target='Part1' x:rel='#header.upgrade' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
65  <!ENTITY header-te                  "<xref target='Part1' x:rel='#header.te' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
66  <!ENTITY header-vary                "<xref target='Part6' x:rel='#header.vary' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
67  <!ENTITY header-via                 "<xref target='Part1' x:rel='#header.via' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
68  <!ENTITY header-warning             "<xref target='Part6' x:rel='#header.warning' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
69  <!ENTITY header-www-authenticate    "<xref target='Part7' x:rel='#header.www-authenticate' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
70  <!ENTITY message-body               "<xref target='Part1' x:rel='#message.body' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
71  <!ENTITY product-tokens             "<xref target='Part1' x:rel='#product.tokens' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
72  <!ENTITY media-type-message-http    "<xref target='Part1' x:rel='#internet.media.type.message.http' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
73  <!ENTITY status-206                 "<xref target='Part5' x:rel='#status.206' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
74  <!ENTITY status-304                 "<xref target='Part4' x:rel='#status.304' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
75  <!ENTITY status-401                 "<xref target='Part7' x:rel='#status.401' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
76  <!ENTITY status-407                 "<xref target='Part7' x:rel='#status.407' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
77  <!ENTITY status-412                 "<xref target='Part4' x:rel='#status.412' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
78  <!ENTITY status-416                 "<xref target='Part5' x:rel='#status.416' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
79  <!ENTITY p3-header-fields           "<xref target='Part3' x:rel='#header.field.definitions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
80  <!ENTITY p4-status-codes            "<xref target='Part4' x:rel='#status.code.definitions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
81  <!ENTITY p5-status-codes            "<xref target='Part5' x:rel='#status.code.definitions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
82  <!ENTITY p7-status-codes            "<xref target='Part7' x:rel='#status.code.definitions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
83  <!ENTITY p6-heuristic               "<xref target='Part6' x:rel='#heuristic.freshness' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
84  <!ENTITY p6-explicit                "<xref target='Part6' x:rel='#calculating.freshness.lifetime' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
85  <!ENTITY p6-invalid                 "<xref target='Part6' x:rel='#invalidation.after.updates.or.deletions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
86]>
87<?rfc toc="yes" ?>
88<?rfc symrefs="yes" ?>
89<?rfc sortrefs="yes" ?>
90<?rfc compact="yes"?>
91<?rfc subcompact="no" ?>
92<?rfc linkmailto="no" ?>
93<?rfc editing="no" ?>
94<?rfc comments="yes"?>
95<?rfc inline="yes"?>
96<?rfc rfcedstyle="yes"?>
97<?rfc-ext allow-markup-in-artwork="yes" ?>
98<?rfc-ext include-references-in-index="yes" ?>
99<rfc obsoletes="2616" updates="2817" category="std" x:maturity-level="draft"
100     ipr="pre5378Trust200902" docName="draft-ietf-httpbis-p2-semantics-&ID-VERSION;"
101     xmlns:x='http://purl.org/net/xml2rfc/ext'
102     xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
103<front>
104
105  <title abbrev="HTTP/1.1, Part 2">HTTP/1.1, part 2: Message Semantics</title>
106
107  <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
108    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
109    <address>
110      <postal>
111        <street>345 Park Ave</street>
112        <city>San Jose</city>
113        <region>CA</region>
114        <code>95110</code>
115        <country>USA</country>
116      </postal>
117      <email>fielding@gbiv.com</email>
118      <uri>http://roy.gbiv.com/</uri>
119    </address>
120  </author>
121
122  <author initials="J." surname="Gettys" fullname="Jim Gettys">
123    <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
124    <address>
125      <postal>
126        <street>21 Oak Knoll Road</street>
127        <city>Carlisle</city>
128        <region>MA</region>
129        <code>01741</code>
130        <country>USA</country>
131      </postal>
132      <email>jg@freedesktop.org</email>
133      <uri>http://gettys.wordpress.com/</uri>
134    </address>
135  </author>
136 
137  <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
138    <organization abbrev="HP">Hewlett-Packard Company</organization>
139    <address>
140      <postal>
141        <street>HP Labs, Large Scale Systems Group</street>
142        <street>1501 Page Mill Road, MS 1177</street>
143        <city>Palo Alto</city>
144        <region>CA</region>
145        <code>94304</code>
146        <country>USA</country>
147      </postal>
148      <email>JeffMogul@acm.org</email>
149    </address>
150  </author>
151
152  <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
153    <organization abbrev="Microsoft">Microsoft Corporation</organization>
154    <address>
155      <postal>
156        <street>1 Microsoft Way</street>
157        <city>Redmond</city>
158        <region>WA</region>
159        <code>98052</code>
160        <country>USA</country>
161      </postal>
162      <email>henrikn@microsoft.com</email>
163    </address>
164  </author>
165
166  <author initials="L." surname="Masinter" fullname="Larry Masinter">
167    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
168    <address>
169      <postal>
170        <street>345 Park Ave</street>
171        <city>San Jose</city>
172        <region>CA</region>
173        <code>95110</code>
174        <country>USA</country>
175      </postal>
176      <email>LMM@acm.org</email>
177      <uri>http://larry.masinter.net/</uri>
178    </address>
179  </author>
180 
181  <author initials="P." surname="Leach" fullname="Paul J. Leach">
182    <organization abbrev="Microsoft">Microsoft Corporation</organization>
183    <address>
184      <postal>
185        <street>1 Microsoft Way</street>
186        <city>Redmond</city>
187        <region>WA</region>
188        <code>98052</code>
189      </postal>
190      <email>paulle@microsoft.com</email>
191    </address>
192  </author>
193   
194  <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
195    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
196    <address>
197      <postal>
198        <street>MIT Computer Science and Artificial Intelligence Laboratory</street>
199        <street>The Stata Center, Building 32</street>
200        <street>32 Vassar Street</street>
201        <city>Cambridge</city>
202        <region>MA</region>
203        <code>02139</code>
204        <country>USA</country>
205      </postal>
206      <email>timbl@w3.org</email>
207      <uri>http://www.w3.org/People/Berners-Lee/</uri>
208    </address>
209  </author>
210
211  <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
212    <organization abbrev="W3C">World Wide Web Consortium</organization>
213    <address>
214      <postal>
215        <street>W3C / ERCIM</street>
216        <street>2004, rte des Lucioles</street>
217        <city>Sophia-Antipolis</city>
218        <region>AM</region>
219        <code>06902</code>
220        <country>France</country>
221      </postal>
222      <email>ylafon@w3.org</email>
223      <uri>http://www.raubacapeu.net/people/yves/</uri>
224    </address>
225  </author>
226
227  <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
228    <organization abbrev="greenbytes">greenbytes GmbH</organization>
229    <address>
230      <postal>
231        <street>Hafenweg 16</street>
232        <city>Muenster</city><region>NW</region><code>48155</code>
233        <country>Germany</country>
234      </postal>
235      <phone>+49 251 2807760</phone>
236      <facsimile>+49 251 2807761</facsimile>
237      <email>julian.reschke@greenbytes.de</email>
238      <uri>http://greenbytes.de/tech/webdav/</uri>
239    </address>
240  </author>
241
242  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
243  <workgroup>HTTPbis Working Group</workgroup>
244
245<abstract>
246<t>
247   The Hypertext Transfer Protocol (HTTP) is an application-level protocol for
248   distributed, collaborative, hypertext information systems. HTTP has been in
249   use by the World Wide Web global information initiative since 1990. This
250   document is Part 2 of the seven-part specification that defines the protocol
251   referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616.
252</t>
253<t>
254   Part 2 defines the semantics of HTTP messages as expressed by request
255   methods, request header fields, response status codes, and response header
256   fields.
257</t>
258</abstract>
259
260<note title="Editorial Note (To be removed by RFC Editor)">
261  <t>
262    Discussion of this draft should take place on the HTTPBIS working group
263    mailing list (ietf-http-wg@w3.org), which is archived at
264    <eref target="http://lists.w3.org/Archives/Public/ietf-http-wg/"/>.
265  </t>
266  <t>
267    The current issues list is at
268    <eref target="http://tools.ietf.org/wg/httpbis/trac/report/3"/> and related
269    documents (including fancy diffs) can be found at
270    <eref target="http://tools.ietf.org/wg/httpbis/"/>.
271  </t>
272  <t>
273    The changes in this draft are summarized in <xref target="changes.since.16"/>.
274  </t>
275</note>
276</front>
277<middle>
278<section title="Introduction" anchor="introduction">
279<t>
280   This document defines HTTP/1.1 request and response semantics.  Each HTTP
281   message, as defined in &messaging;, is in the form of either a request or
282   a response.  An HTTP server listens on a connection for HTTP requests and
283   responds to each request, in the order received on that connection, with
284   one or more HTTP response messages.  This document defines the commonly
285   agreed upon semantics of the HTTP uniform interface, the intentions defined
286   by each request method, and the various response messages that might be
287   expected as a result of applying that method to the target resource.
288</t>
289<t>
290   This document is currently disorganized in order to minimize the changes
291   between drafts and enable reviewers to see the smaller errata changes.
292   A future draft will reorganize the sections to better reflect the content.
293   In particular, the sections will be ordered according to the typical
294   processing of an HTTP request message (after message parsing): resource
295   mapping, methods, request modifying header fields, response status,
296   status modifying header fields, and resource metadata.  The current mess
297   reflects how widely dispersed these topics and associated requirements
298   had become in <xref target="RFC2616"/>.
299</t>
300
301<section title="Requirements" anchor="intro.requirements">
302<t>
303   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
304   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
305   document are to be interpreted as described in <xref target="RFC2119"/>.
306</t>
307<t>
308   An implementation is not compliant if it fails to satisfy one or more
309   of the "MUST" or "REQUIRED" level requirements for the protocols it
310   implements. An implementation that satisfies all the "MUST" or "REQUIRED"
311   level and all the "SHOULD" level requirements for its protocols is said
312   to be "unconditionally compliant"; one that satisfies all the "MUST"
313   level requirements but not all the "SHOULD" level requirements for its
314   protocols is said to be "conditionally compliant".
315</t>
316</section>
317
318<section title="Syntax Notation" anchor="notation">
319  <x:anchor-alias value="CR"/>
320  <x:anchor-alias value="DIGIT"/>
321  <x:anchor-alias value="LF"/>
322  <x:anchor-alias value="HTAB"/>
323  <x:anchor-alias value="VCHAR"/>
324  <x:anchor-alias value="SP"/>
325<t>
326  This specification uses the ABNF syntax defined in &notation; (which
327  extends the syntax defined in <xref target="RFC5234"/> with a list rule).
328  <xref target="collected.abnf"/> shows the collected ABNF, with the list
329  rule expanded.
330</t>
331<t>
332  The following core rules are included by
333  reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
334  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
335  DIGIT (decimal 0-9), DQUOTE (double quote),
336  HEXDIG (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), LF (line feed),
337  OCTET (any 8-bit sequence of data), SP (space), and
338  VCHAR (any visible US-ASCII character).
339</t>
340
341<section title="Core Rules" anchor="core.rules">
342  <x:anchor-alias value="obs-text"/>
343  <x:anchor-alias value="quoted-string"/>
344  <x:anchor-alias value="token"/>
345  <x:anchor-alias value="OWS"/>
346  <x:anchor-alias value="RWS"/>
347<t>
348  The core rules below are defined in <xref target="Part1"/>:
349</t>
350<figure><artwork type="abnf2616">
351  <x:ref>OWS</x:ref>           = &lt;OWS, defined in &basic-rules;&gt;
352  <x:ref>RWS</x:ref>           = &lt;RWS, defined in &basic-rules;&gt;
353  <x:ref>obs-text</x:ref>      = &lt;obs-text, defined in &basic-rules;&gt;
354  <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in &field-rules;&gt;
355  <x:ref>token</x:ref>         = &lt;token, defined in &field-rules;&gt;
356</artwork></figure>
357</section>
358
359<section title="ABNF Rules defined in other Parts of the Specification" anchor="abnf.dependencies">
360  <x:anchor-alias value="absolute-URI"/>
361  <x:anchor-alias value="comment"/>
362  <x:anchor-alias value="HTTP-date"/>
363  <x:anchor-alias value="partial-URI"/>
364  <x:anchor-alias value="product"/>
365  <x:anchor-alias value="URI-reference"/>
366<t>
367  The ABNF rules below are defined in other parts:
368</t>
369<figure><!--Part1--><artwork type="abnf2616">
370  <x:ref>absolute-URI</x:ref>  = &lt;absolute-URI, defined in &uri;&gt;
371  <x:ref>comment</x:ref>       = &lt;comment, defined in &header-fields;&gt;
372  <x:ref>HTTP-date</x:ref>     = &lt;HTTP-date, defined in &full-date;&gt;
373  <x:ref>partial-URI</x:ref>   = &lt;partial-URI, defined in &uri;&gt;
374  <x:ref>product</x:ref>       = &lt;product, defined in &product-tokens;&gt;
375  <x:ref>URI-reference</x:ref> = &lt;URI-reference, defined in &uri;&gt;
376</artwork></figure>
377</section>
378</section>
379</section>
380
381<section title="Method" anchor="method">
382  <x:anchor-alias value="Method"/>
383  <x:anchor-alias value="extension-method"/>
384<t>
385   The Method token indicates the request method to be performed on the target
386   resource (&effective-request-uri;). The method is case-sensitive.
387</t>
388<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Method"/>
389  <x:ref>Method</x:ref>         = <x:ref>token</x:ref>
390</artwork></figure>
391<t>
392   The list of methods allowed by a resource can be specified in an
393   Allow header field (<xref target="header.allow"/>). The status code of the response
394   always notifies the client whether a method is currently allowed on a
395   resource, since the set of allowed methods can change dynamically. An
396   origin server &SHOULD; respond with the status code 405 (Method Not Allowed)
397   if the method is known by the origin server but not allowed for the
398   resource, and 501 (Not Implemented) if the method is
399   unrecognized or not implemented by the origin server. The methods GET
400   and HEAD &MUST; be supported by all general-purpose servers. All other
401   methods are &OPTIONAL;; however, if the above methods are implemented,
402   they &MUST; be implemented with the same semantics as those specified
403   in <xref target="method.definitions"/>.
404</t>
405
406<section title="Overview of Methods" anchor="overview.of.methods">
407<t>
408  The methods listed below are defined in <xref target="method.definitions"/>.
409</t>
410<texttable align="left">
411  <ttcol>Method Name</ttcol><ttcol>Defined in...</ttcol>
412 
413  <c>OPTIONS</c> <c><xref target="OPTIONS"/></c>
414  <c>GET</c> <c><xref target="GET"/></c>
415  <c>HEAD</c> <c><xref target="HEAD"/></c>
416  <c>POST</c> <c><xref target="POST"/></c>
417  <c>PUT</c> <c><xref target="PUT"/></c>
418  <c>DELETE</c> <c><xref target="DELETE"/></c>
419  <c>TRACE</c> <c><xref target="TRACE"/></c>
420  <c>CONNECT</c> <c><xref target="CONNECT"/></c>
421</texttable>
422<t>
423  Note that this list is not exhaustive &mdash; it does not include request methods defined
424  in other specifications.
425</t>
426</section>
427
428<section title="Method Registry" anchor="method.registry">
429<t>
430  The HTTP Method Registry defines the name space for the Method token in the
431  Request line of an HTTP request.
432</t>
433<t>
434  Registrations &MUST; include the following fields:
435  <list style="symbols">
436    <t>Method Name (see <xref target="method"/>)</t>
437    <t>Safe ("yes" or "no", see <xref target="safe.methods"/>)</t>
438    <t>Pointer to specification text</t>
439  </list>
440</t>
441<t>
442  Values to be added to this name space are subject to IETF review
443  (<xref target="RFC5226" x:fmt="," x:sec="4.1"/>).
444</t>
445<t>
446  The registry itself is maintained at <eref target="http://www.iana.org/assignments/http-methods"/>.
447</t>
448
449<section title="Considerations for New Methods" anchor="considerations.for.new.methods">
450<t>
451   When it is necessary to express new semantics for a HTTP request that
452   aren't specific to a single application or media type, and currently defined
453   methods are inadequate, it may be appropriate to register a new method.
454</t>
455<t>
456   HTTP methods are generic; that is, they are potentially applicable to any
457   resource, not just one particular media type, "type" of resource, or
458   application. As such, it is preferred that new HTTP methods be registered
459   in a document that isn't specific to a single application, so that this is
460   clear.
461</t>
462<t>
463   Due to the parsing rules defined in &message-body;, definitions of HTTP
464   methods cannot prohibit the presence of a message-body on either the request
465   or the response message (with responses to HEAD requests being the single
466   exception). Definitions of new methods cannot change this rule, but they can
467   specify that only zero-length bodies (as opposed to absent bodies) are allowed.
468</t>
469<t>
470   New method definitions need to indicate whether they are safe (<xref
471   target="safe.methods"/>), what semantics (if any) the request body has,
472   and whether they are idempotent (<xref target="idempotent.methods"/>).
473   They also need to state whether they can be cached (&caching;); in
474   particular what conditions a cache may store the response, and under what
475   conditions such a stored response may be used to satisfy a subsequent
476   request.
477</t>
478</section>
479
480</section>
481</section>
482
483<section title="Header Fields" anchor="header.fields">
484<t>
485   Header fields are key value pairs that can be used to communicate data about
486   the message, its payload, the target resource, or about the connection
487   itself (i.e., control data).  See &header-fields; for a general definition
488   of their syntax.
489</t>
490
491<section title="Considerations for Creating Header Fields" anchor="considerations.for.creating.header.fields">
492<t>
493   New header fields are registered using the procedures described in
494   <xref target="RFC3864"/>.
495</t>
496<t>
497   The requirements for header field names are defined in
498   <xref target="RFC3864" x:fmt="of" x:sec="4.1"/>.  Authors of specifications
499   defining new fields are advised to keep the name as short as practical, and
500   not to prefix them with "X-" if they are to be registered (either
501   immediately or in the future).
502</t>
503<t>
504   New header field values typically have their syntax defined using ABNF
505   (<xref target="RFC5234"/>), using the extensions defined in &notation-abnf;
506   as necessary, and are usually constrained to the range of ASCII characters.
507   Header fields needing a greater range of characters can use an encoding
508   such as the one defined in <xref target="RFC5987"/>.
509</t>
510<t>
511   Because commas (",") are used as a generic delimiter between field-values,
512   they need to be treated with care if they are allowed in the field-value's
513   payload. Typically, components that might contain a comma are protected with
514   double-quotes using the quoted-string ABNF production (&field-rules;).
515</t>
516<t>
517   For example, a textual date and a URI (either of which might contain a comma)
518   could be safely carried in field-values like these:
519</t>
520<figure><artwork type="example">
521  Example-URI-Field: "http://example.com/a.html,foo",
522                     "http://without-a-comma.example.com/"
523  Example-Date-Field: "Sat, 04 May 1996", "Wed, 14 Sep 2005"
524</artwork></figure>
525<t>
526   Authors of specifications defining new header fields are advised to consider
527   documenting:
528  <list style="symbols">
529    <t>Whether the field is a single value, or whether it can be a list
530    (delimited by commas; see &header-fields;).</t>
531    <t>Under what conditions the header field can be used; e.g., only i
532    responses or requests, in all messages, only on responses to a particular
533    request method.</t>
534    <t>Whether it is appropriate to list the field-name in the Connection header
535    (i.e., if the header is to be hop-by-hop, see &header-connection;).</t>
536    <t>Under what conditions intermediaries are allowed to modify the header
537    field's value, insert or delete it.</t>
538    <t>How the header might interact with caching (see <xref target="Part6"/>).</t>
539    <t>Whether the header field is useful or allowable in trailers (see
540    &chunked-encoding;).</t>
541    <t>Whether the header field should be preserved across redirects.</t>
542  </list>
543</t>
544</section>
545
546<section title="Request Header Fields" anchor="request.header.fields">
547  <x:anchor-alias value="request-header"/>
548<t>
549   The request header fields allow the client to pass additional
550   information about the request, and about the client itself, to the
551   server. These fields act as request modifiers, with semantics
552   equivalent to the parameters on a programming language method
553   invocation.
554</t>
555<texttable align="left">
556  <ttcol>Header Field Name</ttcol>
557  <ttcol>Defined in...</ttcol>
558
559  <c>Accept</c> <c>&header-accept;</c>
560  <c>Accept-Charset</c> <c>&header-accept-charset;</c>
561  <c>Accept-Encoding</c> <c>&header-accept-encoding;</c>
562  <c>Accept-Language</c> <c>&header-accept-language;</c>
563  <c>Authorization</c> <c>&header-authorization;</c>
564  <c>Expect</c> <c><xref target="header.expect"/></c>
565  <c>From</c> <c><xref target="header.from"/></c>
566  <c>Host</c> <c>&header-host;</c>
567  <c>If-Match</c> <c>&header-if-match;</c>
568  <c>If-Modified-Since</c> <c>&header-if-modified-since;</c>
569  <c>If-None-Match</c> <c>&header-if-none-match;</c>
570  <c>If-Range</c> <c>&header-if-range;</c>
571  <c>If-Unmodified-Since</c> <c>&header-if-unmodified-since;</c>
572  <c>Max-Forwards</c> <c><xref target="header.max-forwards"/></c>
573  <c>Proxy-Authorization</c> <c>&header-proxy-authorization;</c>
574  <c>Range</c> <c>&header-range;</c>
575  <c>Referer</c> <c><xref target="header.referer"/></c>
576  <c>TE</c> <c>&header-te;</c>
577  <c>User-Agent</c> <c><xref target="header.user-agent"/></c>
578</texttable>
579</section>
580
581<section title="Response Header Fields" anchor="response.header.fields">
582  <x:anchor-alias value="response-header"/>
583<t>
584   The response header fields allow the server to pass additional
585   information about the response which cannot be placed in the Status-Line.
586   These header fields give information about the server and about
587   further access to the target resource (&effective-request-uri;).
588</t>
589<texttable align="left">
590  <ttcol>Header Field Name</ttcol><ttcol>Defined in...</ttcol>
591
592  <c>Accept-Ranges</c> <c>&header-accept-ranges;</c>
593  <c>Age</c> <c>&header-age;</c>
594  <c>Allow</c> <c><xref target="header.allow"/></c>
595  <c>ETag</c> <c>&header-etag;</c>
596  <c>Location</c> <c><xref target="header.location"/></c>
597  <c>Proxy-Authenticate</c> <c>&header-proxy-authenticate;</c>
598  <c>Retry-After</c> <c><xref target="header.retry-after"/></c>
599  <c>Server</c> <c><xref target="header.server"/></c>
600  <c>Vary</c> <c>&header-vary;</c>
601  <c>WWW-Authenticate</c> <c>&header-www-authenticate;</c>
602</texttable>
603</section>
604
605</section>
606
607<section title="Status Code and Reason Phrase" anchor="status.code.and.reason.phrase">
608  <x:anchor-alias value="Reason-Phrase"/>
609  <x:anchor-alias value="Status-Code"/>
610  <x:anchor-alias value="extension-code"/>
611<t>
612   The Status-Code element is a 3-digit integer result code of the attempt to
613   understand and satisfy the request.
614</t>
615<t>
616   The Reason-Phrase is intended to give a short textual description of the
617   Status-Code and is intended for a human user. The client does not need
618   to examine or display the Reason-Phrase.
619</t>
620<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Status-Code"/><iref primary="true" item="Grammar" subitem="extension-code"/><iref primary="true" item="Grammar" subitem="Reason-Phrase"/>
621  <x:ref>Status-Code</x:ref>    = 3<x:ref>DIGIT</x:ref>
622  <x:ref>Reason-Phrase</x:ref>  = *( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
623</artwork></figure>
624<t>
625   HTTP status codes are extensible. HTTP applications are not required
626   to understand the meaning of all registered status codes, though such
627   understanding is obviously desirable. However, applications &MUST;
628   understand the class of any status code, as indicated by the first
629   digit, and treat any unrecognized response as being equivalent to the
630   x00 status code of that class, with the exception that an
631   unrecognized response &MUST-NOT; be cached. For example, if an
632   unrecognized status code of 431 is received by the client, it can
633   safely assume that there was something wrong with its request and
634   treat the response as if it had received a 400 status code. In such
635   cases, user agents &SHOULD; present to the user the representation enclosed
636   with the response, since that representation is likely to include human-readable
637   information which will explain the unusual status.
638</t>
639
640<section title="Overview of Status Codes" anchor="overview.of.status.codes">
641<t> 
642   The status codes listed below are defined in <xref target="status.codes"/>
643   of this specification, &p4-status-codes;, &p5-status-codes;, and &p7-status-codes;.
644   The reason phrases listed here are only recommendations &mdash; they can be
645   replaced by local equivalents without affecting the protocol.
646</t>
647<texttable align="left">
648  <ttcol>Status-Code</ttcol>
649  <ttcol>Reason-Phrase</ttcol>
650  <ttcol>Defined in...</ttcol>
651 
652  <c>100</c> <c>Continue</c> <c><xref target="status.100"/></c>
653  <c>101</c> <c>Switching Protocols</c> <c><xref target="status.101"/></c>
654
655  <c>200</c> <c>OK</c> <c><xref target="status.200"/></c>
656  <c>201</c> <c>Created</c> <c><xref target="status.201"/></c>
657  <c>202</c> <c>Accepted</c> <c><xref target="status.202"/></c>
658  <c>203</c> <c>Non-Authoritative Information</c> <c><xref target="status.203"/></c>
659  <c>204</c> <c>No Content</c> <c><xref target="status.204"/></c>
660  <c>205</c> <c>Reset Content</c> <c><xref target="status.205"/></c>
661  <c>206</c> <c>Partial Content</c> <c>&status-206;</c>
662
663  <c>300</c> <c>Multiple Choices</c> <c><xref target="status.300"/></c>
664  <c>301</c> <c>Moved Permanently</c> <c><xref target="status.301"/></c>
665  <c>302</c> <c>Found</c> <c><xref target="status.302"/></c>
666  <c>303</c> <c>See Other</c> <c><xref target="status.303"/></c>
667  <c>304</c> <c>Not Modified</c> <c>&status-304;</c>
668  <c>305</c> <c>Use Proxy</c> <c><xref target="status.305"/></c>
669  <c>307</c> <c>Temporary Redirect</c> <c><xref target="status.307"/></c>
670
671  <c>400</c> <c>Bad Request</c> <c><xref target="status.400"/></c>
672  <c>401</c> <c>Unauthorized</c> <c>&status-401;</c>
673  <c>402</c> <c>Payment Required</c> <c><xref target="status.402"/></c>
674  <c>403</c> <c>Forbidden</c> <c><xref target="status.403"/></c>
675  <c>404</c> <c>Not Found</c> <c><xref target="status.404"/></c>
676  <c>405</c> <c>Method Not Allowed</c> <c><xref target="status.405"/></c>
677  <c>406</c> <c>Not Acceptable</c> <c><xref target="status.406"/></c>
678  <c>407</c> <c>Proxy Authentication Required</c> <c>&status-407;</c>
679  <c>408</c> <c>Request Time-out</c> <c><xref target="status.408"/></c>
680  <c>409</c> <c>Conflict</c> <c><xref target="status.409"/></c>
681  <c>410</c> <c>Gone</c> <c><xref target="status.410"/></c>
682  <c>411</c> <c>Length Required</c> <c><xref target="status.411"/></c>
683  <c>412</c> <c>Precondition Failed</c> <c>&status-412;</c>
684  <c>413</c> <c>Request Representation Too Large</c> <c><xref target="status.413"/></c>
685  <c>414</c> <c>URI Too Long</c> <c><xref target="status.414"/></c>
686  <c>415</c> <c>Unsupported Media Type</c> <c><xref target="status.415"/></c>
687  <c>416</c> <c>Requested range not satisfiable</c> <c>&status-416;</c>
688  <c>417</c> <c>Expectation Failed</c> <c><xref target="status.417"/></c>
689  <c>426</c> <c>Upgrade Required</c> <c><xref target="status.426"/></c>
690
691  <c>500</c> <c>Internal Server Error</c> <c><xref target="status.500"/></c>
692  <c>501</c> <c>Not Implemented</c> <c><xref target="status.501"/></c>
693  <c>502</c> <c>Bad Gateway</c> <c><xref target="status.502"/></c>
694  <c>503</c> <c>Service Unavailable</c> <c><xref target="status.503"/></c>
695  <c>504</c> <c>Gateway Time-out</c> <c><xref target="status.504"/></c>
696  <c>505</c> <c>HTTP Version not supported</c> <c><xref target="status.505"/></c>
697</texttable>
698<t>
699   Note that this list is not exhaustive &mdash; it does not include
700   extension status codes defined in other specifications.
701</t>
702</section>
703
704<section title="Status Code Registry" anchor="status.code.registry">
705<t>
706  The HTTP Status Code Registry defines the name space for the Status-Code
707  token in the Status-Line of an HTTP response.
708</t>
709<t>
710  Values to be added to this name space are subject to IETF review
711  (<xref target="RFC5226" x:fmt="," x:sec="4.1"/>).
712</t>
713<t>
714  The registry itself is maintained at <eref target="http://www.iana.org/assignments/http-status-codes"/>.
715</t>
716
717<section title="Considerations for New Status Codes" anchor="considerations.for.new.status.codes">
718<t>
719   When it is necessary to express new semantics for a HTTP response that
720   aren't specific to a single application or media type, and currently defined
721   status codes are inadequate, a new status code can be registered.
722</t>
723<t>
724   HTTP status codes are generic; that is, they are potentially applicable to
725   any resource, not just one particular media type, "type" of resource, or
726   application. As such, it is preferred that new HTTP status codes be
727   registered in a document that isn't specific to a single application, so
728   that this is clear.
729</t>
730<t>
731   Definitions of new HTTP status codes typically explain the request
732   conditions that produce a response containing the status code (e.g.,
733   combinations of request headers and/or method(s)), along with any
734   interactions with response headers (e.g., those that are required, those
735   that modify the semantics of the response).
736</t>
737<t>
738   New HTTP status codes are required to fall under one of the categories
739   defined in <xref target="status.codes"/>. To allow existing parsers to
740   properly handle them, new status codes cannot disallow a response body,
741   although they can mandate a zero-length response body. They can require the
742   presence of one or more particular HTTP response header(s).
743</t>
744<t>
745   Likewise, their definitions can specify that caches are allowed to use
746   heuristics to determine their freshness (see &caching;; by default, it is
747   not allowed), and can define how to determine the resource which they
748   carry a representation for (see <xref
749   target="identifying.response.associated.with.representation"/>; by default,
750   it is anonymous).
751</t>
752</section>
753
754</section>
755
756</section>
757
758<section title="Representation" anchor="representation">
759<t>
760   Request and Response messages &MAY; transfer a representation if not otherwise
761   restricted by the request method or response status code. A representation
762   consists of metadata (representation header fields) and data (representation
763   body).  When a complete or partial representation is enclosed in an HTTP message,
764   it is referred to as the payload of the message. HTTP representations
765   are defined in &payload;.
766</t>
767<t>
768   A representation body is only present in a message when a message-body is
769   present, as described in &message-body;. The representation body is obtained
770   from the message-body by decoding any Transfer-Encoding that might
771   have been applied to ensure safe and proper transfer of the message.
772</t>
773
774<section title="Identifying the Resource Associated with a Representation" anchor="identifying.response.associated.with.representation">
775<t>
776   It is sometimes necessary to determine an identifier for the resource
777   associated with a representation.
778</t>
779<t>
780   An HTTP request representation, when present, is always associated with an
781   anonymous (i.e., unidentified) resource.
782</t>
783<t>
784   In the common case, an HTTP response is a representation of the target
785   resource (see &effective-request-uri;). However, this is not always the
786   case. To determine the URI of the resource a response is associated with,
787   the following rules are used (with the first applicable one being selected):
788</t>
789<t><list style="numbers">
790   <t>If the response status code is 200 or 203 and the request method was GET,
791   the response payload is a representation of the target resource.</t>
792   <t>If the response status code is 204, 206, or 304 and the request method was GET
793   or HEAD, the response payload is a partial representation of the target
794   resource.</t>
795   <t>If the response has a Content-Location header field, and that URI is the same
796   as the effective request URI, the response payload is a representation of the
797   target resource.</t>
798   <t>If the response has a Content-Location header field, and that URI is not the
799   same as the effective request URI, then the response asserts that its
800   payload is a representation of the resource identified by the
801   Content-Location URI. However, such an assertion cannot be trusted unless
802   it can be verified by other means (not defined by HTTP).</t>
803   <t>Otherwise, the response is a representation of an anonymous (i.e.,
804   unidentified) resource.</t>
805</list></t>
806<t>
807  <cref anchor="TODO-req-uri">
808   The comparison function is going to have to be defined somewhere,
809   because we already need to compare URIs for things like cache invalidation.</cref>
810</t>
811</section>
812
813</section>
814
815
816<section title="Method Definitions" anchor="method.definitions">
817<t>
818   The set of common request methods for HTTP/1.1 is defined below. Although
819   this set can be expanded, additional methods cannot be assumed to
820   share the same semantics for separately extended clients and servers.
821</t>
822
823<section title="Safe and Idempotent Methods" anchor="safe.and.idempotent">
824
825<section title="Safe Methods" anchor="safe.methods">
826<iref item="Safe Methods" primary="true"/>
827<t>
828   Implementors need to be aware that the software represents the user in
829   their interactions over the Internet, and need to allow
830   the user to be aware of any actions they take which might have an
831   unexpected significance to themselves or others.
832</t>
833<t>
834   In particular, the convention has been established that the GET, HEAD,
835   OPTIONS, and TRACE request methods &SHOULD-NOT; have the significance
836   of taking an action other than retrieval. These request methods ought
837   to be considered "<x:dfn anchor="safe">safe</x:dfn>".
838   This allows user agents to represent other methods, such as POST, PUT
839   and DELETE, in a special way, so that the user is made aware of the
840   fact that a possibly unsafe action is being requested.
841</t>
842<t>
843   Naturally, it is not possible to ensure that the server does not
844   generate side-effects as a result of performing a GET request; in
845   fact, some dynamic resources consider that a feature. The important
846   distinction here is that the user did not request the side-effects,
847   so therefore cannot be held accountable for them.
848</t>
849</section>
850
851<section title="Idempotent Methods" anchor="idempotent.methods">
852<iref item="Idempotent Methods" primary="true"/>
853<t>
854   Request methods can also have the property of "idempotence" in that,
855   aside from error or expiration issues, the intended effect of multiple
856   identical requests is the same as for a single request.
857   PUT, DELETE, and all safe request methods are idempotent.
858   It is important to note that idempotence refers only to changes
859   requested by the client: a server is free to change its state due
860   to multiple requests for the purpose of tracking those requests,
861   versioning of results, etc.
862</t>
863</section>
864</section>
865
866<section title="OPTIONS" anchor="OPTIONS">
867  <rdf:Description>
868    <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe>
869  </rdf:Description>
870  <iref primary="true" item="OPTIONS method" x:for-anchor=""/>
871  <iref primary="true" item="Methods" subitem="OPTIONS" x:for-anchor=""/>
872<t>
873   The OPTIONS method requests information about the
874   communication options available on the request/response chain
875   identified by the effective request URI. This method allows a client to
876   determine the options and/or requirements associated with a resource,
877   or the capabilities of a server, without implying a resource action
878   or initiating a resource retrieval.
879</t>
880<t>
881   Responses to the OPTIONS method are not cacheable.
882</t>
883<t>
884   If the OPTIONS request includes a message-body (as indicated by the
885   presence of Content-Length or Transfer-Encoding), then the media type
886   &MUST; be indicated by a Content-Type field. Although this
887   specification does not define any use for such a body, future
888   extensions to HTTP might use the OPTIONS body to make more detailed
889   queries on the server.
890</t>
891<t>
892   If the request-target is an asterisk ("*"), the OPTIONS request is
893   intended to apply to the server in general rather than to a specific
894   resource. Since a server's communication options typically depend on
895   the resource, the "*" request is only useful as a "ping" or "no-op"
896   type of method; it does nothing beyond allowing the client to test
897   the capabilities of the server. For example, this can be used to test
898   a proxy for HTTP/1.1 compliance (or lack thereof).
899</t>
900<t>
901   If the request-target is not an asterisk, the OPTIONS request applies
902   only to the options that are available when communicating with that
903   resource.
904</t>
905<t>
906   A 200 response &SHOULD; include any header fields that indicate
907   optional features implemented by the server and applicable to that
908   resource (e.g., Allow), possibly including extensions not defined by
909   this specification. The response body, if any, &SHOULD; also include
910   information about the communication options. The format for such a
911   body is not defined by this specification, but might be defined by
912   future extensions to HTTP. Content negotiation &MAY; be used to select
913   the appropriate response format. If no response body is included, the
914   response &MUST; include a Content-Length field with a field-value of
915   "0".
916</t>
917<t>
918   The Max-Forwards header field &MAY; be used to target a
919   specific proxy in the request chain (see <xref target="header.max-forwards"/>).
920   If no Max-Forwards field is present in the request, then the forwarded
921   request &MUST-NOT; include a Max-Forwards field.
922</t>
923</section>
924
925<section title="GET" anchor="GET">
926  <rdf:Description>
927    <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe>
928  </rdf:Description>
929  <iref primary="true" item="GET method" x:for-anchor=""/>
930  <iref primary="true" item="Methods" subitem="GET" x:for-anchor=""/>
931<t>
932   The GET method requests transfer of a current representation of
933   the target resource.
934</t>
935<t>   
936   If the target resource is a data-producing process, it is the
937   produced data which shall be returned as the representation in the response and not
938   the source text of the process, unless that text happens to be the output of
939   the process.
940</t>
941<t>
942   The semantics of the GET method change to a "conditional GET" if the
943   request message includes an If-Modified-Since, If-Unmodified-Since,
944   If-Match, If-None-Match, or If-Range header field. A conditional GET
945   requests that the representation be transferred only under the
946   circumstances described by the conditional header field(s). The
947   conditional GET request is intended to reduce unnecessary network
948   usage by allowing cached representations to be refreshed without requiring
949   multiple requests or transferring data already held by the client.
950</t>
951<t>
952   The semantics of the GET method change to a "partial GET" if the
953   request message includes a Range header field. A partial GET requests
954   that only part of the representation be transferred, as described in &header-range;.
955   The partial GET request is intended to reduce unnecessary
956   network usage by allowing partially-retrieved representations to be
957   completed without transferring data already held by the client.
958</t>
959<t>
960   Bodies on GET requests have no defined semantics. Note that sending a body
961   on a GET request might cause some existing implementations to reject the
962   request.
963</t>
964<t>
965   The response to a GET request is cacheable and &MAY; be used to satisfy
966   subsequent GET and HEAD requests (see &caching;).
967</t>
968<t>
969   See <xref target="encoding.sensitive.information.in.uris"/> for security considerations when used for forms.
970</t>
971</section>
972
973<section title="HEAD" anchor="HEAD">
974  <rdf:Description>
975    <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe>
976  </rdf:Description>
977  <iref primary="true" item="HEAD method" x:for-anchor=""/>
978  <iref primary="true" item="Methods" subitem="HEAD" x:for-anchor=""/>
979<t>
980   The HEAD method is identical to GET except that the server &MUST-NOT;
981   return a message-body in the response. The metadata contained
982   in the HTTP header fields in response to a HEAD request &SHOULD; be identical
983   to the information sent in response to a GET request. This method can
984   be used for obtaining metadata about the representation implied by the
985   request without transferring the representation body. This method is
986   often used for testing hypertext links for validity, accessibility,
987   and recent modification.
988</t>
989<t>
990   The response to a HEAD request is cacheable and &MAY; be used to satisfy
991   a subsequent HEAD request; see &caching;. It also &MAY; be used to update a previously cached
992   representation from that resource; if the new field values
993   indicate that the cached representation differs from the current representation (as
994   would be indicated by a change in Content-Length, ETag
995   or Last-Modified), then the cache &MUST; treat the cache entry as
996   stale.
997</t>
998<t>
999   Bodies on HEAD requests have no defined semantics. Note that sending a body
1000   on a HEAD request might cause some existing implementations to reject the
1001   request.
1002</t>
1003</section>
1004
1005<section title="POST" anchor="POST">
1006  <iref primary="true" item="POST method" x:for-anchor=""/>
1007  <iref primary="true" item="Methods" subitem="POST" x:for-anchor=""/>
1008<t>
1009   The POST method requests that the origin server accept the
1010   representation enclosed in the request as data to be processed by the
1011   target resource. POST is designed to allow a uniform method to cover the
1012   following functions:
1013  <list style="symbols">
1014    <t>
1015      Annotation of existing resources;
1016    </t>
1017    <t>
1018        Posting a message to a bulletin board, newsgroup, mailing list,
1019        or similar group of articles;
1020    </t>
1021    <t>
1022        Providing a block of data, such as the result of submitting a
1023        form, to a data-handling process;
1024    </t>
1025    <t>
1026        Extending a database through an append operation.
1027    </t>
1028  </list>
1029</t>
1030<t>
1031   The actual function performed by the POST method is determined by the
1032   server and is usually dependent on the effective request URI.
1033</t>
1034<t>
1035   The action performed by the POST method might not result in a
1036   resource that can be identified by a URI. In this case, either 200
1037   (OK) or 204 (No Content) is the appropriate response status code,
1038   depending on whether or not the response includes a representation that
1039   describes the result.
1040</t>
1041<t>
1042   If a resource has been created on the origin server, the response
1043   &SHOULD; be 201 (Created) and contain a representation which describes the
1044   status of the request and refers to the new resource, and a Location
1045   header field (see <xref target="header.location"/>).
1046</t>
1047<t>
1048   Responses to POST requests are only cacheable when they
1049   include explicit freshness information (see &p6-explicit;). A
1050   cached POST response with a Content-Location header field
1051   (see &header-content-location;) whose value is the effective
1052   Request URI &MAY; be used to satisfy subsequent GET and HEAD requests.
1053</t>
1054<t>
1055   Note that POST caching is not widely implemented.
1056   However, the 303 (See Other) response can be used to direct the
1057   user agent to retrieve a cacheable resource.
1058</t>
1059</section>
1060
1061<section title="PUT" anchor="PUT">
1062  <iref primary="true" item="PUT method" x:for-anchor=""/>
1063  <iref primary="true" item="Methods" subitem="PUT" x:for-anchor=""/>
1064<t>
1065   The PUT method requests that the state of the target resource
1066   be created or replaced with the state defined by the representation
1067   enclosed in the request message payload.  A successful PUT of a given
1068   representation would suggest that a subsequent GET on that same target
1069   resource will result in an equivalent representation being returned in
1070   a 200 (OK) response.  However, there is no guarantee that such a state
1071   change will be observable, since the target resource might be acted
1072   upon by other user agents in parallel, or might be subject to dynamic
1073   processing by the origin server, before any subsequent GET is received.
1074   A successful response only implies that the user agent's intent was
1075   achieved at the time of its processing by the origin server.
1076</t>
1077<t>   
1078   If the target resource does not have a current representation and
1079   the PUT successfully creates one, then the origin server &MUST; inform
1080   the user agent by sending a 201 (Created) response.  If the target
1081   resource does have a current representation and that representation is
1082   successfully modified in accordance with the state of the enclosed
1083   representation, then either a 200 (OK) or 204 (No Content) response
1084   &SHOULD; be sent to indicate successful completion of the request.
1085</t>
1086<t>
1087   Unrecognized header fields &SHOULD; be ignored (i.e., not saved
1088   as part of the resource state).
1089</t>
1090<t>
1091   An origin server &SHOULD; verify that the PUT representation is
1092   consistent with any constraints which the server has for the target
1093   resource that cannot or will not be changed by the PUT.  This is
1094   particularly important when the origin server uses internal
1095   configuration information related to the URI in order to set the
1096   values for representation metadata on GET responses.  When a PUT
1097   representation is inconsistent with the target resource, the origin
1098   server &SHOULD; either make them consistent, by transforming the
1099   representation or changing the resource configuration, or respond
1100   with an appropriate error message containing sufficient information
1101   to explain why the representation is unsuitable.  The 409 (Conflict)
1102   or 415 (Unsupported Media Type) status codes are suggested, with the
1103   latter being specific to constraints on Content-Type values.
1104</t>
1105<t>
1106   For example, if the target resource is configured to always have a
1107   Content-Type of "text/html" and the representation being PUT has a
1108   Content-Type of "image/jpeg", then the origin server &SHOULD; do one of:
1109   (a) reconfigure the target resource to reflect the new media type;
1110   (b) transform the PUT representation to a format consistent with that
1111   of the resource before saving it as the new resource state; or,
1112   (c) reject the request with a 415 response indicating that the target
1113   resource is limited to "text/html", perhaps including a link to a
1114   different resource that would be a suitable target for the new
1115   representation.
1116</t>
1117<t>
1118   HTTP does not define exactly how a PUT method affects the state
1119   of an origin server beyond what can be expressed by the intent of
1120   the user agent request and the semantics of the origin server response.
1121   It does not define what a resource might be, in any sense of that
1122   word, beyond the interface provided via HTTP.  It does not define
1123   how resource state is "stored", nor how such storage might change
1124   as a result of a change in resource state, nor how the origin server
1125   translates resource state into representations.  Generally speaking,
1126   all implementation details behind the resource interface are
1127   intentionally hidden by the server.
1128</t>
1129<t>
1130   The fundamental difference between the POST and PUT methods is
1131   highlighted by the different intent for the target resource.
1132   The target resource in a POST request is intended to handle the
1133   enclosed representation as a data-accepting process, such as for
1134   a gateway to some other protocol or a document that accepts annotations.
1135   In contrast, the target resource in a PUT request is intended to
1136   take the enclosed representation as a new or replacement value.
1137   Hence, the intent of PUT is idempotent and visible to intermediaries,
1138   even though the exact effect is only known by the origin server.
1139</t>
1140<t>
1141   Proper interpretation of a PUT request presumes that the user agent
1142   knows what target resource is desired.  A service that is intended
1143   to select a proper URI on behalf of the client, after receiving
1144   a state-changing request, &SHOULD; be implemented using the POST
1145   method rather than PUT.  If the origin server will not make the
1146   requested PUT state change to the target resource and instead
1147   wishes to have it applied to a different resource, such as when the
1148   resource has been moved to a different URI, then the origin server
1149   &MUST; send a 301 (Moved Permanently) response; the user agent &MAY;
1150   then make its own decision regarding whether or not to redirect the
1151   request.
1152</t>
1153<t>
1154   A PUT request applied to the target resource &MAY; have side-effects
1155   on other resources.  For example, an article might have a URI for
1156   identifying "the current version" (a resource) which is separate
1157   from the URIs identifying each particular version (different
1158   resources that at one point shared the same state as the current version
1159   resource).  A successful PUT request on "the current version" URI might
1160   therefore create a new version resource in addition to changing the
1161   state of the target resource, and might also cause links to be added
1162   between the related resources.
1163</t>
1164<t>
1165   An origin server &SHOULD; reject any PUT request that contains a
1166   Content-Range header field, since it might be misinterpreted as
1167   partial content (or might be partial content that is being mistakenly
1168   PUT as a full representation).  Partial content updates are
1169   possible by targeting a separately identified resource with state
1170   that overlaps a portion of the larger resource, or by using a
1171   different method that has been specifically defined for partial
1172   updates (for example, the PATCH method defined in
1173   <xref target="RFC5789"/>).
1174</t>
1175<t>
1176   Responses to the PUT method are not cacheable. If a PUT request passes
1177   through a cache that has one or more stored responses for the effective
1178   request URI, those stored responses will be invalidated (see
1179   &p6-invalid;).
1180</t>
1181</section>
1182
1183<section title="DELETE" anchor="DELETE">
1184  <iref primary="true" item="DELETE method" x:for-anchor=""/>
1185  <iref primary="true" item="Methods" subitem="DELETE" x:for-anchor=""/>
1186<t>
1187   The DELETE method requests that the origin server delete the target
1188   resource. This method &MAY; be overridden by
1189   human intervention (or other means) on the origin server. The client cannot
1190   be guaranteed that the operation has been carried out, even if the
1191   status code returned from the origin server indicates that the action
1192   has been completed successfully. However, the server &SHOULD-NOT; 
1193   indicate success unless, at the time the response is given, it
1194   intends to delete the resource or move it to an inaccessible
1195   location.
1196</t>
1197<t>
1198   A successful response &SHOULD; be 200 (OK) if the response includes an
1199   representation describing the status, 202 (Accepted) if the action has not
1200   yet been enacted, or 204 (No Content) if the action has been enacted
1201   but the response does not include a representation.
1202</t>
1203<t>
1204   Bodies on DELETE requests have no defined semantics. Note that sending a body
1205   on a DELETE request might cause some existing implementations to reject the
1206   request.
1207</t>
1208<t>
1209   Responses to the DELETE method are not cacheable. If a DELETE request
1210   passes through a cache that has one or more stored responses for the
1211   effective request URI, those stored responses will be invalidated (see
1212   &p6-invalid;).
1213</t>
1214</section>
1215
1216<section title="TRACE" anchor="TRACE">
1217  <rdf:Description>
1218    <safe xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">yes</safe>
1219  </rdf:Description>
1220  <iref primary="true" item="TRACE method" x:for-anchor=""/>
1221  <iref primary="true" item="Methods" subitem="TRACE" x:for-anchor=""/>
1222<t>
1223   The TRACE method requests a remote, application-layer loop-back
1224   of the request message. The final recipient of the request
1225   &SHOULD; reflect the message received back to the client as the
1226   message-body of a 200 (OK) response. The final recipient is either the
1227   origin server or the first proxy to receive a Max-Forwards
1228   value of zero (0) in the request (see <xref target="header.max-forwards"/>).
1229   A TRACE request &MUST-NOT; include a message-body.
1230</t>
1231<t>
1232   TRACE allows the client to see what is being received at the other
1233   end of the request chain and use that data for testing or diagnostic
1234   information. The value of the Via header field (&header-via;) is of
1235   particular interest, since it acts as a trace of the request chain.
1236   Use of the Max-Forwards header field allows the client to limit the
1237   length of the request chain, which is useful for testing a chain of
1238   proxies forwarding messages in an infinite loop.
1239</t>
1240<t>
1241   If the request is valid, the response &SHOULD; have a Content-Type of
1242   "message/http" (see &media-type-message-http;) and contain a message-body
1243   that encloses a copy of the entire request message.
1244   Responses to the TRACE method are not cacheable.
1245</t>
1246</section>
1247
1248<section title="CONNECT" anchor="CONNECT">
1249  <iref primary="true" item="CONNECT method" x:for-anchor=""/>
1250  <iref primary="true" item="Methods" subitem="CONNECT" x:for-anchor=""/>
1251<t>
1252   The CONNECT method requests that the proxy establish a tunnel
1253   to the request-target and then restrict its behavior to blind
1254   forwarding of packets until the connection is closed.
1255</t>
1256<t>
1257   When using CONNECT, the request-target &MUST; use the authority form
1258   (&request-target;); i.e., the request-target consists of only the
1259   host name and port number of the tunnel destination, separated by a colon.
1260   For example,
1261</t>
1262<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
1263CONNECT server.example.com:80 HTTP/1.1
1264Host: server.example.com:80
1265
1266</artwork></figure>
1267<t>
1268   Other HTTP mechanisms can be used normally with the CONNECT method &mdash;
1269   except end-to-end protocol Upgrade requests, since the
1270   tunnel must be established first.
1271</t>
1272<t>
1273   For example, proxy authentication might be used to establish the
1274   authority to create a tunnel:
1275</t>
1276<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
1277CONNECT server.example.com:80 HTTP/1.1
1278Host: server.example.com:80
1279Proxy-Authorization: basic aGVsbG86d29ybGQ=
1280
1281</artwork></figure>
1282<t>
1283   Bodies on CONNECT requests have no defined semantics. Note that sending a body
1284   on a CONNECT request might cause some existing implementations to reject the
1285   request.
1286</t>
1287<t>
1288   Like any other pipelined HTTP/1.1 request, data to be tunnel may be
1289   sent immediately after the blank line. The usual caveats also apply:
1290   data may be discarded if the eventual response is negative, and the
1291   connection may be reset with no response if more than one TCP segment
1292   is outstanding.
1293</t>
1294
1295<section title="Establishing a Tunnel with CONNECT">
1296<t>
1297   Any successful (2xx) response to a CONNECT request indicates that the
1298   proxy has established a connection to the requested host and port,
1299   and has switched to tunneling the current connection to that server
1300   connection.
1301</t>
1302<t>
1303   It may be the case that the proxy itself can only reach the requested
1304   origin server through another proxy.  In this case, the first proxy
1305   &SHOULD; make a CONNECT request of that next proxy, requesting a tunnel
1306   to the authority.  A proxy &MUST-NOT; respond with any 2xx status code
1307   unless it has either a direct or tunnel connection established to the
1308   authority.
1309</t>
1310<t>
1311   An origin server which receives a CONNECT request for itself &MAY;
1312   respond with a 2xx status code to indicate that a connection is
1313   established.
1314</t>
1315<t>
1316   If at any point either one of the peers gets disconnected, any
1317   outstanding data that came from that peer will be passed to the other
1318   one, and after that also the other connection will be terminated by
1319   the proxy. If there is outstanding data to that peer undelivered,
1320   that data will be discarded.
1321</t>
1322
1323</section>
1324</section>
1325</section>
1326
1327
1328<section title="Status Code Definitions" anchor="status.codes">
1329<t>
1330   Each Status-Code is described below, including any metadata required
1331   in the response.
1332</t>
1333
1334<section title="Informational 1xx" anchor="status.1xx">
1335<t>
1336   This class of status code indicates a provisional response,
1337   consisting only of the Status-Line and optional header fields, and is
1338   terminated by an empty line. There are no required header fields for this
1339   class of status code. Since HTTP/1.0 did not define any 1xx status
1340   codes, servers &MUST-NOT; send a 1xx response to an HTTP/1.0 client
1341   except under experimental conditions.
1342</t>
1343<t>
1344   A client &MUST; be prepared to accept one or more 1xx status responses
1345   prior to a regular response, even if the client does not expect a 100
1346   (Continue) status message. Unexpected 1xx status responses &MAY; be
1347   ignored by a user agent.
1348</t>
1349<t>
1350   Proxies &MUST; forward 1xx responses, unless the connection between the
1351   proxy and its client has been closed, or unless the proxy itself
1352   requested the generation of the 1xx response. (For example, if a
1353   proxy adds a "Expect: 100-continue" field when it forwards a request,
1354   then it need not forward the corresponding 100 (Continue)
1355   response(s).)
1356</t>
1357
1358<section title="100 Continue" anchor="status.100">
1359  <iref primary="true" item="100 Continue (status code)" x:for-anchor=""/>
1360  <iref primary="true" item="Status Codes" subitem="100 Continue" x:for-anchor=""/>
1361<t>
1362   The client &SHOULD; continue with its request. This interim response is
1363   used to inform the client that the initial part of the request has
1364   been received and has not yet been rejected by the server. The client
1365   &SHOULD; continue by sending the remainder of the request or, if the
1366   request has already been completed, ignore this response. The server
1367   &MUST; send a final response after the request has been completed. See
1368   &use100; for detailed discussion of the use and handling of this
1369   status code.
1370</t>
1371</section>
1372
1373<section title="101 Switching Protocols" anchor="status.101">
1374  <iref primary="true" item="101 Switching Protocols (status code)" x:for-anchor=""/>
1375  <iref primary="true" item="Status Codes" subitem="101 Switching Protocols" x:for-anchor=""/>
1376<t>
1377   The server understands and is willing to comply with the client's
1378   request, via the Upgrade message header field (&header-upgrade;), for a
1379   change in the application protocol being used on this connection. The
1380   server will switch protocols to those defined by the response's
1381   Upgrade header field immediately after the empty line which
1382   terminates the 101 response.
1383</t>
1384<t>
1385   The protocol &SHOULD; be switched only when it is advantageous to do
1386   so. For example, switching to a newer version of HTTP is advantageous
1387   over older versions, and switching to a real-time, synchronous
1388   protocol might be advantageous when delivering resources that use
1389   such features.
1390</t>
1391</section>
1392</section>
1393
1394<section title="Successful 2xx" anchor="status.2xx">
1395<t>
1396   This class of status code indicates that the client's request was
1397   successfully received, understood, and accepted.
1398</t>
1399
1400<section title="200 OK" anchor="status.200">
1401  <iref primary="true" item="200 OK (status code)" x:for-anchor=""/>
1402  <iref primary="true" item="Status Codes" subitem="200 OK" x:for-anchor=""/>
1403<t>
1404   The request has succeeded. The payload returned with the response
1405   is dependent on the method used in the request, for example:
1406  <list style="hanging">
1407    <t hangText="GET">
1408      a representation of the target resource is sent in the response;
1409    </t>
1410    <t hangText="HEAD">
1411      the same representation as GET, except without the message-body;
1412    </t>
1413    <t hangText="POST">
1414      a representation describing or containing the result of the action;
1415    </t>
1416    <t hangText="TRACE">
1417      a representation containing the request message as received by the
1418      end server.
1419    </t>
1420  </list>
1421</t>
1422<t>
1423   Caches &MAY; use a heuristic (see &p6-heuristic;) to determine
1424   freshness for 200 responses.
1425</t>
1426</section>
1427
1428<section title="201 Created" anchor="status.201">
1429  <iref primary="true" item="201 Created (status code)" x:for-anchor=""/>
1430  <iref primary="true" item="Status Codes" subitem="201 Created" x:for-anchor=""/>
1431<t>
1432   The request has been fulfilled and has resulted in a new resource being
1433   created. The newly created resource can be referenced by the URI(s)
1434   returned in the payload of the response, with the most specific URI
1435   for the resource given by a Location header field. The response
1436   &SHOULD; include a payload containing a list of resource
1437   characteristics and location(s) from which the user or user agent can
1438   choose the one most appropriate. The payload format is specified by
1439   the media type given in the Content-Type header field. The origin
1440   server &MUST; create the resource before returning the 201 status code.
1441   If the action cannot be carried out immediately, the server &SHOULD;
1442   respond with 202 (Accepted) response instead.
1443</t>
1444<t>
1445   A 201 response &MAY; contain an ETag response header field indicating
1446   the current value of the entity-tag for the representation of the resource
1447   just created (see &header-etag;).
1448</t>
1449</section>
1450
1451<section title="202 Accepted" anchor="status.202">
1452  <iref primary="true" item="202 Accepted (status code)" x:for-anchor=""/>
1453  <iref primary="true" item="Status Codes" subitem="202 Accepted" x:for-anchor=""/>
1454<t>
1455   The request has been accepted for processing, but the processing has
1456   not been completed.  The request might or might not eventually be
1457   acted upon, as it might be disallowed when processing actually takes
1458   place. There is no facility for re-sending a status code from an
1459   asynchronous operation such as this.
1460</t>
1461<t>
1462   The 202 response is intentionally non-committal. Its purpose is to
1463   allow a server to accept a request for some other process (perhaps a
1464   batch-oriented process that is only run once per day) without
1465   requiring that the user agent's connection to the server persist
1466   until the process is completed. The representation returned with this
1467   response &SHOULD; include an indication of the request's current status
1468   and either a pointer to a status monitor or some estimate of when the
1469   user can expect the request to be fulfilled.
1470</t>
1471</section>
1472
1473<section title="203 Non-Authoritative Information" anchor="status.203">
1474  <iref primary="true" item="203 Non-Authoritative Information (status code)" x:for-anchor=""/>
1475  <iref primary="true" item="Status Codes" subitem="203 Non-Authoritative Information" x:for-anchor=""/>
1476<t>
1477   The representation in the response has been transformed or otherwise
1478   modified by a transforming proxy (&intermediaries;).  Note that the
1479   behaviour of transforming intermediaries is controlled by the no-transform
1480   Cache-Control directive (&header-cache-control;).
1481</t>
1482<t>
1483   This status code is only appropriate when the response status code would
1484   have been 200 (OK) otherwise. When the status code before transformation
1485   would have been different, the 214 Transformation Applied warn-code
1486   (&header-warning;) is appropriate.
1487</t>
1488<t>
1489   Caches &MAY; use a heuristic (see &p6-heuristic;) to determine
1490   freshness for 203 responses.
1491</t>
1492</section>
1493
1494<section title="204 No Content" anchor="status.204">
1495  <iref primary="true" item="204 No Content (status code)" x:for-anchor=""/>
1496  <iref primary="true" item="Status Codes" subitem="204 No Content" x:for-anchor=""/>
1497<t>
1498   The 204 (No Content) status code indicates that the server has
1499   successfully fulfilled the request and that there is no additional
1500   content to return in the response payload body.  Metadata in the
1501   response header fields refer to the target resource and its current
1502   representation after the requested action.
1503</t>
1504<t>
1505   For example, if a 204 status code is received in response to a PUT
1506   request and the response contains an ETag header field, then the PUT
1507   was successful and the ETag field-value contains the entity-tag for
1508   the new representation of that target resource.
1509</t>
1510<t>
1511   The 204 response allows a server to indicate that the action has been
1512   successfully applied to the target resource while implying that the
1513   user agent &SHOULD-NOT; traverse away from its current "document view"
1514   (if any).  The server assumes that the user agent will provide some
1515   indication of the success to its user, in accord with its own interface,
1516   and apply any new or updated metadata in the response to the active
1517   representation.
1518</t>
1519<t>
1520   For example, a 204 status code is commonly used with document editing
1521   interfaces corresponding to a "save" action, such that the document
1522   being saved remains available to the user for editing. It is also
1523   frequently used with interfaces that expect automated data transfers
1524   to be prevalent, such as within distributed version control systems.
1525</t>
1526<t>
1527   The 204 response &MUST-NOT; include a message-body, and thus is always
1528   terminated by the first empty line after the header fields.
1529</t>
1530</section>
1531
1532<section title="205 Reset Content" anchor="status.205">
1533  <iref primary="true" item="205 Reset Content (status code)" x:for-anchor=""/>
1534  <iref primary="true" item="Status Codes" subitem="205 Reset Content" x:for-anchor=""/>
1535<t>
1536   The server has fulfilled the request and the user agent &SHOULD; reset
1537   the document view which caused the request to be sent. This response
1538   is primarily intended to allow input for actions to take place via
1539   user input, followed by a clearing of the form in which the input is
1540   given so that the user can easily initiate another input action.
1541</t>
1542<t>   
1543   The message-body included with the response &MUST; be empty. Note that
1544   receivers still need to parse the response according to the algorithm defined
1545   in &message-body;.
1546</t>
1547</section>
1548
1549<section title="206 Partial Content" anchor="status.206">
1550  <iref primary="true" item="206 Partial Content (status code)" x:for-anchor=""/>
1551  <iref primary="true" item="Status Codes" subitem="206 Partial Content" x:for-anchor=""/>
1552  <rdf:Description>
1553    <redirects-to xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">Part5</redirects-to>
1554  </rdf:Description>
1555<t>
1556   The server has fulfilled the partial GET request for the resource
1557   and the enclosed payload is a partial representation as defined in &status-206;.
1558</t>
1559<t>
1560   Caches &MAY; use a heuristic (see &p6-heuristic;) to determine
1561   freshness for 206 responses.
1562</t>
1563</section>
1564</section>
1565
1566<section title="Redirection 3xx" anchor="status.3xx">
1567<t>
1568   This class of status code indicates that further action needs to be
1569   taken by the user agent in order to fulfill the request.  The action
1570   required &MAY; be carried out by the user agent without interaction
1571   with the user if and only if the method used in the second request is
1572   known to be "safe", as defined in <xref target="safe.methods"/>.
1573   A client &SHOULD; detect infinite redirection loops, since such loops
1574   generate network traffic for each redirection.
1575</t>
1576<x:note>
1577  <t>
1578    <x:h>Note:</x:h> An earlier version of this specification recommended a
1579    maximum of five redirections (<xref target="RFC2068" x:fmt="," x:sec="10.3"/>).
1580    Content developers need to be aware that some clients might
1581    implement such a fixed limitation.
1582  </t>
1583</x:note>
1584
1585<section title="300 Multiple Choices" anchor="status.300">
1586  <iref primary="true" item="300 Multiple Choices (status code)" x:for-anchor=""/>
1587  <iref primary="true" item="Status Codes" subitem="300 Multiple Choices" x:for-anchor=""/>
1588<t>
1589   The target resource has more than one
1590   representation, each with its own specific location, and agent-driven
1591   negotiation information (&content-negotiation;) is being provided so that
1592   the user (or user agent) can select a preferred representation by
1593   redirecting its request to that location.
1594</t>
1595<t>
1596   Unless it was a HEAD request, the response &SHOULD; include a representation
1597   containing a list of representation metadata and location(s) from
1598   which the user or user agent can choose the one most appropriate. The
1599   data format is specified by the media type given in the Content-Type
1600   header field. Depending upon the format and the capabilities of
1601   the user agent, selection of the most appropriate choice &MAY; be
1602   performed automatically. However, this specification does not define
1603   any standard for such automatic selection.
1604</t>
1605<t>
1606   If the server has a preferred choice of representation, it &SHOULD;
1607   include the specific URI for that representation in the Location
1608   field; user agents &MAY; use the Location field value for automatic
1609   redirection.
1610</t>
1611<t>
1612   Caches &MAY; use a heuristic (see &p6-heuristic;) to determine
1613   freshness for 300 responses.
1614</t>
1615
1616</section>
1617
1618<section title="301 Moved Permanently" anchor="status.301">
1619  <iref primary="true" item="301 Moved Permanently (status code)" x:for-anchor=""/>
1620  <iref primary="true" item="Status Codes" subitem="301 Moved Permanently" x:for-anchor=""/>
1621<t>
1622   The target resource has been assigned a new permanent URI and any
1623   future references to this resource &SHOULD; use one of the returned
1624   URIs.  Clients with link editing capabilities ought to automatically
1625   re-link references to the effective request URI to one or more of the new
1626   references returned by the server, where possible.
1627</t>
1628<t>
1629   Caches &MAY; use a heuristic (see &p6-heuristic;) to determine
1630   freshness for 301 responses.
1631</t>
1632<t>
1633   The new permanent URI &SHOULD; be given by the Location field in the
1634   response. Unless the request method was HEAD, the representation of the
1635   response &SHOULD; contain a short hypertext note with a hyperlink to
1636   the new URI(s).
1637</t>
1638<t>
1639   If the 301 status code is received in response to a request method
1640   that is known to be "safe", as defined in <xref target="safe.methods"/>,
1641   then the request &MAY; be automatically redirected by the user agent without
1642   confirmation.  Otherwise, the user agent &MUST-NOT; automatically redirect the
1643   request unless it can be confirmed by the user, since this might
1644   change the conditions under which the request was issued.
1645</t>
1646<x:note>
1647  <t>
1648    <x:h>Note:</x:h> When automatically redirecting a POST request after
1649    receiving a 301 status code, some existing HTTP/1.0 user agents
1650    will erroneously change it into a GET request.
1651  </t>
1652</x:note>
1653</section>
1654
1655<section title="302 Found" anchor="status.302">
1656  <iref primary="true" item="302 Found (status code)" x:for-anchor=""/>
1657  <iref primary="true" item="Status Codes" subitem="302 Found" x:for-anchor=""/>
1658<t>
1659   The target resource resides temporarily under a different URI.
1660   Since the redirection might be altered on occasion, the client &SHOULD;
1661   continue to use the effective request URI for future requests.
1662</t>
1663<t>
1664   The temporary URI &SHOULD; be given by the Location field in the
1665   response. Unless the request method was HEAD, the representation of the
1666   response &SHOULD; contain a short hypertext note with a hyperlink to
1667   the new URI(s).
1668</t>
1669<t>
1670   If the 302 status code is received in response to a request method
1671   that is known to be "safe", as defined in <xref target="safe.methods"/>,
1672   then the request &MAY; be automatically redirected by the user agent without
1673   confirmation.  Otherwise, the user agent &MUST-NOT; automatically redirect the
1674   request unless it can be confirmed by the user, since this might
1675   change the conditions under which the request was issued.
1676</t>
1677<x:note>
1678  <t>
1679    <x:h>Note:</x:h> HTTP/1.0 (<xref target="RFC1945" x:fmt="," x:sec="9.3"/>)
1680    and the first version of HTTP/1.1 (<xref target="RFC2068" x:fmt="," x:sec ="10.3.3"/>)
1681    specify that the client is not allowed to change the method on the
1682    redirected request.  However, most existing user agent implementations
1683    treat 302 as if it were a 303 response, performing a GET on the Location
1684    field-value regardless of the original request method. Therefore, a
1685    previous version of this specification
1686    (<xref target="RFC2616" x:fmt="," x:sec="10.3.3"/>) has added the
1687    status codes
1688    <xref target="status.303" format="none">303</xref> and
1689    <xref target="status.307" format="none">307</xref> for servers that wish
1690    to make unambiguously clear which kind of reaction is expected of the
1691    client.
1692  </t>
1693</x:note>
1694</section>
1695
1696<section title="303 See Other" anchor="status.303">
1697  <iref primary="true" item="303 See Other (status code)" x:for-anchor=""/>
1698  <iref primary="true" item="Status Codes" subitem="303 See Other" x:for-anchor=""/>
1699<t>
1700   The 303 status code indicates that the server is redirecting the
1701   user agent to a different resource, as indicated by a URI in the
1702   Location header field, that is intended to provide an indirect
1703   response to the original request.  In order to satisfy the original
1704   request, a user agent &SHOULD; perform a retrieval request using the
1705   Location URI, which may itself be redirected further, and present
1706   the eventual result as an answer to the original request.
1707   Note that the new URI in the Location header field is not considered
1708   equivalent to the effective request URI.
1709</t>
1710<t>
1711   This status code is generally applicable to any HTTP method.  It is
1712   primarily used to allow the output of a POST action to redirect
1713   the user agent to a selected resource, since doing so provides the
1714   information corresponding to the POST response in a form that
1715   can be separately identified, bookmarked, and cached independent
1716   of the original request.
1717</t>
1718<t>
1719   A 303 response to a GET request indicates that the requested
1720   resource does not have a representation of its own that can be
1721   transferred by the server over HTTP.  The Location URI indicates a
1722   resource that is descriptive of the target resource, such that the
1723   follow-on representation might be useful to recipients without
1724   implying that it adequately represents the target resource.
1725   Note that answers to the questions of what can be represented, what
1726   representations are adequate, and what might be a useful description
1727   are outside the scope of HTTP and thus entirely determined by the
1728   URI owner(s).
1729</t>
1730<t>
1731   Except for responses to a HEAD request, the representation of a 303
1732   response &SHOULD; contain a short hypertext note with a hyperlink
1733   to the Location URI.
1734</t>
1735</section>
1736
1737<section title="304 Not Modified" anchor="status.304">
1738  <iref primary="true" item="304 Not Modified (status code)" x:for-anchor=""/>
1739  <iref primary="true" item="Status Codes" subitem="304 Not Modified" x:for-anchor=""/>
1740  <rdf:Description>
1741    <redirects-to xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">Part4</redirects-to>
1742  </rdf:Description>
1743<t>
1744   The response to the request has not been modified since the conditions
1745   indicated by the client's conditional GET request, as defined in &status-304;.
1746</t>
1747</section>
1748
1749<section title="305 Use Proxy" anchor="status.305">
1750  <iref primary="true" item="305 Use Proxy (status code)" x:for-anchor=""/>
1751  <iref primary="true" item="Status Codes" subitem="305 Use Proxy" x:for-anchor=""/>
1752<t>
1753   The 305 status code was defined in a previous version of this specification
1754   (see <xref target="changes.from.rfc.2616"/>), and is now deprecated.
1755</t>
1756</section>
1757
1758<section title="306 (Unused)" anchor="status.306">
1759  <iref primary="true" item="306 (Unused) (status code)" x:for-anchor=""/>
1760  <iref primary="true" item="Status Codes" subitem="306 (Unused)" x:for-anchor=""/>
1761<t>
1762   The 306 status code was used in a previous version of the
1763   specification, is no longer used, and the code is reserved.
1764</t>
1765</section>
1766
1767<section title="307 Temporary Redirect" anchor="status.307">
1768  <iref primary="true" item="307 Temporary Redirect (status code)" x:for-anchor=""/>
1769  <iref primary="true" item="Status Codes" subitem="307 Temporary Redirect" x:for-anchor=""/>
1770<t>
1771   The target resource resides temporarily under a different URI.
1772   Since the redirection can change over time, the client &SHOULD;
1773   continue to use the effective request URI for future requests.
1774</t>
1775<t>
1776   The temporary URI &SHOULD; be given by the Location field in the
1777   response. Unless the request method was HEAD, the representation of the
1778   response &SHOULD; contain a short hypertext note with a hyperlink to
1779   the new URI(s), since many pre-HTTP/1.1 user agents do not
1780   understand the 307 status code. Therefore, the note &SHOULD; contain the
1781   information necessary for a user to repeat the original request on
1782   the new URI.
1783</t>
1784<t>
1785   If the 307 status code is received in response to a request method
1786   that is known to be "safe", as defined in <xref target="safe.methods"/>,
1787   then the request &MAY; be automatically redirected by the user agent without
1788   confirmation.  Otherwise, the user agent &MUST-NOT; automatically redirect the
1789   request unless it can be confirmed by the user, since this might
1790   change the conditions under which the request was issued.
1791</t>
1792</section>
1793</section>
1794
1795<section title="Client Error 4xx" anchor="status.4xx">
1796<t>
1797   The 4xx class of status code is intended for cases in which the
1798   client seems to have erred. Except when responding to a HEAD request,
1799   the server &SHOULD; include a representation containing an explanation of the
1800   error situation, and whether it is a temporary or permanent
1801   condition. These status codes are applicable to any request method.
1802   User agents &SHOULD; display any included representation to the user.
1803</t>
1804<t>
1805   If the client is sending data, a server implementation using TCP
1806   &SHOULD; be careful to ensure that the client acknowledges receipt of
1807   the packet(s) containing the response, before the server closes the
1808   input connection. If the client continues sending data to the server
1809   after the close, the server's TCP stack will send a reset packet to
1810   the client, which might erase the client's unacknowledged input buffers
1811   before they can be read and interpreted by the HTTP application.
1812</t>
1813
1814<section title="400 Bad Request" anchor="status.400">
1815  <iref primary="true" item="400 Bad Request (status code)" x:for-anchor=""/>
1816  <iref primary="true" item="Status Codes" subitem="400 Bad Request" x:for-anchor=""/>
1817<t>
1818   The server cannot or will not process the request, due to a client error (e.g.,
1819   malformed syntax).</t>
1820</section>
1821
1822<section title="401 Unauthorized" anchor="status.401">
1823  <iref primary="true" item="401 Unauthorized (status code)" x:for-anchor=""/>
1824  <iref primary="true" item="Status Codes" subitem="401 Unauthorized" x:for-anchor=""/>
1825  <rdf:Description>
1826    <redirects-to xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">Part7</redirects-to>
1827  </rdf:Description>
1828<t>
1829   The request requires user authentication (see &status-401;).
1830</t>
1831</section>
1832
1833<section title="402 Payment Required" anchor="status.402">
1834  <iref primary="true" item="402 Payment Required (status code)" x:for-anchor=""/>
1835  <iref primary="true" item="Status Codes" subitem="402 Payment Required" x:for-anchor=""/>
1836<t>
1837   This code is reserved for future use.
1838</t>
1839</section>
1840
1841<section title="403 Forbidden" anchor="status.403">
1842  <iref primary="true" item="403 Forbidden (status code)" x:for-anchor=""/>
1843  <iref primary="true" item="Status Codes" subitem="403 Forbidden" x:for-anchor=""/>
1844<t>
1845   The server understood the request, but refuses to authorize it. Providing
1846   different user authentication credentials might be successful, but any
1847   credentials that were provided in the request are insufficient. The request
1848   &SHOULD-NOT; be repeated with the same credentials.
1849</t>
1850<t>
1851   If the request method was not HEAD and the server wishes to make
1852   public why the request has not been fulfilled, it &SHOULD; describe the
1853   reason for the refusal in the representation.  If the server does not wish to
1854   make this information available to the client, the status code 404
1855   (Not Found) &MAY; be used instead.
1856</t>
1857</section>
1858
1859<section title="404 Not Found" anchor="status.404">
1860  <iref primary="true" item="404 Not Found (status code)" x:for-anchor=""/>
1861  <iref primary="true" item="Status Codes" subitem="404 Not Found" x:for-anchor=""/>
1862<t>
1863   The server has not found anything matching the effective request URI. No
1864   indication is given of whether the condition is temporary or
1865   permanent. The 410 (Gone) status code &SHOULD; be used if the server
1866   knows, through some internally configurable mechanism, that an old
1867   resource is permanently unavailable and has no forwarding address.
1868   This status code is commonly used when the server does not wish to
1869   reveal exactly why the request has been refused, or when no other
1870   response is applicable.
1871</t>
1872</section>
1873
1874<section title="405 Method Not Allowed" anchor="status.405">
1875  <iref primary="true" item="405 Method Not Allowed (status code)" x:for-anchor=""/>
1876  <iref primary="true" item="Status Codes" subitem="405 Method Not Allowed" x:for-anchor=""/>
1877<t>
1878   The method specified in the Request-Line is not allowed for the target
1879   resource. The response &MUST; include an Allow header field containing a
1880   list of valid methods for the requested resource.
1881</t>
1882</section>
1883
1884<section title="406 Not Acceptable" anchor="status.406">
1885  <iref primary="true" item="406 Not Acceptable (status code)" x:for-anchor=""/>
1886  <iref primary="true" item="Status Codes" subitem="406 Not Acceptable" x:for-anchor=""/>
1887<t>
1888   The resource identified by the request is only capable of generating
1889   response representations which have content characteristics not acceptable
1890   according to the Accept and Accept-* header fields sent in the request
1891   (see &p3-header-fields;).
1892</t>
1893<t>
1894   Unless it was a HEAD request, the response &SHOULD; include a representation
1895   containing a list of available representation characteristics and location(s)
1896   from which the user or user agent can choose the one most
1897   appropriate. The data format is specified by the media type given
1898   in the Content-Type header field. Depending upon the format and the
1899   capabilities of the user agent, selection of the most appropriate
1900   choice &MAY; be performed automatically. However, this specification
1901   does not define any standard for such automatic selection.
1902</t>
1903<x:note>
1904  <t>
1905    <x:h>Note:</x:h> HTTP/1.1 servers are allowed to return responses which are
1906    not acceptable according to the accept header fields sent in the
1907    request. In some cases, this might even be preferable to sending a
1908    406 response. User agents are encouraged to inspect the header fields of
1909    an incoming response to determine if it is acceptable.
1910  </t>
1911</x:note>
1912<t>
1913   If the response could be unacceptable, a user agent &SHOULD;
1914   temporarily stop receipt of more data and query the user for a
1915   decision on further actions.
1916</t>
1917</section>
1918
1919<section title="407 Proxy Authentication Required" anchor="status.407">
1920  <iref primary="true" item="407 Proxy Authentication Required (status code)" x:for-anchor=""/>
1921  <iref primary="true" item="Status Codes" subitem="407 Proxy Authentication Required" x:for-anchor=""/>
1922<t>
1923   This code is similar to 401 (Unauthorized), but indicates that the
1924   client must first authenticate itself with the proxy (see &status-407;).
1925</t>
1926</section>
1927
1928<section title="408 Request Timeout" anchor="status.408">
1929  <iref primary="true" item="408 Request Timeout (status code)" x:for-anchor=""/>
1930  <iref primary="true" item="Status Codes" subitem="408 Request Timeout" x:for-anchor=""/>
1931<t>
1932   The client did not produce a request within the time that the server
1933   was prepared to wait. The client &MAY; repeat the request without
1934   modifications at any later time.
1935</t>
1936</section>
1937
1938<section title="409 Conflict" anchor="status.409">
1939  <iref primary="true" item="409 Conflict (status code)" x:for-anchor=""/>
1940  <iref primary="true" item="Status Codes" subitem="409 Conflict" x:for-anchor=""/>
1941<t>
1942   The request could not be completed due to a conflict with the current
1943   state of the resource. This code is only allowed in situations where
1944   it is expected that the user might be able to resolve the conflict
1945   and resubmit the request. The response body &SHOULD; include enough
1946   information for the user to recognize the source of the conflict.
1947   Ideally, the response representation would include enough information for the
1948   user or user agent to fix the problem; however, that might not be
1949   possible and is not required.
1950</t>
1951<t>
1952   Conflicts are most likely to occur in response to a PUT request. For
1953   example, if versioning were being used and the representation being PUT
1954   included changes to a resource which conflict with those made by an
1955   earlier (third-party) request, the server might use the 409 response
1956   to indicate that it can't complete the request. In this case, the
1957   response representation would likely contain a list of the differences
1958   between the two versions in a format defined by the response
1959   Content-Type.
1960</t>
1961</section>
1962
1963<section title="410 Gone" anchor="status.410">
1964  <iref primary="true" item="410 Gone (status code)" x:for-anchor=""/>
1965  <iref primary="true" item="Status Codes" subitem="410 Gone" x:for-anchor=""/>
1966<t>
1967   The target resource is no longer available at the server and no
1968   forwarding address is known. This condition is expected to be
1969   considered permanent. Clients with link editing capabilities &SHOULD;
1970   delete references to the effective request URI after user approval. If the
1971   server does not know, or has no facility to determine, whether or not
1972   the condition is permanent, the status code 404 (Not Found) &SHOULD; be
1973   used instead.
1974</t>
1975<t>
1976   The 410 response is primarily intended to assist the task of web
1977   maintenance by notifying the recipient that the resource is
1978   intentionally unavailable and that the server owners desire that
1979   remote links to that resource be removed. Such an event is common for
1980   limited-time, promotional services and for resources belonging to
1981   individuals no longer working at the server's site. It is not
1982   necessary to mark all permanently unavailable resources as "gone" or
1983   to keep the mark for any length of time &mdash; that is left to the
1984   discretion of the server owner.
1985</t>
1986<t>
1987   Caches &MAY; use a heuristic (see &p6-heuristic;) to determine freshness
1988   for 410 responses.
1989</t>
1990
1991</section>
1992
1993<section title="411 Length Required" anchor="status.411">
1994  <iref primary="true" item="411 Length Required (status code)" x:for-anchor=""/>
1995  <iref primary="true" item="Status Codes" subitem="411 Length Required" x:for-anchor=""/>
1996<t>
1997   The server refuses to accept the request without a defined Content-Length.
1998   The client &MAY; repeat the request if it adds a valid
1999   Content-Length header field containing the length of the message-body
2000   in the request message.
2001</t>
2002</section>
2003
2004<section title="412 Precondition Failed" anchor="status.412">
2005  <iref primary="true" item="412 Precondition Failed (status code)" x:for-anchor=""/>
2006  <iref primary="true" item="Status Codes" subitem="412 Precondition Failed" x:for-anchor=""/>
2007  <rdf:Description>
2008    <redirects-to xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">Part4</redirects-to>
2009  </rdf:Description>
2010<t>
2011   The precondition given in one or more of the header fields
2012   evaluated to false when it was tested on the server, as defined in
2013   &status-412;.
2014</t>
2015</section>
2016
2017<section title="413 Request Representation Too Large" anchor="status.413">
2018  <iref primary="true" item="413 Request Representation Too Large (status code)" x:for-anchor=""/>
2019  <iref primary="true" item="Status Codes" subitem="413 Request Representation Too Large" x:for-anchor=""/>
2020<t>
2021   The server is refusing to process a request because the request
2022   representation is larger than the server is willing or able to process. The
2023   server &MAY; close the connection to prevent the client from continuing
2024   the request.
2025</t>
2026<t>
2027   If the condition is temporary, the server &SHOULD; include a Retry-After
2028   header field to indicate that it is temporary and after what
2029   time the client &MAY; try again.
2030</t>
2031</section>
2032
2033<section title="414 URI Too Long" anchor="status.414">
2034  <iref primary="true" item="414 URI Too Long (status code)" x:for-anchor=""/>
2035  <iref primary="true" item="Status Codes" subitem="414 URI Too Long" x:for-anchor=""/>
2036<t>
2037   The server is refusing to service the request because the effective request URI
2038   is longer than the server is willing to interpret. This rare
2039   condition is only likely to occur when a client has improperly
2040   converted a POST request to a GET request with long query
2041   information, when the client has descended into a URI "black hole" of
2042   redirection (e.g., a redirected URI prefix that points to a suffix of
2043   itself), or when the server is under attack by a client attempting to
2044   exploit security holes present in some servers using fixed-length
2045   buffers for reading or manipulating the effective request URI.
2046</t>
2047</section>
2048
2049<section title="415 Unsupported Media Type" anchor="status.415">
2050  <iref primary="true" item="415 Unsupported Media Type (status code)" x:for-anchor=""/>
2051  <iref primary="true" item="Status Codes" subitem="415 Unsupported Media Type" x:for-anchor=""/>
2052<t>
2053   The server is refusing to service the request because the request
2054   payload is in a format not supported by this request method on the
2055   target resource.
2056</t>
2057</section>
2058
2059<section title="416 Requested Range Not Satisfiable" anchor="status.416">
2060  <iref primary="true" item="416 Requested Range Not Satisfiable (status code)" x:for-anchor=""/>
2061  <iref primary="true" item="Status Codes" subitem="416 Requested Range Not Satisfiable" x:for-anchor=""/>
2062  <rdf:Description>
2063    <redirects-to xmlns="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">Part5</redirects-to>
2064  </rdf:Description>
2065<t>
2066   The request included a Range header field (&header-range;) and none of
2067   the range-specifier values in this field overlap the current extent
2068   of the selected resource. See &status-416;.
2069</t>
2070</section>
2071
2072<section title="417 Expectation Failed" anchor="status.417">
2073  <iref primary="true" item="417 Expectation Failed (status code)" x:for-anchor=""/>
2074  <iref primary="true" item="Status Codes" subitem="417 Expectation Failed" x:for-anchor=""/>
2075<t>
2076   The expectation given in an Expect header field (see <xref target="header.expect"/>)
2077   could not be met by this server, or, if the server is a proxy,
2078   the server has unambiguous evidence that the request could not be met
2079   by the next-hop server.
2080</t>
2081</section>
2082
2083<section title="426 Upgrade Required" anchor="status.426">
2084  <iref primary="true" item="426 Upgrade Required (status code)" x:for-anchor=""/>
2085  <iref primary="true" item="Status Codes" subitem="426 Upgrade Required" x:for-anchor=""/>
2086<t>
2087   The request can not be completed without a prior protocol upgrade. This
2088   response &MUST; include an Upgrade header field (&header-upgrade;)
2089   specifying the required protocols.
2090</t>
2091<figure>
2092<preamble>Example:</preamble>
2093<artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2094HTTP/1.1 426 Upgrade Required
2095Upgrade: HTTP/2.0
2096Connection: Upgrade
2097
2098</artwork></figure>
2099<t>
2100   The server &SHOULD; include a message body in the 426 response which
2101   indicates in human readable form the reason for the error and describes any
2102   alternative courses which may be available to the user.
2103</t>
2104</section>
2105</section>
2106
2107<section title="Server Error 5xx" anchor="status.5xx">
2108<t>
2109   Response status codes beginning with the digit "5" indicate cases in
2110   which the server is aware that it has erred or is incapable of
2111   performing the request. Except when responding to a HEAD request, the
2112   server &SHOULD; include a representation containing an explanation of the
2113   error situation, and whether it is a temporary or permanent
2114   condition. User agents &SHOULD; display any included representation to the
2115   user. These response codes are applicable to any request method.
2116</t>
2117
2118<section title="500 Internal Server Error" anchor="status.500">
2119  <iref primary="true" item="500 Internal Server Error (status code)" x:for-anchor=""/>
2120  <iref primary="true" item="Status Codes" subitem="500 Internal Server Error" x:for-anchor=""/>
2121<t>
2122   The server encountered an unexpected condition which prevented it
2123   from fulfilling the request.
2124</t>
2125</section>
2126
2127<section title="501 Not Implemented" anchor="status.501">
2128  <iref primary="true" item="501 Not Implemented (status code)" x:for-anchor=""/>
2129  <iref primary="true" item="Status Codes" subitem="501 Not Implemented" x:for-anchor=""/>
2130<t>
2131   The server does not support the functionality required to fulfill the
2132   request. This is the appropriate response when the server does not
2133   recognize the request method and is not capable of supporting it for
2134   any resource.
2135</t>
2136</section>
2137
2138<section title="502 Bad Gateway" anchor="status.502">
2139  <iref primary="true" item="502 Bad Gateway (status code)" x:for-anchor=""/>
2140  <iref primary="true" item="Status Codes" subitem="502 Bad Gateway" x:for-anchor=""/>
2141<t>
2142   The server, while acting as a gateway or proxy, received an invalid
2143   response from the upstream server it accessed in attempting to
2144   fulfill the request.
2145</t>
2146</section>
2147
2148<section title="503 Service Unavailable" anchor="status.503">
2149  <iref primary="true" item="503 Service Unavailable (status code)" x:for-anchor=""/>
2150  <iref primary="true" item="Status Codes" subitem="503 Service Unavailable" x:for-anchor=""/>
2151<t>
2152   The server is currently unable or unwilling to handle the request due to
2153   reasons such as temporary overloading, maintenance of the server, or rate
2154   limiting of the client.
2155</t>
2156<t>
2157   The implication is that this is a temporary condition which will be
2158   alleviated after some delay. If known, the length of the delay &MAY; be
2159   indicated in a Retry-After header field (<xref target="header.retry-after"/>).
2160   If no Retry-After is given, the client &SHOULD; handle the response as it
2161   would for a 500 response.
2162</t>
2163<x:note>
2164  <t>
2165    <x:h>Note:</x:h> The existence of the 503 status code does not imply that a
2166    server must use it when becoming overloaded. Some servers might wish
2167    to simply refuse the connection.
2168  </t>
2169</x:note>
2170</section>
2171
2172<section title="504 Gateway Timeout" anchor="status.504">
2173  <iref primary="true" item="504 Gateway Timeout (status code)" x:for-anchor=""/>
2174  <iref primary="true" item="Status Codes" subitem="504 Gateway Timeout" x:for-anchor=""/>
2175<t>
2176   The server, while acting as a gateway or proxy, did not receive a
2177   timely response from the upstream server specified by the URI (e.g.,
2178   HTTP, FTP, LDAP) or some other auxiliary server (e.g., DNS) it needed
2179   to access in attempting to complete the request.
2180</t>
2181<x:note>
2182  <t>
2183    <x:h>Note</x:h> to implementors: some deployed proxies are known to
2184    return 400 or 500 when DNS lookups time out.
2185  </t>
2186</x:note>
2187</section>
2188
2189<section title="505 HTTP Version Not Supported" anchor="status.505">
2190  <iref primary="true" item="505 HTTP Version Not Supported (status code)" x:for-anchor=""/>
2191  <iref primary="true" item="Status Codes" subitem="505 HTTP Version Not Supported" x:for-anchor=""/>
2192<t>
2193   The server does not support, or refuses to support, the protocol
2194   version that was used in the request message. The server is
2195   indicating that it is unable or unwilling to complete the request
2196   using the same major version as the client, as described in &http-version;,
2197   other than with this error message. The response &SHOULD; contain
2198   a representation describing why that version is not supported and what other
2199   protocols are supported by that server.
2200</t>
2201
2202</section>
2203</section>
2204</section>
2205
2206
2207<section title="Header Field Definitions" anchor="header.field.definitions">
2208<t>
2209   This section defines the syntax and semantics of HTTP/1.1 header fields
2210   related to request and response semantics.
2211</t>
2212
2213<section title="Allow" anchor="header.allow">
2214  <iref primary="true" item="Allow header field" x:for-anchor=""/>
2215  <iref primary="true" item="Header Fields" subitem="Allow" x:for-anchor=""/>
2216  <x:anchor-alias value="Allow"/>
2217<t>
2218   The "Allow" header field lists the set of methods advertised as
2219   supported by the target resource. The purpose of this field is strictly to
2220   inform the recipient of valid request methods associated with the resource.
2221</t>
2222<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Allow"/>
2223  <x:ref>Allow</x:ref> = #<x:ref>Method</x:ref>
2224</artwork></figure>
2225<t>
2226   Example of use:
2227</t>
2228<figure><artwork type="example">
2229  Allow: GET, HEAD, PUT
2230</artwork></figure>
2231<t>
2232   The actual set of allowed methods is defined by the origin server at the
2233   time of each request.
2234</t>
2235<t>
2236   A proxy &MUST-NOT; modify the Allow header field &mdash; it does not need to
2237   understand all the methods specified in order to handle them according to
2238   the generic message handling rules.
2239</t>
2240</section>
2241
2242<section title="Expect" anchor="header.expect">
2243  <iref primary="true" item="Expect header field" x:for-anchor=""/>
2244  <iref primary="true" item="Header Fields" subitem="Expect" x:for-anchor=""/>
2245  <x:anchor-alias value="Expect"/>
2246  <x:anchor-alias value="expectation"/>
2247  <x:anchor-alias value="expectation-extension"/>
2248  <x:anchor-alias value="expect-params"/>
2249<t>
2250   The "Expect" header field is used to indicate that particular
2251   server behaviors are required by the client.
2252</t>
2253<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Expect"/><iref primary="true" item="Grammar" subitem="expectation"/><iref primary="true" item="Grammar" subitem="expectation-extension"/><iref primary="true" item="Grammar" subitem="expect-params"/>
2254  <x:ref>Expect</x:ref>       = 1#<x:ref>expectation</x:ref>
2255 
2256  <x:ref>expectation</x:ref>  = "100-continue" / <x:ref>expectation-extension</x:ref>
2257  <x:ref>expectation-extension</x:ref> = <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> )
2258                           *<x:ref>expect-params</x:ref> ]
2259  <x:ref>expect-params</x:ref> = ";" <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ]
2260</artwork></figure>
2261<t>
2262   A server that does not understand or is unable to comply with any of
2263   the expectation values in the Expect field of a request &MUST; respond
2264   with appropriate error status code. The server &MUST; respond with a 417
2265   (Expectation Failed) status code if any of the expectations cannot be met
2266   or, if there are other problems with the request, some other 4xx
2267   status code.
2268</t>
2269<t>
2270   This header field is defined with extensible syntax to allow for
2271   future extensions. If a server receives a request containing an
2272   Expect field that includes an expectation-extension that it does not
2273   support, it &MUST; respond with a 417 (Expectation Failed) status code.
2274</t>
2275<t>
2276   Comparison of expectation values is case-insensitive for unquoted
2277   tokens (including the 100-continue token), and is case-sensitive for
2278   quoted-string expectation-extensions.
2279</t>
2280<t>
2281   The Expect mechanism is hop-by-hop: that is, an HTTP/1.1 proxy &MUST;
2282   return a 417 (Expectation Failed) status code if it receives a request
2283   with an expectation that it cannot meet. However, the Expect
2284   header field itself is end-to-end; it &MUST; be forwarded if the
2285   request is forwarded.
2286</t>
2287<t>
2288   Many older HTTP/1.0 and HTTP/1.1 applications do not understand the
2289   Expect header field.
2290</t>
2291<t>
2292   See &use100; for the use of the 100 (Continue) status code.
2293</t>
2294</section>
2295
2296<section title="From" anchor="header.from">
2297  <iref primary="true" item="From header field" x:for-anchor=""/>
2298  <iref primary="true" item="Header Fields" subitem="From" x:for-anchor=""/>
2299  <x:anchor-alias value="From"/>
2300  <x:anchor-alias value="mailbox"/>
2301<t>
2302   The "From" header field, if given, &SHOULD; contain an Internet
2303   e-mail address for the human user who controls the requesting user
2304   agent. The address &SHOULD; be machine-usable, as defined by "mailbox"
2305   in <xref x:sec="3.4" x:fmt="of" target="RFC5322"/>:
2306</t>
2307<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="From"/>
2308  <x:ref>From</x:ref>    = <x:ref>mailbox</x:ref>
2309 
2310  <x:ref>mailbox</x:ref> = &lt;mailbox, defined in <xref x:sec="3.4" x:fmt="," target="RFC5322"/>&gt;
2311</artwork></figure>
2312<t>
2313   An example is:
2314</t>
2315<figure><artwork type="example">
2316  From: webmaster@example.org
2317</artwork></figure>
2318<t>
2319   This header field &MAY; be used for logging purposes and as a means for
2320   identifying the source of invalid or unwanted requests. It &SHOULD-NOT; 
2321   be used as an insecure form of access protection. The interpretation
2322   of this field is that the request is being performed on behalf of the
2323   person given, who accepts responsibility for the method performed. In
2324   particular, robot agents &SHOULD; include this header field so that the
2325   person responsible for running the robot can be contacted if problems
2326   occur on the receiving end.
2327</t>
2328<t>
2329   The Internet e-mail address in this field &MAY; be separate from the
2330   Internet host which issued the request. For example, when a request
2331   is passed through a proxy the original issuer's address &SHOULD; be
2332   used.
2333</t>
2334<t>
2335   The client &SHOULD-NOT;  send the From header field without the user's
2336   approval, as it might conflict with the user's privacy interests or
2337   their site's security policy. It is strongly recommended that the
2338   user be able to disable, enable, and modify the value of this field
2339   at any time prior to a request.
2340</t>
2341</section>
2342
2343<section title="Location" anchor="header.location">
2344  <iref primary="true" item="Location header field" x:for-anchor=""/>
2345  <iref primary="true" item="Header Fields" subitem="Location" x:for-anchor=""/>
2346  <x:anchor-alias value="Location"/>
2347<t>
2348   The "Location" header field is used to identify a newly created
2349   resource, or to redirect the recipient to a different location for
2350   completion of the request.
2351</t>
2352<t>
2353   For 201 (Created) responses, the Location is the URI of the new resource
2354   which was created by the request. For 3xx responses, the location &SHOULD;
2355   indicate the server's preferred URI for automatic redirection to the
2356   resource.
2357</t>
2358<t>
2359   The field value consists of a single URI-reference. When it has the form
2360   of a relative reference (<xref target="RFC3986" x:fmt="," x:sec="4.2"/>),
2361   the final value is computed by resolving it against the effective request
2362   URI (<xref target="RFC3986" x:fmt="," x:sec="5"/>).
2363</t>
2364<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Location"/>
2365  <x:ref>Location</x:ref> = <x:ref>URI-reference</x:ref>
2366</artwork></figure>
2367<figure>
2368<preamble>Examples are:</preamble><!--DO NOT DARE changing the vertical spacing below, it's necessary this way for xml2rfc-->
2369<artwork type="example">
2370  Location: http://www.example.org/pub/WWW/People.html#tim
2371</artwork></figure><figure><artwork type="example">  Location: /index.html
2372</artwork></figure>
2373<t>
2374   There are circumstances in which a fragment identifier in a Location URI
2375   would not be appropriate. For instance, when it appears in a 201 Created
2376   response, where the Location header field specifies the URI for the entire
2377   created resource.
2378</t>
2379<x:note>
2380  <t>
2381    <x:h>Note:</x:h> This specification does not define precedence rules
2382    for the case where the original URI, as navigated to by the user
2383    agent, and the Location header field value both contain fragment
2384    identifiers. Thus be aware that including fragment identifiers might
2385    inconvenience anyone relying on the semantics of the original URI's
2386    fragment identifier.
2387  </t>
2388</x:note>
2389<x:note>
2390  <t>
2391    <x:h>Note:</x:h> The Content-Location header field (&header-content-location;) differs
2392    from Location in that the Content-Location identifies the most specific
2393    resource corresponding to the enclosed representation.
2394    It is therefore possible for a response to contain header fields for
2395    both Location and Content-Location.
2396  </t>
2397</x:note>
2398</section>
2399
2400<section title="Max-Forwards" anchor="header.max-forwards">
2401  <iref primary="true" item="Max-Forwards header field" x:for-anchor=""/>
2402  <iref primary="true" item="Header Fields" subitem="Max-Forwards" x:for-anchor=""/>
2403  <x:anchor-alias value="Max-Forwards"/>
2404<t>
2405   The "Max-Forwards" header field provides a mechanism with the
2406   TRACE (<xref target="TRACE"/>) and OPTIONS (<xref target="OPTIONS"/>)
2407   methods to limit the number of times that the request is forwarded by
2408   proxies. This can be useful when the client is attempting to
2409   trace a request which appears to be failing or looping in mid-chain.
2410</t>
2411<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Max-Forwards"/>
2412  <x:ref>Max-Forwards</x:ref> = 1*<x:ref>DIGIT</x:ref>
2413</artwork></figure>
2414<t>
2415   The Max-Forwards value is a decimal integer indicating the remaining
2416   number of times this request message can be forwarded.
2417</t>
2418<t>
2419   Each recipient of a TRACE or OPTIONS request
2420   containing a Max-Forwards header field &MUST; check and update its
2421   value prior to forwarding the request. If the received value is zero
2422   (0), the recipient &MUST-NOT; forward the request; instead, it &MUST;
2423   respond as the final recipient. If the received Max-Forwards value is
2424   greater than zero, then the forwarded message &MUST; contain an updated
2425   Max-Forwards field with a value decremented by one (1).
2426</t>
2427<t>
2428   The Max-Forwards header field &MAY; be ignored for all other request
2429   methods.
2430</t>
2431</section>
2432
2433<section title="Referer" anchor="header.referer">
2434  <iref primary="true" item="Referer header field" x:for-anchor=""/>
2435  <iref primary="true" item="Header Fields" subitem="Referer" x:for-anchor=""/>
2436  <x:anchor-alias value="Referer"/>
2437<t>
2438   The "Referer" [sic] header field allows the client to specify the
2439   URI of the resource from which the effective request URI was obtained (the
2440   "referrer", although the header field is misspelled.).
2441</t>
2442<t>
2443   The Referer header field allows servers to generate lists of back-links to
2444   resources for interest, logging, optimized caching, etc. It also allows
2445   obsolete or mistyped links to be traced for maintenance. Some servers use
2446   Referer as a means of controlling where they allow links from (so-called
2447   "deep linking"), but legitimate requests do not always
2448   contain a Referer header field.
2449</t>
2450<t>
2451   If the effective request URI was obtained from a source that does not have its own
2452   URI (e.g., input from the user keyboard), the Referer field &MUST; either be
2453   sent with the value "about:blank", or not be sent at all. Note that this
2454   requirement does not apply to sources with non-HTTP URIs (e.g., FTP).
2455</t>
2456<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Referer"/>
2457  <x:ref>Referer</x:ref> = <x:ref>absolute-URI</x:ref> / <x:ref>partial-URI</x:ref>
2458</artwork></figure>
2459<t>
2460   Example:
2461</t>
2462<figure><artwork type="example">
2463  Referer: http://www.example.org/hypertext/Overview.html
2464</artwork></figure>
2465<t>
2466   If the field value is a relative URI, it &SHOULD; be interpreted
2467   relative to the effective request URI. The URI &MUST-NOT; include a fragment. See
2468   <xref target="encoding.sensitive.information.in.uris"/> for security considerations.
2469</t>
2470</section>
2471
2472<section title="Retry-After" anchor="header.retry-after">
2473  <iref primary="true" item="Retry-After header field" x:for-anchor=""/>
2474  <iref primary="true" item="Header Fields" subitem="Retry-After" x:for-anchor=""/>
2475  <x:anchor-alias value="Retry-After"/>
2476<t>
2477   The header "Retry-After" field can be used with a 503 (Service
2478   Unavailable) response to indicate how long the service is expected to
2479   be unavailable to the requesting client. This field &MAY; also be used
2480   with any 3xx (Redirection) response to indicate the minimum time the
2481   user-agent is asked wait before issuing the redirected request.
2482</t>
2483<t>
2484   The value of this field can be either an HTTP-date or an integer number
2485   of seconds (in decimal) after the time of the response.
2486</t>
2487<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Retry-After"/>
2488  <x:ref>Retry-After</x:ref> = <x:ref>HTTP-date</x:ref> / <x:ref>delta-seconds</x:ref>
2489</artwork></figure>
2490<t anchor="rule.delta-seconds">
2491  <x:anchor-alias value="delta-seconds"/>
2492   Time spans are non-negative decimal integers, representing time in
2493   seconds.
2494</t>
2495<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="delta-seconds"/>
2496  <x:ref>delta-seconds</x:ref>  = 1*<x:ref>DIGIT</x:ref>
2497</artwork></figure>
2498<t>
2499   Two examples of its use are
2500</t>
2501<figure><artwork type="example">
2502  Retry-After: Fri, 31 Dec 1999 23:59:59 GMT
2503  Retry-After: 120
2504</artwork></figure>
2505<t>
2506   In the latter example, the delay is 2 minutes.
2507</t>
2508</section>
2509
2510<section title="Server" anchor="header.server">
2511  <iref primary="true" item="Server header field" x:for-anchor=""/>
2512  <iref primary="true" item="Header Fields" subitem="Server" x:for-anchor=""/>
2513  <x:anchor-alias value="Server"/>
2514<t>
2515   The "Server" header field contains information about the
2516   software used by the origin server to handle the request.
2517</t>
2518<t>
2519   The field can contain multiple product tokens (&product-tokens;) and
2520   comments (&header-fields;) identifying the server and any significant
2521   subproducts. The product tokens are listed in order of their significance
2522   for identifying the application.
2523</t>
2524<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Server"/>
2525  <x:ref>Server</x:ref> = <x:ref>product</x:ref> *( <x:ref>RWS</x:ref> ( <x:ref>product</x:ref> / <x:ref>comment</x:ref> ) )
2526</artwork></figure>
2527<t>
2528   Example:
2529</t>
2530<figure><artwork type="example">
2531  Server: CERN/3.0 libwww/2.17
2532</artwork></figure>
2533<t>
2534   If the response is being forwarded through a proxy, the proxy
2535   application &MUST-NOT; modify the Server header field. Instead, it
2536   &MUST; include a Via field (as described in &header-via;).
2537</t>
2538<x:note>
2539  <t>
2540    <x:h>Note:</x:h> Revealing the specific software version of the server might
2541    allow the server machine to become more vulnerable to attacks
2542    against software that is known to contain security holes. Server
2543    implementors are encouraged to make this field a configurable
2544    option.
2545  </t>
2546</x:note>
2547</section>
2548
2549<section title="User-Agent" anchor="header.user-agent">
2550  <iref primary="true" item="User-Agent header field" x:for-anchor=""/>
2551  <iref primary="true" item="Header Fields" subitem="User-Agent" x:for-anchor=""/>
2552  <x:anchor-alias value="User-Agent"/>
2553<t>
2554   The "User-Agent" header field contains information about the user
2555   agent originating the request. User agents &SHOULD; include this field with
2556   requests.
2557</t>
2558<t>
2559   Typically, it is used for statistical purposes, the tracing of protocol
2560   violations, and tailoring responses to avoid particular user agent
2561   limitations.
2562</t>
2563<t>
2564   The field can contain multiple product tokens (&product-tokens;)
2565   and comments (&header-fields;) identifying the agent and its
2566   significant subproducts. By convention, the product tokens are listed in
2567   order of their significance for identifying the application.
2568</t>
2569<t>
2570   Because this field is usually sent on every request a user agent makes,
2571   implementations are encouraged not to include needlessly fine-grained
2572   detail, and to limit (or even prohibit) the addition of subproducts by third
2573   parties. Overly long and detailed User-Agent field values make requests
2574   larger and can also be used to identify ("fingerprint") the user against
2575   their wishes.
2576</t>
2577<t>
2578   Likewise, implementations are encouraged not to use the product tokens of
2579   other implementations in order to declare compatibility with them, as this
2580   circumvents the purpose of the field. Finally, they are encouraged not to
2581   use comments to identify products; doing so makes the field value more
2582   difficult to parse.
2583</t>
2584<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="User-Agent"/>
2585  <x:ref>User-Agent</x:ref> = <x:ref>product</x:ref> *( <x:ref>RWS</x:ref> ( <x:ref>product</x:ref> / <x:ref>comment</x:ref> ) )
2586</artwork></figure>
2587<t>
2588   Example:
2589</t>
2590<figure><artwork type="example">
2591  User-Agent: CERN-LineMode/2.15 libwww/2.17b3
2592</artwork></figure>
2593</section>
2594
2595</section>
2596
2597<section title="IANA Considerations" anchor="IANA.considerations">
2598
2599<section title="Method Registry" anchor="method.registration">
2600<t>
2601  The registration procedure for HTTP request methods is defined by
2602  <xref target="method.registry"/> of this document.
2603</t>
2604<t>
2605   The HTTP Method Registry shall be created at <eref target="http://www.iana.org/assignments/http-methods"/>
2606   and be populated with the registrations below:
2607</t>
2608<?BEGININC p2-semantics.iana-methods ?>
2609<!--AUTOGENERATED FROM extract-method-defs.xslt, do not edit manually-->
2610<texttable align="left" suppress-title="true" anchor="iana.method.registration.table">
2611   <ttcol>Method</ttcol>
2612   <ttcol>Safe</ttcol>
2613   <ttcol>Reference</ttcol>
2614   <c>CONNECT</c>
2615   <c>no</c>
2616   <c>
2617      <xref target="CONNECT"/>
2618   </c>
2619   <c>DELETE</c>
2620   <c>no</c>
2621   <c>
2622      <xref target="DELETE"/>
2623   </c>
2624   <c>GET</c>
2625   <c>yes</c>
2626   <c>
2627      <xref target="GET"/>
2628   </c>
2629   <c>HEAD</c>
2630   <c>yes</c>
2631   <c>
2632      <xref target="HEAD"/>
2633   </c>
2634   <c>OPTIONS</c>
2635   <c>yes</c>
2636   <c>
2637      <xref target="OPTIONS"/>
2638   </c>
2639   <c>POST</c>
2640   <c>no</c>
2641   <c>
2642      <xref target="POST"/>
2643   </c>
2644   <c>PUT</c>
2645   <c>no</c>
2646   <c>
2647      <xref target="PUT"/>
2648   </c>
2649   <c>TRACE</c>
2650   <c>yes</c>
2651   <c>
2652      <xref target="TRACE"/>
2653   </c>
2654</texttable>
2655<!--(END)-->
2656<?ENDINC p2-semantics.iana-methods ?>
2657</section>
2658
2659<section title="Status Code Registry" anchor="status.code.registration">
2660<t>
2661   The registration procedure for HTTP Status Codes &mdash; previously defined
2662   in <xref target="RFC2817" x:fmt="of" x:sec="7.1"/> &mdash; is now defined
2663   by <xref target="status.code.registry"/> of this document.
2664</t>
2665<t>
2666   The HTTP Status Code Registry located at <eref target="http://www.iana.org/assignments/http-status-codes"/>
2667   shall be updated with the registrations below:
2668</t>
2669<?BEGININC p2-semantics.iana-status-codes ?>
2670<!--AUTOGENERATED FROM extract-status-code-defs.xslt, do not edit manually-->
2671<texttable align="left" suppress-title="true" anchor="iana.status.code.registration.table">
2672   <ttcol>Value</ttcol>
2673   <ttcol>Description</ttcol>
2674   <ttcol>Reference</ttcol>
2675   <c>100</c>
2676   <c>Continue</c>
2677   <c>
2678      <xref target="status.100"/>
2679   </c>
2680   <c>101</c>
2681   <c>Switching Protocols</c>
2682   <c>
2683      <xref target="status.101"/>
2684   </c>
2685   <c>200</c>
2686   <c>OK</c>
2687   <c>
2688      <xref target="status.200"/>
2689   </c>
2690   <c>201</c>
2691   <c>Created</c>
2692   <c>
2693      <xref target="status.201"/>
2694   </c>
2695   <c>202</c>
2696   <c>Accepted</c>
2697   <c>
2698      <xref target="status.202"/>
2699   </c>
2700   <c>203</c>
2701   <c>Non-Authoritative Information</c>
2702   <c>
2703      <xref target="status.203"/>
2704   </c>
2705   <c>204</c>
2706   <c>No Content</c>
2707   <c>
2708      <xref target="status.204"/>
2709   </c>
2710   <c>205</c>
2711   <c>Reset Content</c>
2712   <c>
2713      <xref target="status.205"/>
2714   </c>
2715   <c>300</c>
2716   <c>Multiple Choices</c>
2717   <c>
2718      <xref target="status.300"/>
2719   </c>
2720   <c>301</c>
2721   <c>Moved Permanently</c>
2722   <c>
2723      <xref target="status.301"/>
2724   </c>
2725   <c>302</c>
2726   <c>Found</c>
2727   <c>
2728      <xref target="status.302"/>
2729   </c>
2730   <c>303</c>
2731   <c>See Other</c>
2732   <c>
2733      <xref target="status.303"/>
2734   </c>
2735   <c>305</c>
2736   <c>Use Proxy</c>
2737   <c>
2738      <xref target="status.305"/>
2739   </c>
2740   <c>306</c>
2741   <c>(Unused)</c>
2742   <c>
2743      <xref target="status.306"/>
2744   </c>
2745   <c>307</c>
2746   <c>Temporary Redirect</c>
2747   <c>
2748      <xref target="status.307"/>
2749   </c>
2750   <c>400</c>
2751   <c>Bad Request</c>
2752   <c>
2753      <xref target="status.400"/>
2754   </c>
2755   <c>402</c>
2756   <c>Payment Required</c>
2757   <c>
2758      <xref target="status.402"/>
2759   </c>
2760   <c>403</c>
2761   <c>Forbidden</c>
2762   <c>
2763      <xref target="status.403"/>
2764   </c>
2765   <c>404</c>
2766   <c>Not Found</c>
2767   <c>
2768      <xref target="status.404"/>
2769   </c>
2770   <c>405</c>
2771   <c>Method Not Allowed</c>
2772   <c>
2773      <xref target="status.405"/>
2774   </c>
2775   <c>406</c>
2776   <c>Not Acceptable</c>
2777   <c>
2778      <xref target="status.406"/>
2779   </c>
2780   <c>407</c>
2781   <c>Proxy Authentication Required</c>
2782   <c>
2783      <xref target="status.407"/>
2784   </c>
2785   <c>408</c>
2786   <c>Request Timeout</c>
2787   <c>
2788      <xref target="status.408"/>
2789   </c>
2790   <c>409</c>
2791   <c>Conflict</c>
2792   <c>
2793      <xref target="status.409"/>
2794   </c>
2795   <c>410</c>
2796   <c>Gone</c>
2797   <c>
2798      <xref target="status.410"/>
2799   </c>
2800   <c>411</c>
2801   <c>Length Required</c>
2802   <c>
2803      <xref target="status.411"/>
2804   </c>
2805   <c>413</c>
2806   <c>Request Representation Too Large</c>
2807   <c>
2808      <xref target="status.413"/>
2809   </c>
2810   <c>414</c>
2811   <c>URI Too Long</c>
2812   <c>
2813      <xref target="status.414"/>
2814   </c>
2815   <c>415</c>
2816   <c>Unsupported Media Type</c>
2817   <c>
2818      <xref target="status.415"/>
2819   </c>
2820   <c>417</c>
2821   <c>Expectation Failed</c>
2822   <c>
2823      <xref target="status.417"/>
2824   </c>
2825   <c>426</c>
2826   <c>Upgrade Required</c>
2827   <c>
2828      <xref target="status.426"/>
2829   </c>
2830   <c>500</c>
2831   <c>Internal Server Error</c>
2832   <c>
2833      <xref target="status.500"/>
2834   </c>
2835   <c>501</c>
2836   <c>Not Implemented</c>
2837   <c>
2838      <xref target="status.501"/>
2839   </c>
2840   <c>502</c>
2841   <c>Bad Gateway</c>
2842   <c>
2843      <xref target="status.502"/>
2844   </c>
2845   <c>503</c>
2846   <c>Service Unavailable</c>
2847   <c>
2848      <xref target="status.503"/>
2849   </c>
2850   <c>504</c>
2851   <c>Gateway Timeout</c>
2852   <c>
2853      <xref target="status.504"/>
2854   </c>
2855   <c>505</c>
2856   <c>HTTP Version Not Supported</c>
2857   <c>
2858      <xref target="status.505"/>
2859   </c>
2860</texttable>
2861<!--(END)-->
2862<?ENDINC p2-semantics.iana-status-codes ?>
2863</section>
2864<section title="Header Field Registration" anchor="header.field.registration">
2865<t>
2866   The Message Header Field Registry located at <eref target="http://www.iana.org/assignments/message-headers/message-header-index.html"/> shall be updated
2867   with the permanent registrations below (see <xref target="RFC3864"/>):
2868</t>
2869<?BEGININC p2-semantics.iana-headers ?>
2870<!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually-->
2871<texttable align="left" suppress-title="true" anchor="iana.header.registration.table">
2872   <ttcol>Header Field Name</ttcol>
2873   <ttcol>Protocol</ttcol>
2874   <ttcol>Status</ttcol>
2875   <ttcol>Reference</ttcol>
2876
2877   <c>Allow</c>
2878   <c>http</c>
2879   <c>standard</c>
2880   <c>
2881      <xref target="header.allow"/>
2882   </c>
2883   <c>Expect</c>
2884   <c>http</c>
2885   <c>standard</c>
2886   <c>
2887      <xref target="header.expect"/>
2888   </c>
2889   <c>From</c>
2890   <c>http</c>
2891   <c>standard</c>
2892   <c>
2893      <xref target="header.from"/>
2894   </c>
2895   <c>Location</c>
2896   <c>http</c>
2897   <c>standard</c>
2898   <c>
2899      <xref target="header.location"/>
2900   </c>
2901   <c>Max-Forwards</c>
2902   <c>http</c>
2903   <c>standard</c>
2904   <c>
2905      <xref target="header.max-forwards"/>
2906   </c>
2907   <c>Referer</c>
2908   <c>http</c>
2909   <c>standard</c>
2910   <c>
2911      <xref target="header.referer"/>
2912   </c>
2913   <c>Retry-After</c>
2914   <c>http</c>
2915   <c>standard</c>
2916   <c>
2917      <xref target="header.retry-after"/>
2918   </c>
2919   <c>Server</c>
2920   <c>http</c>
2921   <c>standard</c>
2922   <c>
2923      <xref target="header.server"/>
2924   </c>
2925   <c>User-Agent</c>
2926   <c>http</c>
2927   <c>standard</c>
2928   <c>
2929      <xref target="header.user-agent"/>
2930   </c>
2931</texttable>
2932<!--(END)-->
2933<?ENDINC p2-semantics.iana-headers ?>
2934<t>
2935   The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".
2936</t>
2937</section>
2938</section>
2939
2940<section title="Security Considerations" anchor="security.considerations">
2941<t>
2942   This section is meant to inform application developers, information
2943   providers, and users of the security limitations in HTTP/1.1 as
2944   described by this document. The discussion does not include
2945   definitive solutions to the problems revealed, though it does make
2946   some suggestions for reducing security risks.
2947</t>
2948
2949<section title="Transfer of Sensitive Information" anchor="security.sensitive">
2950<t>
2951   Like any generic data transfer protocol, HTTP cannot regulate the
2952   content of the data that is transferred, nor is there any a priori
2953   method of determining the sensitivity of any particular piece of
2954   information within the context of any given request. Therefore,
2955   applications &SHOULD; supply as much control over this information as
2956   possible to the provider of that information. Four header fields are
2957   worth special mention in this context: Server, Via, Referer and From.
2958</t>
2959<t>
2960   Revealing the specific software version of the server might allow the
2961   server machine to become more vulnerable to attacks against software
2962   that is known to contain security holes. Implementors &SHOULD; make the
2963   Server header field a configurable option.
2964</t>
2965<t>
2966   Proxies which serve as a portal through a network firewall &SHOULD;
2967   take special precautions regarding the transfer of header information
2968   that identifies the hosts behind the firewall. In particular, they
2969   &SHOULD; remove, or replace with sanitized versions, any Via fields
2970   generated behind the firewall.
2971</t>
2972<t>
2973   The Referer header field allows reading patterns to be studied and reverse
2974   links drawn. Although it can be very useful, its power can be abused
2975   if user details are not separated from the information contained in
2976   the Referer. Even when the personal information has been removed, the
2977   Referer header field might indicate a private document's URI whose
2978   publication would be inappropriate.
2979</t>
2980<t>
2981   The information sent in the From field might conflict with the user's
2982   privacy interests or their site's security policy, and hence it
2983   &SHOULD-NOT;  be transmitted without the user being able to disable,
2984   enable, and modify the contents of the field. The user &MUST; be able
2985   to set the contents of this field within a user preference or
2986   application defaults configuration.
2987</t>
2988<t>
2989   We suggest, though do not require, that a convenient toggle interface
2990   be provided for the user to enable or disable the sending of From and
2991   Referer information.
2992</t>
2993<t>
2994   The User-Agent (<xref target="header.user-agent"/>) or Server (<xref
2995   target="header.server"/>) header fields can sometimes be used to determine
2996   that a specific client or server have a particular security hole which might
2997   be exploited. Unfortunately, this same information is often used for other
2998   valuable purposes for which HTTP currently has no better mechanism.
2999</t>
3000<t>
3001   Furthermore, the User-Agent header field may contain enough entropy to be
3002   used, possibly in conjunction with other material, to uniquely identify the
3003   user.
3004</t>
3005<t>
3006   Some request methods, like TRACE (<xref target="TRACE"/>), expose information
3007   that was sent in request header fields within the body of their response.
3008   Clients &SHOULD; be careful with sensitive information, like Cookies,
3009   Authorization credentials, and other header fields that might be used to
3010   collect data from the client.
3011</t> 
3012</section>
3013
3014<section title="Encoding Sensitive Information in URIs" anchor="encoding.sensitive.information.in.uris">
3015<t>
3016   Because the source of a link might be private information or might
3017   reveal an otherwise private information source, it is strongly
3018   recommended that the user be able to select whether or not the
3019   Referer field is sent. For example, a browser client could have a
3020   toggle switch for browsing openly/anonymously, which would
3021   respectively enable/disable the sending of Referer and From
3022   information.
3023</t>
3024<t>
3025   Clients &SHOULD-NOT; include a Referer header field in a (non-secure)
3026   HTTP request if the referring page was transferred with a secure
3027   protocol.
3028</t>
3029<t>
3030   Authors of services &SHOULD-NOT; use GET-based forms for the submission of
3031   sensitive data because that data will be placed in the request-target. Many
3032   existing servers, proxies, and user agents log or display the request-target
3033   in places where it might be visible to third parties. Such services can
3034   use POST-based form submission instead.
3035</t>
3036</section>
3037
3038<section title="Location Headers and Spoofing" anchor="location.spoofing">
3039<t>
3040   If a single server supports multiple organizations that do not trust
3041   one another, then it &MUST; check the values of Location and Content-Location
3042   header fields in responses that are generated under control of
3043   said organizations to make sure that they do not attempt to
3044   invalidate resources over which they have no authority.
3045</t>
3046</section>
3047
3048<section title="Security Considerations for CONNECT">
3049<t>
3050   Since tunneled data is opaque to the proxy, there are additional
3051   risks to tunneling to other well-known or reserved ports.
3052   A HTTP client CONNECTing to port 25 could relay spam
3053   via SMTP, for example. As such, proxies &SHOULD; restrict CONNECT
3054   access to a small number of known ports.
3055</t>
3056</section>
3057
3058</section>
3059
3060<section title="Acknowledgments" anchor="acks">
3061<t>
3062  See &acks;.
3063</t>
3064</section>
3065</middle>
3066<back>
3067
3068<references title="Normative References">
3069
3070<reference anchor="Part1">
3071  <front>
3072    <title abbrev="HTTP/1.1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title>
3073    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
3074      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3075      <address><email>fielding@gbiv.com</email></address>
3076    </author>
3077    <author initials="J." surname="Gettys" fullname="Jim Gettys">
3078      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
3079      <address><email>jg@freedesktop.org</email></address>
3080    </author>
3081    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
3082      <organization abbrev="HP">Hewlett-Packard Company</organization>
3083      <address><email>JeffMogul@acm.org</email></address>
3084    </author>
3085    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
3086      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3087      <address><email>henrikn@microsoft.com</email></address>
3088    </author>
3089    <author initials="L." surname="Masinter" fullname="Larry Masinter">
3090      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3091      <address><email>LMM@acm.org</email></address>
3092    </author>
3093    <author initials="P." surname="Leach" fullname="Paul J. Leach">
3094      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3095      <address><email>paulle@microsoft.com</email></address>
3096    </author>
3097    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3098      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
3099      <address><email>timbl@w3.org</email></address>
3100    </author>
3101    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
3102      <organization abbrev="W3C">World Wide Web Consortium</organization>
3103      <address><email>ylafon@w3.org</email></address>
3104    </author>
3105    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
3106      <organization abbrev="greenbytes">greenbytes GmbH</organization>
3107      <address><email>julian.reschke@greenbytes.de</email></address>
3108    </author>
3109    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
3110  </front>
3111  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;"/>
3112  <x:source href="p1-messaging.xml" basename="p1-messaging"/>
3113</reference>
3114
3115<reference anchor="Part3">
3116  <front>
3117    <title abbrev="HTTP/1.1">HTTP/1.1, part 3: Message Payload and Content Negotiation</title>
3118    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
3119      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3120      <address><email>fielding@gbiv.com</email></address>
3121    </author>
3122    <author initials="J." surname="Gettys" fullname="Jim Gettys">
3123      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
3124      <address><email>jg@freedesktop.org</email></address>
3125    </author>
3126    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
3127      <organization abbrev="HP">Hewlett-Packard Company</organization>
3128      <address><email>JeffMogul@acm.org</email></address>
3129    </author>
3130    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
3131      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3132      <address><email>henrikn@microsoft.com</email></address>
3133    </author>
3134    <author initials="L." surname="Masinter" fullname="Larry Masinter">
3135      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3136      <address><email>LMM@acm.org</email></address>
3137    </author>
3138    <author initials="P." surname="Leach" fullname="Paul J. Leach">
3139      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3140      <address><email>paulle@microsoft.com</email></address>
3141    </author>
3142    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3143      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
3144      <address><email>timbl@w3.org</email></address>
3145    </author>
3146    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
3147      <organization abbrev="W3C">World Wide Web Consortium</organization>
3148      <address><email>ylafon@w3.org</email></address>
3149    </author>
3150    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
3151      <organization abbrev="greenbytes">greenbytes GmbH</organization>
3152      <address><email>julian.reschke@greenbytes.de</email></address>
3153    </author>
3154    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
3155  </front>
3156  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p3-payload-&ID-VERSION;"/>
3157  <x:source href="p3-payload.xml" basename="p3-payload"/>
3158</reference>
3159
3160<reference anchor="Part4">
3161  <front>
3162    <title abbrev="HTTP/1.1">HTTP/1.1, part 4: Conditional Requests</title>
3163    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
3164      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3165      <address><email>fielding@gbiv.com</email></address>
3166    </author>
3167    <author initials="J." surname="Gettys" fullname="Jim Gettys">
3168      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
3169      <address><email>jg@freedesktop.org</email></address>
3170    </author>
3171    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
3172      <organization abbrev="HP">Hewlett-Packard Company</organization>
3173      <address><email>JeffMogul@acm.org</email></address>
3174    </author>
3175    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
3176      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3177      <address><email>henrikn@microsoft.com</email></address>
3178    </author>
3179    <author initials="L." surname="Masinter" fullname="Larry Masinter">
3180      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3181      <address><email>LMM@acm.org</email></address>
3182    </author>
3183    <author initials="P." surname="Leach" fullname="Paul J. Leach">
3184      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3185      <address><email>paulle@microsoft.com</email></address>
3186    </author>
3187    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3188      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
3189      <address><email>timbl@w3.org</email></address>
3190    </author>
3191    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
3192      <organization abbrev="W3C">World Wide Web Consortium</organization>
3193      <address><email>ylafon@w3.org</email></address>
3194    </author>
3195    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
3196      <organization abbrev="greenbytes">greenbytes GmbH</organization>
3197      <address><email>julian.reschke@greenbytes.de</email></address>
3198    </author>
3199    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
3200  </front>
3201  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p4-conditional-&ID-VERSION;"/>
3202  <x:source href="p4-conditional.xml" basename="p4-conditional"/>
3203</reference>
3204
3205<reference anchor="Part5">
3206  <front>
3207    <title abbrev="HTTP/1.1">HTTP/1.1, part 5: Range Requests and Partial Responses</title>
3208    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
3209      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3210      <address><email>fielding@gbiv.com</email></address>
3211    </author>
3212    <author initials="J." surname="Gettys" fullname="Jim Gettys">
3213      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
3214      <address><email>jg@freedesktop.org</email></address>
3215    </author>
3216    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
3217      <organization abbrev="HP">Hewlett-Packard Company</organization>
3218      <address><email>JeffMogul@acm.org</email></address>
3219    </author>
3220    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
3221      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3222      <address><email>henrikn@microsoft.com</email></address>
3223    </author>
3224    <author initials="L." surname="Masinter" fullname="Larry Masinter">
3225      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3226      <address><email>LMM@acm.org</email></address>
3227    </author>
3228    <author initials="P." surname="Leach" fullname="Paul J. Leach">
3229      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3230      <address><email>paulle@microsoft.com</email></address>
3231    </author>
3232    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3233      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
3234      <address><email>timbl@w3.org</email></address>
3235    </author>
3236    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
3237      <organization abbrev="W3C">World Wide Web Consortium</organization>
3238      <address><email>ylafon@w3.org</email></address>
3239    </author>
3240    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
3241      <organization abbrev="greenbytes">greenbytes GmbH</organization>
3242      <address><email>julian.reschke@greenbytes.de</email></address>
3243    </author>
3244    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
3245  </front>
3246  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p5-range-&ID-VERSION;"/>
3247  <x:source href="p5-range.xml" basename="p5-range"/>
3248</reference>
3249
3250<reference anchor="Part6">
3251  <front>
3252    <title abbrev="HTTP/1.1">HTTP/1.1, part 6: Caching</title>
3253    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
3254      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3255      <address><email>fielding@gbiv.com</email></address>
3256    </author>
3257    <author initials="J." surname="Gettys" fullname="Jim Gettys">
3258      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
3259      <address><email>jg@freedesktop.org</email></address>
3260    </author>
3261    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
3262      <organization abbrev="HP">Hewlett-Packard Company</organization>
3263      <address><email>JeffMogul@acm.org</email></address>
3264    </author>
3265    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
3266      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3267      <address><email>henrikn@microsoft.com</email></address>
3268    </author>
3269    <author initials="L." surname="Masinter" fullname="Larry Masinter">
3270      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3271      <address><email>LMM@acm.org</email></address>
3272    </author>
3273    <author initials="P." surname="Leach" fullname="Paul J. Leach">
3274      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3275      <address><email>paulle@microsoft.com</email></address>
3276    </author>
3277    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3278      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
3279      <address><email>timbl@w3.org</email></address>
3280    </author>
3281    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
3282      <organization abbrev="W3C">World Wide Web Consortium</organization>
3283      <address><email>ylafon@w3.org</email></address>
3284    </author>
3285    <author initials="M." surname="Nottingham" fullname="Mark Nottingham" role="editor">
3286      <address><email>mnot@mnot.net</email></address>
3287    </author>
3288    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
3289      <organization abbrev="greenbytes">greenbytes GmbH</organization>
3290      <address><email>julian.reschke@greenbytes.de</email></address>
3291    </author>
3292    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
3293  </front>
3294  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p6-cache-&ID-VERSION;"/>
3295  <x:source href="p6-cache.xml" basename="p6-cache"/>
3296</reference>
3297
3298<reference anchor="Part7">
3299  <front>
3300    <title abbrev="HTTP/1.1">HTTP/1.1, part 7: Authentication</title>
3301    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
3302      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3303      <address><email>fielding@gbiv.com</email></address>
3304    </author>
3305    <author initials="J." surname="Gettys" fullname="Jim Gettys">
3306      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
3307      <address><email>jg@freedesktop.org</email></address>
3308    </author>
3309    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
3310      <organization abbrev="HP">Hewlett-Packard Company</organization>
3311      <address><email>JeffMogul@acm.org</email></address>
3312    </author>
3313    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
3314      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3315      <address><email>henrikn@microsoft.com</email></address>
3316    </author>
3317    <author initials="L." surname="Masinter" fullname="Larry Masinter">
3318      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
3319      <address><email>LMM@acm.org</email></address>
3320    </author>
3321    <author initials="P." surname="Leach" fullname="Paul J. Leach">
3322      <organization abbrev="Microsoft">Microsoft Corporation</organization>
3323      <address><email>paulle@microsoft.com</email></address>
3324    </author>
3325    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3326      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
3327      <address><email>timbl@w3.org</email></address>
3328    </author>
3329    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
3330      <organization abbrev="W3C">World Wide Web Consortium</organization>
3331      <address><email>ylafon@w3.org</email></address>
3332    </author>
3333    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
3334      <organization abbrev="greenbytes">greenbytes GmbH</organization>
3335      <address><email>julian.reschke@greenbytes.de</email></address>
3336    </author>
3337    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
3338  </front>
3339  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p7-auth-&ID-VERSION;"/>
3340  <x:source href="p7-auth.xml" basename="p7-auth"/>
3341</reference>
3342
3343<reference anchor="RFC2119">
3344  <front>
3345    <title>Key words for use in RFCs to Indicate Requirement Levels</title>
3346    <author initials="S." surname="Bradner" fullname="Scott Bradner">
3347      <organization>Harvard University</organization>
3348      <address><email>sob@harvard.edu</email></address>
3349    </author>
3350    <date month="March" year="1997"/>
3351  </front>
3352  <seriesInfo name="BCP" value="14"/>
3353  <seriesInfo name="RFC" value="2119"/>
3354</reference>
3355
3356<reference anchor="RFC3986">
3357 <front>
3358  <title abbrev='URI Generic Syntax'>Uniform Resource Identifier (URI): Generic Syntax</title>
3359  <author initials='T.' surname='Berners-Lee' fullname='Tim Berners-Lee'>
3360    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
3361    <address>
3362       <email>timbl@w3.org</email>
3363       <uri>http://www.w3.org/People/Berners-Lee/</uri>
3364    </address>
3365  </author>
3366  <author initials='R.' surname='Fielding' fullname='Roy T. Fielding'>
3367    <organization abbrev="Day Software">Day Software</organization>
3368    <address>
3369      <email>fielding@gbiv.com</email>
3370      <uri>http://roy.gbiv.com/</uri>
3371    </address>
3372  </author>
3373  <author initials='L.' surname='Masinter' fullname='Larry Masinter'>
3374    <organization abbrev="Adobe Systems">Adobe Systems Incorporated</organization>
3375    <address>
3376      <email>LMM@acm.org</email>
3377      <uri>http://larry.masinter.net/</uri>
3378    </address>
3379  </author>
3380  <date month='January' year='2005'></date>
3381 </front>
3382 <seriesInfo name="STD" value="66"/>
3383 <seriesInfo name="RFC" value="3986"/>
3384</reference>
3385
3386<reference anchor="RFC5234">
3387  <front>
3388    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
3389    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
3390      <organization>Brandenburg InternetWorking</organization>
3391      <address>
3392        <email>dcrocker@bbiw.net</email>
3393      </address> 
3394    </author>
3395    <author initials="P." surname="Overell" fullname="Paul Overell">
3396      <organization>THUS plc.</organization>
3397      <address>
3398        <email>paul.overell@thus.net</email>
3399      </address>
3400    </author>
3401    <date month="January" year="2008"/>
3402  </front>
3403  <seriesInfo name="STD" value="68"/>
3404  <seriesInfo name="RFC" value="5234"/>
3405</reference>
3406
3407</references>
3408
3409<references title="Informative References">
3410
3411<reference anchor="RFC1945">
3412  <front>
3413    <title abbrev="HTTP/1.0">Hypertext Transfer Protocol -- HTTP/1.0</title>
3414    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3415      <organization>MIT, Laboratory for Computer Science</organization>
3416      <address><email>timbl@w3.org</email></address>
3417    </author>
3418    <author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
3419      <organization>University of California, Irvine, Department of Information and Computer Science</organization>
3420      <address><email>fielding@ics.uci.edu</email></address>
3421    </author>
3422    <author initials="H.F." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
3423      <organization>W3 Consortium, MIT Laboratory for Computer Science</organization>
3424      <address><email>frystyk@w3.org</email></address>
3425    </author>
3426    <date month="May" year="1996"/>
3427  </front>
3428  <seriesInfo name="RFC" value="1945"/>
3429</reference>
3430
3431<reference anchor="RFC2068">
3432  <front>
3433    <title abbrev="HTTP/1.1">Hypertext Transfer Protocol -- HTTP/1.1</title>
3434    <author initials="R." surname="Fielding" fullname="Roy T. Fielding">
3435      <organization>University of California, Irvine, Department of Information and Computer Science</organization>
3436      <address><email>fielding@ics.uci.edu</email></address>
3437    </author>
3438    <author initials="J." surname="Gettys" fullname="Jim Gettys">
3439      <organization>MIT Laboratory for Computer Science</organization>
3440      <address><email>jg@w3.org</email></address>
3441    </author>
3442    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
3443      <organization>Digital Equipment Corporation, Western Research Laboratory</organization>
3444      <address><email>mogul@wrl.dec.com</email></address>
3445    </author>
3446    <author initials="H." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
3447      <organization>MIT Laboratory for Computer Science</organization>
3448      <address><email>frystyk@w3.org</email></address>
3449    </author>
3450    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
3451      <organization>MIT Laboratory for Computer Science</organization>
3452      <address><email>timbl@w3.org</email></address>
3453    </author>
3454    <date month="January" year="1997"/>
3455  </front>
3456  <seriesInfo name="RFC" value="2068"/>
3457</reference>
3458
3459<reference anchor="RFC2616">
3460  <front>
3461    <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
3462    <author initials="R." surname="Fielding" fullname="R. Fielding">
3463      <organization>University of California, Irvine</organization>
3464      <address><email>fielding@ics.uci.edu</email></address>
3465    </author>
3466    <author initials="J." surname="Gettys" fullname="J. Gettys">
3467      <organization>W3C</organization>
3468      <address><email>jg@w3.org</email></address>
3469    </author>
3470    <author initials="J." surname="Mogul" fullname="J. Mogul">
3471      <organization>Compaq Computer Corporation</organization>
3472      <address><email>mogul@wrl.dec.com</email></address>
3473    </author>
3474    <author initials="H." surname="Frystyk" fullname="H. Frystyk">
3475      <organization>MIT Laboratory for Computer Science</organization>
3476      <address><email>frystyk@w3.org</email></address>
3477    </author>
3478    <author initials="L." surname="Masinter" fullname="L. Masinter">
3479      <organization>Xerox Corporation</organization>
3480      <address><email>masinter@parc.xerox.com</email></address>
3481    </author>
3482    <author initials="P." surname="Leach" fullname="P. Leach">
3483      <organization>Microsoft Corporation</organization>
3484      <address><email>paulle@microsoft.com</email></address>
3485    </author>
3486    <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
3487      <organization>W3C</organization>
3488      <address><email>timbl@w3.org</email></address>
3489    </author>
3490    <date month="June" year="1999"/>
3491  </front>
3492  <seriesInfo name="RFC" value="2616"/>
3493</reference>
3494
3495<reference anchor='RFC2817'>
3496  <front>
3497    <title>Upgrading to TLS Within HTTP/1.1</title>
3498    <author initials='R.' surname='Khare' fullname='R. Khare'>
3499      <organization>4K Associates / UC Irvine</organization>
3500      <address><email>rohit@4K-associates.com</email></address>
3501    </author>
3502    <author initials='S.' surname='Lawrence' fullname='S. Lawrence'>
3503      <organization>Agranat Systems, Inc.</organization>
3504      <address><email>lawrence@agranat.com</email></address>
3505    </author>
3506    <date year='2000' month='May' />
3507  </front>
3508  <seriesInfo name='RFC' value='2817' />
3509</reference>
3510
3511<reference anchor='RFC3864'>
3512  <front>
3513    <title>Registration Procedures for Message Header Fields</title>
3514    <author initials='G.' surname='Klyne' fullname='G. Klyne'>
3515      <organization>Nine by Nine</organization>
3516      <address><email>GK-IETF@ninebynine.org</email></address>
3517    </author>
3518    <author initials='M.' surname='Nottingham' fullname='M. Nottingham'>
3519      <organization>BEA Systems</organization>
3520      <address><email>mnot@pobox.com</email></address>
3521    </author>
3522    <author initials='J.' surname='Mogul' fullname='J. Mogul'>
3523      <organization>HP Labs</organization>
3524      <address><email>JeffMogul@acm.org</email></address>
3525    </author>
3526    <date year='2004' month='September' />
3527  </front>
3528  <seriesInfo name='BCP' value='90' />
3529  <seriesInfo name='RFC' value='3864' />
3530</reference>
3531
3532<reference anchor='RFC5226'>
3533  <front>
3534    <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
3535    <author initials='T.' surname='Narten' fullname='T. Narten'>
3536      <organization>IBM</organization>
3537      <address><email>narten@us.ibm.com</email></address>
3538    </author>
3539    <author initials='H.' surname='Alvestrand' fullname='H. Alvestrand'>
3540      <organization>Google</organization>
3541      <address><email>Harald@Alvestrand.no</email></address>
3542    </author>
3543    <date year='2008' month='May' />
3544  </front>
3545  <seriesInfo name='BCP' value='26' />
3546  <seriesInfo name='RFC' value='5226' />
3547</reference>
3548
3549<reference anchor="RFC5322">
3550  <front>
3551    <title>Internet Message Format</title>
3552    <author initials="P." surname="Resnick" fullname="P. Resnick">
3553      <organization>Qualcomm Incorporated</organization>
3554    </author>
3555    <date year="2008" month="October"/>
3556  </front> 
3557  <seriesInfo name="RFC" value="5322"/>
3558</reference>
3559
3560<reference anchor='RFC5789'>
3561  <front>
3562    <title>PATCH Method for HTTP</title>
3563    <author initials='L.' surname='Dusseault' fullname='L. Dusseault'>
3564      <organization>Linden Lab</organization>
3565    </author>
3566    <author initials='J.' surname='Snell' fullname='J. Snell' />
3567    <date year='2010' month='March' />
3568  </front>
3569  <seriesInfo name='RFC' value='5789' />
3570</reference>
3571
3572<reference anchor="RFC5987">
3573        <front>
3574    <title>Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters</title>
3575    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
3576      <organization abbrev="greenbytes">greenbytes GmbH</organization>
3577      <address>
3578        <postal>
3579          <street>Hafenweg 16</street>
3580          <city>Muenster</city><region>NW</region><code>48155</code>
3581          <country>Germany</country>
3582        </postal>
3583        <email>julian.reschke@greenbytes.de</email>     
3584        <uri>http://greenbytes.de/tech/webdav/</uri>   
3585      </address>
3586    </author>
3587    <date month="August" year="2010"/>
3588  </front>
3589  <seriesInfo name="RFC" value="5987"/>
3590</reference>
3591
3592</references>
3593
3594<section title="Changes from RFC 2616" anchor="changes.from.rfc.2616">
3595<t>
3596  This document takes over the Status Code Registry, previously defined
3597  in <xref target="RFC2817" x:fmt="of" x:sec="7.1"/>.
3598  (<xref target="status.code.registry"/>)
3599</t>
3600<t>
3601  Clarify definition of POST.
3602  (<xref target="POST"/>)
3603</t>
3604<t>
3605  Remove requirement to handle all Content-* header fields; ban use of
3606  Content-Range with PUT.
3607  (<xref target="PUT"/>)
3608</t>
3609<t>
3610  Take over definition of CONNECT method from <xref target="RFC2817"/>.
3611  (<xref target="CONNECT"/>)
3612</t>
3613<t>
3614  Broadened the definition of 203 (Non-Authoritative Information) to include
3615  cases of payload transformations as well.
3616  (<xref target="status.203"/>)
3617</t>
3618<t>
3619  Failed to consider that there are
3620  many other request methods that are safe to automatically redirect,
3621  and further that the user agent is able to make that determination
3622  based on the request method semantics.
3623  (Sections <xref format="counter" target="status.301"/>,
3624  <xref format="counter" target="status.302"/> and
3625  <xref format="counter" target="status.307"/>)
3626</t>
3627<t>
3628  Deprecate 305 Use Proxy status code, because user agents did not implement it.
3629  It used to indicate that the target resource must be accessed through the
3630  proxy given by the Location field. The Location field gave the URI of the
3631  proxy. The recipient was expected to repeat this single request via the proxy.
3632  (<xref target="status.305"/>)
3633</t>
3634<t>
3635  Define status 426 (Upgrade Required) (this was incorporated from
3636  <xref target="RFC2817"/>).
3637  (<xref target="status.426"/>)
3638</t>
3639<t>
3640  Change ABNF productions for header fields to only define the field value.
3641  (<xref target="header.field.definitions"/>)
3642</t>
3643<t>
3644  Reclassify "Allow" as response header field, removing the option to
3645  specify it in a PUT request.
3646  Relax the server requirement on the contents of the Allow header field and
3647  remove requirement on clients to always trust the header field value.
3648  (<xref target="header.allow"/>)
3649</t>
3650<t>
3651  Correct syntax of Location header field to allow URI references (including
3652  relative references and fragments), as referred symbol "absoluteURI" wasn't
3653  what was expected, and add some clarifications as to when use of fragments
3654  would not be appropriate.
3655  (<xref target="header.location"/>)
3656</t>
3657<t>
3658  Restrict Max-Forwards header field to OPTIONS and TRACE (previously,
3659  extension methods could have used it as well).
3660  (<xref target="header.max-forwards"/>)
3661</t>
3662<t>
3663  Allow Referer field value of "about:blank" as alternative to not specifying it.
3664  (<xref target="header.referer"/>)
3665</t>
3666<t>
3667  In the description of the Server header field, the Via field
3668  was described as a SHOULD. The requirement was and is stated
3669  correctly in the description of the Via header field in &header-via;.
3670  (<xref target="header.server"/>)
3671</t>
3672</section>
3673
3674<?BEGININC p2-semantics.abnf-appendix ?>
3675<section xmlns:x="http://purl.org/net/xml2rfc/ext" title="Collected ABNF" anchor="collected.abnf">
3676<figure>
3677<artwork type="abnf" name="p2-semantics.parsed-abnf">
3678<x:ref>Allow</x:ref> = [ ( "," / Method ) *( OWS "," [ OWS Method ] ) ]
3679
3680<x:ref>Expect</x:ref> = *( "," OWS ) expectation *( OWS "," [ OWS expectation ] )
3681
3682<x:ref>From</x:ref> = mailbox
3683
3684<x:ref>HTTP-date</x:ref> = &lt;HTTP-date, defined in [Part1], Section 6.1&gt;
3685
3686<x:ref>Location</x:ref> = URI-reference
3687
3688<x:ref>Max-Forwards</x:ref> = 1*DIGIT
3689<x:ref>Method</x:ref> = token
3690
3691<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
3692
3693<x:ref>RWS</x:ref> = &lt;RWS, defined in [Part1], Section 1.2.2&gt;
3694<x:ref>Reason-Phrase</x:ref> = *( HTAB / SP / VCHAR / obs-text )
3695<x:ref>Referer</x:ref> = absolute-URI / partial-URI
3696<x:ref>Retry-After</x:ref> = HTTP-date / delta-seconds
3697
3698<x:ref>Server</x:ref> = product *( RWS ( product / comment ) )
3699<x:ref>Status-Code</x:ref> = 3DIGIT
3700
3701<x:ref>URI-reference</x:ref> = &lt;URI-reference, defined in [Part1], Section 2.7&gt;
3702<x:ref>User-Agent</x:ref> = product *( RWS ( product / comment ) )
3703
3704<x:ref>absolute-URI</x:ref> = &lt;absolute-URI, defined in [Part1], Section 2.7&gt;
3705
3706<x:ref>comment</x:ref> = &lt;comment, defined in [Part1], Section 3.2&gt;
3707
3708<x:ref>delta-seconds</x:ref> = 1*DIGIT
3709
3710<x:ref>expect-params</x:ref> = ";" token [ "=" ( token / quoted-string ) ]
3711<x:ref>expectation</x:ref> = "100-continue" / expectation-extension
3712<x:ref>expectation-extension</x:ref> = token [ "=" ( token / quoted-string )
3713 *expect-params ]
3714
3715<x:ref>mailbox</x:ref> = &lt;mailbox, defined in [RFC5322], Section 3.4&gt;
3716
3717<x:ref>obs-text</x:ref> = &lt;obs-text, defined in [Part1], Section 1.2.2&gt;
3718
3719<x:ref>partial-URI</x:ref> = &lt;partial-URI, defined in [Part1], Section 2.7&gt;
3720<x:ref>product</x:ref> = &lt;product, defined in [Part1], Section 6.3&gt;
3721
3722<x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 3.2.3&gt;
3723
3724<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.3&gt;
3725</artwork>
3726</figure>
3727<figure><preamble>ABNF diagnostics:</preamble><artwork type="inline">
3728; Allow defined but not used
3729; Expect defined but not used
3730; From defined but not used
3731; Location defined but not used
3732; Max-Forwards defined but not used
3733; Reason-Phrase defined but not used
3734; Referer defined but not used
3735; Retry-After defined but not used
3736; Server defined but not used
3737; Status-Code defined but not used
3738; User-Agent defined but not used
3739</artwork></figure></section>
3740<?ENDINC p2-semantics.abnf-appendix ?>
3741
3742<section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log">
3743
3744<section title="Since RFC 2616">
3745<t>
3746  Extracted relevant partitions from <xref target="RFC2616"/>.
3747</t>
3748</section>
3749
3750<section title="Since draft-ietf-httpbis-p2-semantics-00">
3751<t>
3752  Closed issues:
3753  <list style="symbols"> 
3754    <t>
3755      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/5"/>:
3756      "Via is a MUST"
3757      (<eref target="http://purl.org/NET/http-errata#via-must"/>)
3758    </t>
3759    <t>
3760      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/6"/>:
3761      "Fragments allowed in Location"
3762      (<eref target="http://purl.org/NET/http-errata#location-fragments"/>)
3763    </t>
3764    <t>
3765      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/10"/>:
3766      "Safe Methods vs Redirection"
3767      (<eref target="http://purl.org/NET/http-errata#saferedirect"/>)
3768    </t>
3769    <t>
3770      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/17"/>:
3771      "Revise description of the POST method"
3772      (<eref target="http://purl.org/NET/http-errata#post"/>)
3773    </t>
3774    <t>
3775      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/35"/>:
3776      "Normative and Informative references"
3777    </t>
3778    <t>
3779      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/42"/>:
3780      "RFC2606 Compliance"
3781    </t>
3782    <t>
3783      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/65"/>:
3784      "Informative references"
3785    </t>
3786    <t>
3787      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/84"/>:
3788      "Redundant cross-references"
3789    </t>
3790  </list>
3791</t>
3792<t>
3793  Other changes:
3794  <list style="symbols"> 
3795    <t>
3796      Move definitions of 304 and 412 condition codes to <xref target="Part4"/>
3797    </t>
3798  </list>
3799</t>
3800</section>
3801
3802<section title="Since draft-ietf-httpbis-p2-semantics-01">
3803<t>
3804  Closed issues:
3805  <list style="symbols"> 
3806    <t>
3807      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/21"/>:
3808      "PUT side effects"
3809    </t>
3810    <t>
3811      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/91"/>:
3812      "Duplicate Host header requirements"
3813    </t>
3814  </list>
3815</t>
3816<t>
3817  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
3818  <list style="symbols"> 
3819    <t>
3820      Move "Product Tokens" section (back) into Part 1, as "token" is used
3821      in the definition of the Upgrade header field.
3822    </t>
3823    <t>
3824      Add explicit references to BNF syntax and rules imported from other parts of the specification.
3825    </t>
3826    <t>
3827      Copy definition of delta-seconds from Part6 instead of referencing it.
3828    </t>
3829  </list>
3830</t>
3831</section>
3832
3833<section title="Since draft-ietf-httpbis-p2-semantics-02" anchor="changes.since.02">
3834<t>
3835  Closed issues:
3836  <list style="symbols"> 
3837    <t>
3838      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/24"/>:
3839      "Requiring Allow in 405 responses"
3840    </t>
3841    <t>
3842      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/59"/>:
3843      "Status Code Registry"
3844    </t>
3845    <t>
3846      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/61"/>:
3847      "Redirection vs. Location"
3848    </t>
3849    <t>
3850      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/70"/>:
3851      "Cacheability of 303 response"
3852    </t>
3853    <t>
3854      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/76"/>:
3855      "305 Use Proxy"
3856    </t>
3857    <t>
3858      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/105"/>:
3859      "Classification for Allow header"
3860    </t>
3861    <t>
3862      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/112"/>:
3863      "PUT - 'store under' vs 'store at'"
3864    </t>
3865  </list>
3866</t>
3867<t>
3868  Ongoing work on IANA Message Header Field Registration (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/40"/>):
3869  <list style="symbols"> 
3870    <t>
3871      Reference RFC 3984, and update header field registrations for headers defined
3872      in this document.
3873    </t>
3874  </list>
3875</t>
3876<t>
3877  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
3878  <list style="symbols"> 
3879    <t>
3880      Replace string literals when the string really is case-sensitive (method).
3881    </t>
3882  </list>
3883</t>
3884</section>
3885
3886<section title="Since draft-ietf-httpbis-p2-semantics-03" anchor="changes.since.03">
3887<t>
3888  Closed issues:
3889  <list style="symbols"> 
3890    <t>
3891      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/98"/>:
3892      "OPTIONS request bodies"
3893    </t>
3894    <t>
3895      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/119"/>:
3896      "Description of CONNECT should refer to RFC2817"
3897    </t>
3898    <t>
3899      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/125"/>:
3900      "Location Content-Location reference request/response mixup"
3901    </t>
3902  </list>
3903</t>
3904<t>
3905  Ongoing work on Method Registry (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/72"/>):
3906  <list style="symbols"> 
3907    <t>
3908      Added initial proposal for registration process, plus initial
3909      content (non-HTTP/1.1 methods to be added by a separate specification).
3910    </t>
3911  </list>
3912</t>
3913</section>
3914
3915<section title="Since draft-ietf-httpbis-p2-semantics-04" anchor="changes.since.04">
3916<t>
3917  Closed issues:
3918  <list style="symbols"> 
3919    <t>
3920      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/103"/>:
3921      "Content-*"
3922    </t>
3923    <t>
3924      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/132"/>:
3925      "RFC 2822 is updated by RFC 5322"
3926    </t>
3927  </list>
3928</t>
3929<t>
3930  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
3931  <list style="symbols"> 
3932    <t>
3933      Use "/" instead of "|" for alternatives.
3934    </t>
3935    <t>
3936      Introduce new ABNF rules for "bad" whitespace ("BWS"), optional
3937      whitespace ("OWS") and required whitespace ("RWS").
3938    </t>
3939    <t>
3940      Rewrite ABNFs to spell out whitespace rules, factor out
3941      header field value format definitions.
3942    </t>
3943  </list>
3944</t>
3945</section>
3946
3947<section title="Since draft-ietf-httpbis-p2-semantics-05" anchor="changes.since.05">
3948<t>
3949  Closed issues:
3950  <list style="symbols"> 
3951    <t>
3952      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/94"/>:
3953      "Reason-Phrase BNF"
3954    </t>
3955  </list>
3956</t>
3957<t>
3958  Final work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
3959  <list style="symbols"> 
3960    <t>
3961      Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.
3962    </t>
3963  </list>
3964</t>
3965</section>
3966
3967<section title="Since draft-ietf-httpbis-p2-semantics-06" anchor="changes.since.06">
3968<t>
3969  Closed issues:
3970  <list style="symbols"> 
3971    <t>
3972      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/144"/>:
3973      "Clarify when Referer is sent"
3974    </t>
3975    <t>
3976      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/164"/>:
3977      "status codes vs methods"
3978    </t>
3979    <t>
3980      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/170"/>:
3981      "Do not require "updates" relation for specs that register status codes or method names"
3982    </t>
3983  </list>
3984</t>
3985</section>
3986
3987<section title="Since draft-ietf-httpbis-p2-semantics-07" anchor="changes.since.07">
3988<t>
3989  Closed issues:
3990  <list style="symbols"> 
3991    <t>
3992      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/27"/>:
3993      "Idempotency"
3994    </t>
3995    <t>
3996      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/33"/>:
3997      "TRACE security considerations"
3998    </t>
3999    <t>
4000      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/110"/>:
4001      "Clarify rules for determining what entities a response carries"
4002    </t>
4003    <t>
4004      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/140"/>:
4005      "update note citing RFC 1945 and 2068"
4006    </t>
4007    <t>
4008      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/182"/>:
4009      "update note about redirect limit"
4010    </t>
4011    <t>
4012      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/191"/>:
4013      "Location header ABNF should use 'URI'"
4014    </t>
4015    <t>
4016      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/192"/>:
4017      "fragments in Location vs status 303"
4018    </t>
4019    <t>
4020      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/198"/>:
4021      "move IANA registrations for optional status codes"
4022    </t>
4023  </list>
4024</t>
4025<t>
4026  Partly resolved issues:
4027  <list style="symbols"> 
4028    <t>
4029      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/171"/>:
4030      "Are OPTIONS and TRACE safe?"
4031    </t>
4032  </list>
4033</t>
4034</section>
4035
4036<section title="Since draft-ietf-httpbis-p2-semantics-08" anchor="changes.since.08">
4037<t>
4038  Closed issues:
4039  <list style="symbols"> 
4040    <t>
4041      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/10"/>:
4042      "Safe Methods vs Redirection" (we missed the introduction to the 3xx
4043      status codes when fixing this previously)
4044    </t>
4045  </list>
4046</t>
4047</section>
4048
4049<section title="Since draft-ietf-httpbis-p2-semantics-09" anchor="changes.since.09">
4050<t>
4051  Closed issues:
4052  <list style="symbols"> 
4053    <t>
4054      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/43"/>:
4055      "Fragment combination / precedence during redirects"
4056    </t>
4057  </list>
4058</t>
4059<t>
4060  Partly resolved issues:
4061  <list style="symbols"> 
4062    <t>
4063      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/185"/>:
4064      "Location header payload handling"
4065    </t>
4066    <t>
4067      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/196"/>:
4068      "Term for the requested resource's URI"
4069    </t>
4070  </list>
4071</t>
4072</section>
4073
4074<section title="Since draft-ietf-httpbis-p2-semantics-10" anchor="changes.since.10">
4075<t>
4076  Closed issues:
4077  <list style="symbols"> 
4078    <t>
4079      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/69"/>:
4080      "Clarify 'Requested Variant'"
4081    </t>
4082    <t>
4083      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/109"/>:
4084      "Clarify entity / representation / variant terminology"
4085    </t>
4086    <t>
4087      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/139"/>:
4088      "Methods and Caching"
4089    </t>
4090    <t>
4091      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/190"/>:
4092      "OPTIONS vs Max-Forwards"
4093    </t>
4094    <t>
4095      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/199"/>:
4096      "Status codes and caching"
4097    </t>
4098    <t>
4099      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/220"/>:
4100      "consider removing the 'changes from 2068' sections"
4101    </t>
4102  </list>
4103</t>
4104</section>
4105
4106<section title="Since draft-ietf-httpbis-p2-semantics-11" anchor="changes.since.11">
4107<t>
4108  Closed issues:
4109  <list style="symbols"> 
4110    <t>
4111      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/229"/>:
4112      "Considerations for new status codes"
4113    </t>
4114    <t>
4115      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/230"/>:
4116      "Considerations for new methods"
4117    </t>
4118    <t>
4119      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/232"/>:
4120      "User-Agent guidelines" (relating to the 'User-Agent' header field)
4121    </t>
4122  </list>
4123</t>
4124</section>
4125
4126<section title="Since draft-ietf-httpbis-p2-semantics-12" anchor="changes.since.12">
4127<t>
4128  Closed issues:
4129  <list style="symbols"> 
4130    <t>
4131      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/43"/>:
4132      "Fragment combination / precedence during redirects" (added warning
4133      about having a fragid on the redirect may cause inconvenience in
4134      some cases)
4135    </t>
4136    <t>
4137      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/79"/>:
4138      "Content-* vs. PUT"
4139    </t>
4140    <t>
4141      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/88"/>:
4142      "205 Bodies"
4143    </t>
4144    <t>
4145      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/102"/>:
4146      "Understanding Content-* on non-PUT requests"
4147    </t>
4148    <t>
4149      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/103"/>:
4150      "Content-*"
4151    </t>
4152    <t>
4153      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/104"/>:
4154      "Header type defaulting"
4155    </t>
4156    <t>
4157      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/112"/>:
4158      "PUT - 'store under' vs 'store at'"
4159    </t>
4160    <t>
4161      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/137"/>:
4162      "duplicate ABNF for Reason-Phrase"
4163    </t>
4164    <t>
4165      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/180"/>:
4166      "Note special status of Content-* prefix in header registration procedures"
4167    </t>
4168    <t>
4169      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/203"/>:
4170      "Max-Forwards vs extension methods"
4171    </t>
4172    <t>
4173      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/213"/>:
4174      "What is the value space of HTTP status codes?" (actually fixed in
4175      draft-ietf-httpbis-p2-semantics-11)
4176    </t>
4177    <t>
4178      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/224"/>:
4179      "Header Classification"
4180    </t>
4181    <t>
4182      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/225"/>:
4183      "PUT side effect: invalidation or just stale?"
4184    </t>
4185    <t>
4186      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/226"/>:
4187      "proxies not supporting certain methods"
4188    </t>
4189    <t>
4190      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/239"/>:
4191      "Migrate CONNECT from RFC2817 to p2"
4192    </t>
4193    <t>
4194      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/240"/>:
4195      "Migrate Upgrade details from RFC2817"
4196    </t>
4197    <t>
4198      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/267"/>:
4199      "clarify PUT semantics'"
4200    </t>
4201    <t>
4202      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/275"/>:
4203      "duplicate ABNF for 'Method'"
4204    </t>
4205    <t>
4206      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
4207      "untangle ABNFs for header fields"
4208    </t>
4209  </list>
4210</t>
4211</section>
4212
4213<section title="Since draft-ietf-httpbis-p2-semantics-13" anchor="changes.since.13">
4214<t>
4215  Closed issues:
4216  <list style="symbols"> 
4217    <t>
4218      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
4219      "untangle ABNFs for header fields"
4220    </t>
4221    <t>
4222      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/251"/>:
4223      "message-body in CONNECT request"
4224    </t>
4225  </list>
4226</t>
4227</section>
4228
4229<section title="Since draft-ietf-httpbis-p2-semantics-14" anchor="changes.since.14">
4230<t>
4231  Closed issues:
4232  <list style="symbols"> 
4233    <t>
4234      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/255"/>:
4235      "Clarify status code for rate limiting"
4236    </t>
4237    <t>
4238      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/294"/>:
4239      "clarify 403 forbidden"
4240    </t>
4241    <t>
4242      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/296"/>:
4243      "Clarify 203 Non-Authoritative Information"
4244    </t>
4245    <t>
4246      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/298"/>:
4247      "update default reason phrase for 413"
4248    </t>
4249  </list>
4250</t>
4251</section>
4252
4253<section title="Since draft-ietf-httpbis-p2-semantics-15" anchor="changes.since.15">
4254<t>
4255  Closed issues:
4256  <list style="symbols"> 
4257    <t>
4258      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/285"/>:
4259      "Strength of requirements on Accept re: 406"
4260    </t>
4261    <t>
4262      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/303"/>:
4263      "400 response isn't generic"
4264    </t>
4265  </list>
4266</t>
4267</section>
4268
4269<section title="Since draft-ietf-httpbis-p2-semantics-16" anchor="changes.since.16">
4270<t>
4271  Closed issues:
4272  <list style="symbols"> 
4273    <t>
4274      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/310"/>:
4275      "clarify 303 redirect on HEAD"
4276    </t>
4277  </list>
4278</t>
4279<t>
4280  Work-in-progress:
4281  <list style="symbols"> 
4282    <t>
4283      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/231"/>:
4284      "Considerations for new headers"
4285    </t>
4286  </list>
4287</t>
4288</section>
4289
4290</section>
4291
4292</back>
4293</rfc>
Note: See TracBrowser for help on using the repository browser.