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

Last change on this file since 895 was 895, checked in by julian.reschke@…, 13 years ago

Note change in [893] relating to issue 190 (see #190)

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