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

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

Note change in [888] relating to issue 139 (see #139)

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