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

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

update collected ABNFs

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