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

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

Based on list discussion, suggest both 409 and 415 as status
codes when a PUT representation conflicts with the nature of
the identified resource, and use 415 in the example that is
specific to media types. This is a correction to [1158].

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