source: draft-ietf-httpbis/latest/p1-messaging.xml @ 1581

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

cleanup the phrasing of requirements in request-target and Host to
disambiguate the four cases and make the client responsible for compliance.

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 247.7 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='../myxml2rfc.xslt'?>
3<!DOCTYPE rfc [
4  <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
5  <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>">
6  <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>">
7  <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>">
8  <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>">
9  <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>">
10  <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>">
11  <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>">
12  <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>">
13  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
14  <!ENTITY ID-VERSION "latest">
15  <!ENTITY ID-MONTH "March">
16  <!ENTITY ID-YEAR "2012">
17  <!ENTITY mdash "&#8212;">
18  <!ENTITY caching-overview       "<xref target='Part6' x:rel='#caching.overview' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
19  <!ENTITY cache-incomplete       "<xref target='Part6' x:rel='#response.cacheability' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
20  <!ENTITY payload                "<xref target='Part3' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
21  <!ENTITY media-types            "<xref target='Part3' x:rel='#media.types' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
22  <!ENTITY content-codings        "<xref target='Part3' x:rel='#content.codings' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
23  <!ENTITY CONNECT                "<xref target='Part2' x:rel='#CONNECT' 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'/>">
25  <!ENTITY diff-mime              "<xref target='Part3' x:rel='#differences.between.http.and.mime' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
26  <!ENTITY representation         "<xref target='Part3' x:rel='#representation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
27  <!ENTITY header-cache-control   "<xref target='Part6' x:rel='#header.cache-control' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
28  <!ENTITY header-date            "<xref target='Part2' x:rel='#header.date' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
29  <!ENTITY header-expect          "<xref target='Part2' x:rel='#header.expect' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
30  <!ENTITY header-mime-version    "<xref target='Part3' x:rel='#mime-version' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
31  <!ENTITY header-pragma          "<xref target='Part6' x:rel='#header.pragma' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
32  <!ENTITY header-warning         "<xref target='Part6' x:rel='#header.warning' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
33  <!ENTITY idempotent-methods     "<xref target='Part2' x:rel='#idempotent.methods' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
34  <!ENTITY method                 "<xref target='Part2' x:rel='#method' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
35  <!ENTITY OPTIONS                "<xref target='Part2' x:rel='#OPTIONS' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
36  <!ENTITY status-code-reasonphr  "<xref target='Part2' x:rel='#status.code.and.reason.phrase' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
37  <!ENTITY status-codes           "<xref target='Part2' x:rel='#status.codes' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
38  <!ENTITY status-100             "<xref target='Part2' x:rel='#status.100' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
39  <!ENTITY status-1xx             "<xref target='Part2' x:rel='#status.1xx' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
40  <!ENTITY status-203             "<xref target='Part2' x:rel='#status.203' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
41  <!ENTITY status-3xx             "<xref target='Part2' x:rel='#status.3xx' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
42  <!ENTITY status-4xx             "<xref target='Part2' x:rel='#status.4xx' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
43  <!ENTITY status-414             "<xref target='Part2' x:rel='#status.414' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
44  <!ENTITY cons-new-header-fields "<xref target='Part2' x:rel='#considerations.for.creating.header.fields' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
45]>
46<?rfc toc="yes" ?>
47<?rfc symrefs="yes" ?>
48<?rfc sortrefs="yes" ?>
49<?rfc compact="yes"?>
50<?rfc subcompact="no" ?>
51<?rfc linkmailto="no" ?>
52<?rfc editing="no" ?>
53<?rfc comments="yes"?>
54<?rfc inline="yes"?>
55<?rfc rfcedstyle="yes"?>
56<?rfc-ext allow-markup-in-artwork="yes" ?>
57<?rfc-ext include-references-in-index="yes" ?>
58<rfc obsoletes="2145,2616" updates="2817" category="std" x:maturity-level="proposed"
59     ipr="pre5378Trust200902" docName="draft-ietf-httpbis-p1-messaging-&ID-VERSION;"
60     xmlns:x='http://purl.org/net/xml2rfc/ext'>
61<x:link rel="next" basename="p2-semantics"/>
62<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
63<front>
64
65  <title abbrev="HTTP/1.1, Part 1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title>
66
67  <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
68    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
69    <address>
70      <postal>
71        <street>345 Park Ave</street>
72        <city>San Jose</city>
73        <region>CA</region>
74        <code>95110</code>
75        <country>USA</country>
76      </postal>
77      <email>fielding@gbiv.com</email>
78      <uri>http://roy.gbiv.com/</uri>
79    </address>
80  </author>
81
82  <author initials="J." surname="Gettys" fullname="Jim Gettys">
83    <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
84    <address>
85      <postal>
86        <street>21 Oak Knoll Road</street>
87        <city>Carlisle</city>
88        <region>MA</region>
89        <code>01741</code>
90        <country>USA</country>
91      </postal>
92      <email>jg@freedesktop.org</email>
93      <uri>http://gettys.wordpress.com/</uri>
94    </address>
95  </author>
96 
97  <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
98    <organization abbrev="HP">Hewlett-Packard Company</organization>
99    <address>
100      <postal>
101        <street>HP Labs, Large Scale Systems Group</street>
102        <street>1501 Page Mill Road, MS 1177</street>
103        <city>Palo Alto</city>
104        <region>CA</region>
105        <code>94304</code>
106        <country>USA</country>
107      </postal>
108      <email>JeffMogul@acm.org</email>
109    </address>
110  </author>
111
112  <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
113    <organization abbrev="Microsoft">Microsoft Corporation</organization>
114    <address>
115      <postal>
116        <street>1 Microsoft Way</street>
117        <city>Redmond</city>
118        <region>WA</region>
119        <code>98052</code>
120        <country>USA</country>
121      </postal>
122      <email>henrikn@microsoft.com</email>
123    </address>
124  </author>
125
126  <author initials="L." surname="Masinter" fullname="Larry Masinter">
127    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
128    <address>
129      <postal>
130        <street>345 Park Ave</street>
131        <city>San Jose</city>
132        <region>CA</region>
133        <code>95110</code>
134        <country>USA</country>
135      </postal>
136      <email>LMM@acm.org</email>
137      <uri>http://larry.masinter.net/</uri>
138    </address>
139  </author>
140 
141  <author initials="P." surname="Leach" fullname="Paul J. Leach">
142    <organization abbrev="Microsoft">Microsoft Corporation</organization>
143    <address>
144      <postal>
145        <street>1 Microsoft Way</street>
146        <city>Redmond</city>
147        <region>WA</region>
148        <code>98052</code>
149      </postal>
150      <email>paulle@microsoft.com</email>
151    </address>
152  </author>
153   
154  <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
155    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
156    <address>
157      <postal>
158        <street>MIT Computer Science and Artificial Intelligence Laboratory</street>
159        <street>The Stata Center, Building 32</street>
160        <street>32 Vassar Street</street>
161        <city>Cambridge</city>
162        <region>MA</region>
163        <code>02139</code>
164        <country>USA</country>
165      </postal>
166      <email>timbl@w3.org</email>
167      <uri>http://www.w3.org/People/Berners-Lee/</uri>
168    </address>
169  </author>
170
171  <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
172    <organization abbrev="W3C">World Wide Web Consortium</organization>
173    <address>
174      <postal>
175        <street>W3C / ERCIM</street>
176        <street>2004, rte des Lucioles</street>
177        <city>Sophia-Antipolis</city>
178        <region>AM</region>
179        <code>06902</code>
180        <country>France</country>
181      </postal>
182      <email>ylafon@w3.org</email>
183      <uri>http://www.raubacapeu.net/people/yves/</uri>
184    </address>
185  </author>
186
187  <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
188    <organization abbrev="greenbytes">greenbytes GmbH</organization>
189    <address>
190      <postal>
191        <street>Hafenweg 16</street>
192        <city>Muenster</city><region>NW</region><code>48155</code>
193        <country>Germany</country>
194      </postal>
195      <phone>+49 251 2807760</phone>
196      <facsimile>+49 251 2807761</facsimile>
197      <email>julian.reschke@greenbytes.de</email>
198      <uri>http://greenbytes.de/tech/webdav/</uri>
199    </address>
200  </author>
201
202  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
203  <workgroup>HTTPbis Working Group</workgroup>
204
205<abstract>
206<t>
207   The Hypertext Transfer Protocol (HTTP) is an application-level protocol for
208   distributed, collaborative, hypertext information systems. HTTP has been in
209   use by the World Wide Web global information initiative since 1990. This
210   document is Part 1 of the seven-part specification that defines the protocol
211   referred to as "HTTP/1.1" and, taken together, obsoletes
212   <xref target="RFC2616" x:fmt="none">RFC 2616</xref> and moves it to historic
213   status, along with its predecessor <xref target="RFC2068" x:fmt="none">RFC
214   2068</xref>.
215</t>
216<t>
217   Part 1 provides an overview of HTTP and its associated terminology, defines
218   the "http" and "https" Uniform Resource Identifier (URI) schemes, defines
219   the generic message syntax and parsing requirements for HTTP message frames,
220   and describes general security concerns for implementations.
221</t>
222<t>
223   This part also obsoletes RFCs <xref target="RFC2145" x:fmt="none">2145</xref>
224   (on HTTP version numbers) and <xref target="RFC2817" x:fmt="none">2817</xref>
225   (on using CONNECT for TLS upgrades) and moves them to historic status.
226</t>
227</abstract>
228
229<note title="Editorial Note (To be removed by RFC Editor)">
230  <t>
231    Discussion of this draft should take place on the HTTPBIS working group
232    mailing list (ietf-http-wg@w3.org), which is archived at
233    <eref target="http://lists.w3.org/Archives/Public/ietf-http-wg/"/>.
234  </t>
235  <t>
236    The current issues list is at
237    <eref target="http://tools.ietf.org/wg/httpbis/trac/report/3"/> and related
238    documents (including fancy diffs) can be found at
239    <eref target="http://tools.ietf.org/wg/httpbis/"/>.
240  </t>
241  <t>
242    The changes in this draft are summarized in <xref target="changes.since.18"/>.
243  </t>
244</note>
245</front>
246<middle>
247<section title="Introduction" anchor="introduction">
248<t>
249   The Hypertext Transfer Protocol (HTTP) is an application-level
250   request/response protocol that uses extensible semantics and MIME-like
251   message payloads for flexible interaction with network-based hypertext
252   information systems. HTTP relies upon the Uniform Resource Identifier (URI)
253   standard <xref target="RFC3986"/> to indicate the target resource and
254   relationships between resources.
255   Messages are passed in a format similar to that used by Internet mail
256   <xref target="RFC5322"/> and the Multipurpose Internet Mail Extensions
257   (MIME) <xref target="RFC2045"/> (see &diff-mime; for the differences
258   between HTTP and MIME messages).
259</t>
260<t>
261   HTTP is a generic interface protocol for information systems. It is
262   designed to hide the details of how a service is implemented by presenting
263   a uniform interface to clients that is independent of the types of
264   resources provided. Likewise, servers do not need to be aware of each
265   client's purpose: an HTTP request can be considered in isolation rather
266   than being associated with a specific type of client or a predetermined
267   sequence of application steps. The result is a protocol that can be used
268   effectively in many different contexts and for which implementations can
269   evolve independently over time.
270</t>
271<t>
272   HTTP is also designed for use as an intermediation protocol for translating
273   communication to and from non-HTTP information systems.
274   HTTP proxies and gateways can provide access to alternative information
275   services by translating their diverse protocols into a hypertext
276   format that can be viewed and manipulated by clients in the same way
277   as HTTP services.
278</t>
279<t>
280   One consequence of HTTP flexibility is that the protocol cannot be
281   defined in terms of what occurs behind the interface. Instead, we
282   are limited to defining the syntax of communication, the intent
283   of received communication, and the expected behavior of recipients.
284   If the communication is considered in isolation, then successful
285   actions ought to be reflected in corresponding changes to the
286   observable interface provided by servers. However, since multiple
287   clients might act in parallel and perhaps at cross-purposes, we
288   cannot require that such changes be observable beyond the scope
289   of a single response.
290</t>
291<t>
292   This document is Part 1 of the seven-part specification of HTTP,
293   defining the protocol referred to as "HTTP/1.1", obsoleting
294   <xref target="RFC2616"/> and <xref target="RFC2145"/>.
295   Part 1 describes the architectural elements that are used or
296   referred to in HTTP, defines the "http" and "https" URI schemes,
297   describes overall network operation and connection management,
298   and defines HTTP message framing and forwarding requirements.
299   Our goal is to define all of the mechanisms necessary for HTTP message
300   handling that are independent of message semantics, thereby defining the
301   complete set of requirements for message parsers and
302   message-forwarding intermediaries.
303</t>
304
305<section title="Requirement Notation" anchor="intro.requirements">
306<t>
307   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
308   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
309   document are to be interpreted as described in <xref target="RFC2119"/>.
310</t>
311</section>
312
313<section title="Syntax Notation" anchor="notation">
314<iref primary="true" item="Grammar" subitem="ALPHA"/>
315<iref primary="true" item="Grammar" subitem="CR"/>
316<iref primary="true" item="Grammar" subitem="CRLF"/>
317<iref primary="true" item="Grammar" subitem="CTL"/>
318<iref primary="true" item="Grammar" subitem="DIGIT"/>
319<iref primary="true" item="Grammar" subitem="DQUOTE"/>
320<iref primary="true" item="Grammar" subitem="HEXDIG"/>
321<iref primary="true" item="Grammar" subitem="HTAB"/>
322<iref primary="true" item="Grammar" subitem="LF"/>
323<iref primary="true" item="Grammar" subitem="OCTET"/>
324<iref primary="true" item="Grammar" subitem="SP"/>
325<iref primary="true" item="Grammar" subitem="VCHAR"/>
326<t>
327   This specification uses the Augmented Backus-Naur Form (ABNF) notation
328   of <xref target="RFC5234"/> with the list rule extension defined in
329   <xref target="abnf.extension"/><xref target="collected.abnf"/> shows
330   the collected ABNF with the list rule expanded.
331</t>
332<t anchor="core.rules">
333  <x:anchor-alias value="ALPHA"/>
334  <x:anchor-alias value="CTL"/>
335  <x:anchor-alias value="CR"/>
336  <x:anchor-alias value="CRLF"/>
337  <x:anchor-alias value="DIGIT"/>
338  <x:anchor-alias value="DQUOTE"/>
339  <x:anchor-alias value="HEXDIG"/>
340  <x:anchor-alias value="HTAB"/>
341  <x:anchor-alias value="LF"/>
342  <x:anchor-alias value="OCTET"/>
343  <x:anchor-alias value="SP"/>
344  <x:anchor-alias value="VCHAR"/>
345   The following core rules are included by
346   reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
347   ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
348   DIGIT (decimal 0-9), DQUOTE (double quote),
349   HEXDIG (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), LF (line feed),
350   OCTET (any 8-bit sequence of data), SP (space), and
351   VCHAR (any visible <xref target="USASCII"/> character).
352</t>
353<t>
354   As a convention, ABNF rule names prefixed with "obs-" denote
355   "obsolete" grammar rules that appear for historical reasons.
356</t>
357</section>
358</section>
359
360<section title="Architecture" anchor="architecture">
361<t>
362   HTTP was created for the World Wide Web architecture
363   and has evolved over time to support the scalability needs of a worldwide
364   hypertext system. Much of that architecture is reflected in the terminology
365   and syntax productions used to define HTTP.
366</t>
367
368<section title="Client/Server Messaging" anchor="operation">
369<iref primary="true" item="client"/>
370<iref primary="true" item="server"/>
371<iref primary="true" item="connection"/>
372<t>
373   HTTP is a stateless request/response protocol that operates by exchanging
374   <x:dfn>messages</x:dfn> (<xref target="http.message"/>) across a reliable
375   transport or session-layer
376   "<x:dfn>connection</x:dfn>". An HTTP "<x:dfn>client</x:dfn>" is a
377   program that establishes a connection to a server for the purpose of
378   sending one or more HTTP requests.  An HTTP "<x:dfn>server</x:dfn>" is a
379   program that accepts connections in order to service HTTP requests by
380   sending HTTP responses.
381</t>
382<iref primary="true" item="user agent"/>
383<iref primary="true" item="origin server"/>
384<iref primary="true" item="browser"/>
385<iref primary="true" item="spider"/>
386<iref primary="true" item="sender"/>
387<iref primary="true" item="recipient"/>
388<t>
389   Note that the terms client and server refer only to the roles that
390   these programs perform for a particular connection.  The same program
391   might act as a client on some connections and a server on others.  We use
392   the term "<x:dfn>user agent</x:dfn>" to refer to the program that initiates a request,
393   such as a WWW browser, editor, or spider (web-traversing robot), and
394   the term "<x:dfn>origin server</x:dfn>" to refer to the program that can originate
395   authoritative responses to a request.  For general requirements, we use
396   the term "<x:dfn>sender</x:dfn>" to refer to whichever component sent a given message
397   and the term "<x:dfn>recipient</x:dfn>" to refer to any component that receives the
398   message.
399</t>
400<x:note>
401  <t>
402    <x:h>Note:</x:h> The term 'user agent' covers both those situations where
403    there is a user (human) interacting with the software agent (and for which
404    user interface or interactive suggestions might be made, e.g., warning the
405    user or given the user an option in the case of security or privacy
406    options) and also those where the software agent may act autonomously.
407  </t>
408</x:note>
409<t>
410   Most HTTP communication consists of a retrieval request (GET) for
411   a representation of some resource identified by a URI.  In the
412   simplest case, this might be accomplished via a single bidirectional
413   connection (===) between the user agent (UA) and the origin server (O).
414</t>
415<figure><artwork type="drawing">
416         request   &gt;
417    UA ======================================= O
418                                &lt;   response
419</artwork></figure>
420<iref primary="true" item="message"/>
421<iref primary="true" item="request"/>
422<iref primary="true" item="response"/>
423<t>
424   A client sends an HTTP request to the server in the form of a <x:dfn>request</x:dfn>
425   message, beginning with a request-line that includes a method, URI, and
426   protocol version (<xref target="request.line"/>),
427   followed by MIME-like header fields containing
428   request modifiers, client information, and payload metadata
429   (<xref target="header.fields"/>),
430   an empty line to indicate the end of the header section, and finally
431   a message body containing the payload body (if any,
432   <xref target="message.body"/>).
433</t>
434<t>
435   A server responds to the client's request by sending one or more HTTP
436   <x:dfn>response</x:dfn>
437   messages, each beginning with a status line that
438   includes the protocol version, a success or error code, and textual
439   reason phrase (<xref target="status.line"/>),
440   possibly followed by MIME-like header fields containing server
441   information, resource metadata, and payload metadata
442   (<xref target="header.fields"/>),
443   an empty line to indicate the end of the header section, and finally
444   a message body containing the payload body (if any,
445   <xref target="message.body"/>).
446</t>
447<t>
448   The following example illustrates a typical message exchange for a
449   GET request on the URI "http://www.example.com/hello.txt":
450</t>
451<figure><preamble>
452client request:
453</preamble><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
454GET /hello.txt HTTP/1.1
455User-Agent: curl/7.16.3 libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
456Host: www.example.com
457Accept: */*
458
459</artwork></figure>
460<figure><preamble>
461server response:
462</preamble><artwork type="message/http; msgtype=&#34;response&#34;" x:indent-with="  ">
463HTTP/1.1 200 OK
464Date: Mon, 27 Jul 2009 12:28:53 GMT
465Server: Apache
466Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT
467ETag: "34aa387-d-1568eb00"
468Accept-Ranges: bytes
469Content-Length: <x:length-of target="exbody"/>
470Vary: Accept-Encoding
471Content-Type: text/plain
472
473<x:span anchor="exbody">Hello World!
474</x:span></artwork></figure>
475</section>
476
477<section title="Connections and Transport Independence" anchor="transport-independence">
478<t>
479   HTTP messaging is independent of the underlying transport or
480   session-layer connection protocol(s).  HTTP only presumes a reliable
481   transport with in-order delivery of requests and the corresponding
482   in-order delivery of responses.  The mapping of HTTP request and
483   response structures onto the data units of the underlying transport
484   protocol is outside the scope of this specification.
485</t>
486<t>
487   The specific connection protocols to be used for an interaction
488   are determined by client configuration and the target resource's URI.
489   For example, the "http" URI scheme
490   (<xref target="http.uri"/>) indicates a default connection of TCP
491   over IP, with a default TCP port of 80, but the client might be
492   configured to use a proxy via some other connection port or protocol
493   instead of using the defaults.
494</t>
495<t>
496   A connection might be used for multiple HTTP request/response exchanges,
497   as defined in <xref target="persistent.connections"/>.
498</t>
499</section>
500
501<section title="Intermediaries" anchor="intermediaries">
502<iref primary="true" item="intermediary"/>
503<t>
504   HTTP enables the use of intermediaries to satisfy requests through
505   a chain of connections.  There are three common forms of HTTP
506   <x:dfn>intermediary</x:dfn>: proxy, gateway, and tunnel.  In some cases,
507   a single intermediary might act as an origin server, proxy, gateway,
508   or tunnel, switching behavior based on the nature of each request.
509</t>
510<figure><artwork type="drawing">
511         &gt;             &gt;             &gt;             &gt;
512    <x:highlight>UA</x:highlight> =========== <x:highlight>A</x:highlight> =========== <x:highlight>B</x:highlight> =========== <x:highlight>C</x:highlight> =========== <x:highlight>O</x:highlight>
513               &lt;             &lt;             &lt;             &lt;
514</artwork></figure>
515<t>
516   The figure above shows three intermediaries (A, B, and C) between the
517   user agent and origin server. A request or response message that
518   travels the whole chain will pass through four separate connections.
519   Some HTTP communication options
520   might apply only to the connection with the nearest, non-tunnel
521   neighbor, only to the end-points of the chain, or to all connections
522   along the chain. Although the diagram is linear, each participant might
523   be engaged in multiple, simultaneous communications. For example, B
524   might be receiving requests from many clients other than A, and/or
525   forwarding requests to servers other than C, at the same time that it
526   is handling A's request.
527</t>
528<t>
529<iref primary="true" item="upstream"/><iref primary="true" item="downstream"/>
530<iref primary="true" item="inbound"/><iref primary="true" item="outbound"/>
531   We use the terms "<x:dfn>upstream</x:dfn>" and "<x:dfn>downstream</x:dfn>"
532   to describe various requirements in relation to the directional flow of a
533   message: all messages flow from upstream to downstream.
534   Likewise, we use the terms inbound and outbound to refer to
535   directions in relation to the request path:
536   "<x:dfn>inbound</x:dfn>" means toward the origin server and
537   "<x:dfn>outbound</x:dfn>" means toward the user agent.
538</t>
539<t><iref primary="true" item="proxy"/>
540   A "<x:dfn>proxy</x:dfn>" is a message forwarding agent that is selected by the
541   client, usually via local configuration rules, to receive requests
542   for some type(s) of absolute URI and attempt to satisfy those
543   requests via translation through the HTTP interface.  Some translations
544   are minimal, such as for proxy requests for "http" URIs, whereas
545   other requests might require translation to and from entirely different
546   application-layer protocols. Proxies are often used to group an
547   organization's HTTP requests through a common intermediary for the
548   sake of security, annotation services, or shared caching.
549</t>
550<t>
551<iref primary="true" item="transforming proxy"/>
552<iref primary="true" item="non-transforming proxy"/>
553   An HTTP-to-HTTP proxy is called a "<x:dfn>transforming proxy</x:dfn>" if it is designed
554   or configured to modify request or response messages in a semantically
555   meaningful way (i.e., modifications, beyond those required by normal
556   HTTP processing, that change the message in a way that would be
557   significant to the original sender or potentially significant to
558   downstream recipients).  For example, a transforming proxy might be
559   acting as a shared annotation server (modifying responses to include
560   references to a local annotation database), a malware filter, a
561   format transcoder, or an intranet-to-Internet privacy filter.  Such
562   transformations are presumed to be desired by the client (or client
563   organization) that selected the proxy and are beyond the scope of
564   this specification.  However, when a proxy is not intended to transform
565   a given message, we use the term "<x:dfn>non-transforming proxy</x:dfn>" to target
566   requirements that preserve HTTP message semantics. See &status-203; and
567   &header-warning; for status and warning codes related to transformations.
568</t>
569<t><iref primary="true" item="gateway"/><iref primary="true" item="reverse proxy"/>
570<iref primary="true" item="accelerator"/>
571   A "<x:dfn>gateway</x:dfn>" (a.k.a., "<x:dfn>reverse proxy</x:dfn>")
572   is a receiving agent that acts
573   as a layer above some other server(s) and translates the received
574   requests to the underlying server's protocol.  Gateways are often
575   used to encapsulate legacy or untrusted information services, to
576   improve server performance through "<x:dfn>accelerator</x:dfn>" caching, and to
577   enable partitioning or load-balancing of HTTP services across
578   multiple machines.
579</t>
580<t>
581   A gateway behaves as an origin server on its outbound connection and
582   as a user agent on its inbound connection.
583   All HTTP requirements applicable to an origin server
584   also apply to the outbound communication of a gateway.
585   A gateway communicates with inbound servers using any protocol that
586   it desires, including private extensions to HTTP that are outside
587   the scope of this specification.  However, an HTTP-to-HTTP gateway
588   that wishes to interoperate with third-party HTTP servers &MUST;
589   conform to HTTP user agent requirements on the gateway's inbound
590   connection and &MUST; implement the Connection
591   (<xref target="header.connection"/>) and Via (<xref target="header.via"/>)
592   header fields for both connections.
593</t>
594<t><iref primary="true" item="tunnel"/>
595   A "<x:dfn>tunnel</x:dfn>" acts as a blind relay between two connections
596   without changing the messages. Once active, a tunnel is not
597   considered a party to the HTTP communication, though the tunnel might
598   have been initiated by an HTTP request. A tunnel ceases to exist when
599   both ends of the relayed connection are closed. Tunnels are used to
600   extend a virtual connection through an intermediary, such as when
601   transport-layer security is used to establish private communication
602   through a shared firewall proxy.
603</t>
604<t><iref primary="true" item="interception proxy"/><iref primary="true" item="transparent proxy"/>
605<iref primary="true" item="captive portal"/>
606   In addition, there may exist network intermediaries that are not
607   considered part of the HTTP communication but nevertheless act as
608   filters or redirecting agents (usually violating HTTP semantics,
609   causing security problems, and otherwise making a mess of things).
610   Such a network intermediary, often referred to as an "<x:dfn>interception proxy</x:dfn>"
611   <xref target="RFC3040"/>, "<x:dfn>transparent proxy</x:dfn>" <xref target="RFC1919"/>,
612   or "<x:dfn>captive portal</x:dfn>",
613   differs from an HTTP proxy because it has not been selected by the client.
614   Instead, the network intermediary redirects outgoing TCP port 80 packets
615   (and occasionally other common port traffic) to an internal HTTP server.
616   Interception proxies are commonly found on public network access points,
617   as a means of enforcing account subscription prior to allowing use of
618   non-local Internet services, and within corporate firewalls to enforce
619   network usage policies.
620   They are indistinguishable from a man-in-the-middle attack.
621</t>
622<t>
623   HTTP is defined as a stateless protocol, meaning that each request message
624   can be understood in isolation.  Many implementations depend on HTTP's
625   stateless design in order to reuse proxied connections or dynamically
626   load balance requests across multiple servers.  Hence, servers &MUST-NOT;
627   assume that two requests on the same connection are from the same user
628   agent unless the connection is secured and specific to that agent.
629   Some non-standard HTTP extensions (e.g., <xref target="RFC4559"/>) have
630   been known to violate this requirement, resulting in security and
631   interoperability problems.
632</t>
633</section>
634
635<section title="Caches" anchor="caches">
636<iref primary="true" item="cache"/>
637<t>
638   A "<x:dfn>cache</x:dfn>" is a local store of previous response messages and the
639   subsystem that controls its message storage, retrieval, and deletion.
640   A cache stores cacheable responses in order to reduce the response
641   time and network bandwidth consumption on future, equivalent
642   requests. Any client or server &MAY; employ a cache, though a cache
643   cannot be used by a server while it is acting as a tunnel.
644</t>
645<t>
646   The effect of a cache is that the request/response chain is shortened
647   if one of the participants along the chain has a cached response
648   applicable to that request. The following illustrates the resulting
649   chain if B has a cached copy of an earlier response from O (via C)
650   for a request which has not been cached by UA or A.
651</t>
652<figure><artwork type="drawing">
653            &gt;             &gt;
654       UA =========== A =========== B - - - - - - C - - - - - - O
655                  &lt;             &lt;
656</artwork></figure>
657<t><iref primary="true" item="cacheable"/>
658   A response is "<x:dfn>cacheable</x:dfn>" if a cache is allowed to store a copy of
659   the response message for use in answering subsequent requests.
660   Even when a response is cacheable, there might be additional
661   constraints placed by the client or by the origin server on when
662   that cached response can be used for a particular request. HTTP
663   requirements for cache behavior and cacheable responses are
664   defined in &caching-overview;
665</t>
666<t>
667   There are a wide variety of architectures and configurations
668   of caches and proxies deployed across the World Wide Web and
669   inside large organizations. These systems include national hierarchies
670   of proxy caches to save transoceanic bandwidth, systems that
671   broadcast or multicast cache entries, organizations that distribute
672   subsets of cached data via optical media, and so on.
673</t>
674</section>
675
676<section title="Conformance and Error Handling" anchor="intro.conformance.and.error.handling">
677<t>
678   This specification targets conformance criteria according to the role of
679   a participant in HTTP communication.  Hence, HTTP requirements are placed
680   on senders, recipients, clients, servers, user agents, intermediaries,
681   origin servers, proxies, gateways, or caches, depending on what behavior
682   is being constrained by the requirement.
683</t>
684<t>
685   An implementation is considered conformant if it complies with all of the
686   requirements associated with the roles it partakes in HTTP.
687</t>
688<t>
689   Senders &MUST-NOT; generate protocol elements that do not match the grammar
690   defined by the ABNF rules for those protocol elements.
691</t>
692<t>
693   Unless otherwise noted, recipients &MAY; attempt to recover a usable
694   protocol element from an invalid construct.  HTTP does not define
695   specific error handling mechanisms except when they have a direct impact
696   on security, since different applications of the protocol require
697   different error handling strategies.  For example, a Web browser might
698   wish to transparently recover from a response where the Location header
699   field doesn't parse according to the ABNF, whereas a systems control
700   client might consider any form of error recovery to be dangerous.
701</t>
702</section>
703
704<section title="Protocol Versioning" anchor="http.version">
705  <x:anchor-alias value="HTTP-version"/>
706  <x:anchor-alias value="HTTP-name"/>
707<t>
708   HTTP uses a "&lt;major&gt;.&lt;minor&gt;" numbering scheme to indicate
709   versions of the protocol. This specification defines version "1.1".
710   The protocol version as a whole indicates the sender's conformance
711   with the set of requirements laid out in that version's corresponding
712   specification of HTTP.
713</t>
714<t>
715   The version of an HTTP message is indicated by an HTTP-version field
716   in the first line of the message. HTTP-version is case-sensitive.
717</t>
718<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="HTTP-version"/><iref primary="true" item="Grammar" subitem="HTTP-name"/>
719  <x:ref>HTTP-version</x:ref>  = <x:ref>HTTP-name</x:ref> "/" <x:ref>DIGIT</x:ref> "." <x:ref>DIGIT</x:ref>
720  <x:ref>HTTP-name</x:ref>     = <x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence> ; "HTTP", case-sensitive
721</artwork></figure>
722<t>
723   The HTTP version number consists of two decimal digits separated by a "."
724   (period or decimal point).  The first digit ("major version") indicates the
725   HTTP messaging syntax, whereas the second digit ("minor version") indicates
726   the highest minor version to which the sender is
727   conformant and able to understand for future communication.  The minor
728   version advertises the sender's communication capabilities even when the
729   sender is only using a backwards-compatible subset of the protocol,
730   thereby letting the recipient know that more advanced features can
731   be used in response (by servers) or in future requests (by clients).
732</t>
733<t>
734   When an HTTP/1.1 message is sent to an HTTP/1.0 recipient
735   <xref target="RFC1945"/> or a recipient whose version is unknown,
736   the HTTP/1.1 message is constructed such that it can be interpreted
737   as a valid HTTP/1.0 message if all of the newer features are ignored.
738   This specification places recipient-version requirements on some
739   new features so that a conformant sender will only use compatible
740   features until it has determined, through configuration or the
741   receipt of a message, that the recipient supports HTTP/1.1.
742</t>
743<t>
744   The interpretation of a header field does not change between minor
745   versions of the same major HTTP version, though the default
746   behavior of a recipient in the absence of such a field can change.
747   Unless specified otherwise, header fields defined in HTTP/1.1 are
748   defined for all versions of HTTP/1.x.  In particular, the Host and
749   Connection header fields ought to be implemented by all HTTP/1.x
750   implementations whether or not they advertise conformance with HTTP/1.1.
751</t>
752<t>
753   New header fields can be defined such that, when they are
754   understood by a recipient, they might override or enhance the
755   interpretation of previously defined header fields.  When an
756   implementation receives an unrecognized header field, the recipient
757   &MUST; ignore that header field for local processing regardless of
758   the message's HTTP version.  An unrecognized header field received
759   by a proxy &MUST; be forwarded downstream unless the header field's
760   field-name is listed in the message's Connection header-field
761   (see <xref target="header.connection"/>).
762   These requirements allow HTTP's functionality to be enhanced without
763   requiring prior update of deployed intermediaries.
764</t>
765<t>
766   Intermediaries that process HTTP messages (i.e., all intermediaries
767   other than those acting as tunnels) &MUST; send their own HTTP-version
768   in forwarded messages.  In other words, they &MUST-NOT; blindly
769   forward the first line of an HTTP message without ensuring that the
770   protocol version in that message matches a version to which that
771   intermediary is conformant for both the receiving and
772   sending of messages.  Forwarding an HTTP message without rewriting
773   the HTTP-version might result in communication errors when downstream
774   recipients use the message sender's version to determine what features
775   are safe to use for later communication with that sender.
776</t>
777<t>
778   An HTTP client &SHOULD; send a request version equal to the highest
779   version to which the client is conformant and
780   whose major version is no higher than the highest version supported
781   by the server, if this is known.  An HTTP client &MUST-NOT; send a
782   version to which it is not conformant.
783</t>
784<t>
785   An HTTP client &MAY; send a lower request version if it is known that
786   the server incorrectly implements the HTTP specification, but only
787   after the client has attempted at least one normal request and determined
788   from the response status or header fields (e.g., Server) that the
789   server improperly handles higher request versions.
790</t>
791<t>
792   An HTTP server &SHOULD; send a response version equal to the highest
793   version to which the server is conformant and
794   whose major version is less than or equal to the one received in the
795   request.  An HTTP server &MUST-NOT; send a version to which it is not
796   conformant.  A server &MAY; send a 505 (HTTP
797   Version Not Supported) response if it cannot send a response using the
798   major version used in the client's request.
799</t>
800<t>
801   An HTTP server &MAY; send an HTTP/1.0 response to an HTTP/1.0 request
802   if it is known or suspected that the client incorrectly implements the
803   HTTP specification and is incapable of correctly processing later
804   version responses, such as when a client fails to parse the version
805   number correctly or when an intermediary is known to blindly forward
806   the HTTP-version even when it doesn't conform to the given minor
807   version of the protocol. Such protocol downgrades &SHOULD-NOT; be
808   performed unless triggered by specific client attributes, such as when
809   one or more of the request header fields (e.g., User-Agent) uniquely
810   match the values sent by a client known to be in error.
811</t>
812<t>
813   The intention of HTTP's versioning design is that the major number
814   will only be incremented if an incompatible message syntax is
815   introduced, and that the minor number will only be incremented when
816   changes made to the protocol have the effect of adding to the message
817   semantics or implying additional capabilities of the sender.  However,
818   the minor version was not incremented for the changes introduced between
819   <xref target="RFC2068"/> and <xref target="RFC2616"/>, and this revision
820   is specifically avoiding any such changes to the protocol.
821</t>
822</section>
823
824<section title="Uniform Resource Identifiers" anchor="uri">
825<iref primary="true" item="resource"/>
826<t>
827   Uniform Resource Identifiers (URIs) <xref target="RFC3986"/> are used
828   throughout HTTP as the means for identifying resources. URI references
829   are used to target requests, indicate redirects, and define relationships.
830   HTTP does not limit what a resource might be; it merely defines an interface
831   that can be used to interact with a resource via HTTP. More information on
832   the scope of URIs and resources can be found in <xref target="RFC3986"/>.
833</t>
834  <x:anchor-alias value="URI-reference"/>
835  <x:anchor-alias value="absolute-URI"/>
836  <x:anchor-alias value="relative-part"/>
837  <x:anchor-alias value="authority"/>
838  <x:anchor-alias value="path-abempty"/>
839  <x:anchor-alias value="path-absolute"/>
840  <x:anchor-alias value="port"/>
841  <x:anchor-alias value="query"/>
842  <x:anchor-alias value="uri-host"/>
843  <x:anchor-alias value="partial-URI"/>
844<t>
845   This specification adopts the definitions of "URI-reference",
846   "absolute-URI", "relative-part", "port", "host",
847   "path-abempty", "path-absolute", "query", and "authority" from the
848   URI generic syntax <xref target="RFC3986"/>.
849   In addition, we define a partial-URI rule for protocol elements
850   that allow a relative URI but not a fragment.
851</t>
852<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="URI-reference"/><iref primary="true" item="Grammar" subitem="absolute-URI"/><iref primary="true" item="Grammar" subitem="authority"/><iref primary="true" item="Grammar" subitem="path-absolute"/><iref primary="true" item="Grammar" subitem="port"/><iref primary="true" item="Grammar" subitem="query"/><iref primary="true" item="Grammar" subitem="uri-host"/>
853  <x:ref>URI-reference</x:ref> = &lt;URI-reference, defined in <xref target="RFC3986" x:fmt="," x:sec="4.1"/>&gt;
854  <x:ref>absolute-URI</x:ref>  = &lt;absolute-URI, defined in <xref target="RFC3986" x:fmt="," x:sec="4.3"/>&gt;
855  <x:ref>relative-part</x:ref> = &lt;relative-part, defined in <xref target="RFC3986" x:fmt="," x:sec="4.2"/>&gt;
856  <x:ref>authority</x:ref>     = &lt;authority, defined in <xref target="RFC3986" x:fmt="," x:sec="3.2"/>&gt;
857  <x:ref>path-abempty</x:ref>  = &lt;path-abempty, defined in <xref target="RFC3986" x:fmt="," x:sec="3.3"/>&gt;
858  <x:ref>path-absolute</x:ref> = &lt;path-absolute, defined in <xref target="RFC3986" x:fmt="," x:sec="3.3"/>&gt;
859  <x:ref>port</x:ref>          = &lt;port, defined in <xref target="RFC3986" x:fmt="," x:sec="3.2.3"/>&gt;
860  <x:ref>query</x:ref>         = &lt;query, defined in <xref target="RFC3986" x:fmt="," x:sec="3.4"/>&gt;
861  <x:ref>uri-host</x:ref>      = &lt;host, defined in <xref target="RFC3986" x:fmt="," x:sec="3.2.2"/>&gt;
862 
863  <x:ref>partial-URI</x:ref>   = relative-part [ "?" query ]
864</artwork></figure>
865<t>
866   Each protocol element in HTTP that allows a URI reference will indicate
867   in its ABNF production whether the element allows any form of reference
868   (URI-reference), only a URI in absolute form (absolute-URI), only the
869   path and optional query components, or some combination of the above.
870   Unless otherwise indicated, URI references are parsed relative to the
871   effective request URI, which defines the default base URI for references
872   in both the request and its corresponding response.
873</t>
874
875<section title="http URI scheme" anchor="http.uri">
876  <x:anchor-alias value="http-URI"/>
877  <iref item="http URI scheme" primary="true"/>
878  <iref item="URI scheme" subitem="http" primary="true"/>
879<t>
880   The "http" URI scheme is hereby defined for the purpose of minting
881   identifiers according to their association with the hierarchical
882   namespace governed by a potential HTTP origin server listening for
883   TCP connections on a given port.
884</t>
885<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="http-URI"/>
886  <x:ref>http-URI</x:ref> = "http:" "//" <x:ref>authority</x:ref> <x:ref>path-abempty</x:ref> [ "?" <x:ref>query</x:ref> ]
887</artwork></figure>
888<t>
889   The HTTP origin server is identified by the generic syntax's
890   <x:ref>authority</x:ref> component, which includes a host identifier
891   and optional TCP port (<xref target="RFC3986" x:fmt="," x:sec="3.2.2"/>).
892   The remainder of the URI, consisting of both the hierarchical path
893   component and optional query component, serves as an identifier for
894   a potential resource within that origin server's name space.
895</t>
896<t>
897   If the host identifier is provided as an IP literal or IPv4 address,
898   then the origin server is any listener on the indicated TCP port at
899   that IP address. If host is a registered name, then that name is
900   considered an indirect identifier and the recipient might use a name
901   resolution service, such as DNS, to find the address of a listener
902   for that host.
903   The host &MUST-NOT; be empty; if an "http" URI is received with an
904   empty host, then it &MUST; be rejected as invalid.
905   If the port subcomponent is empty or not given, then TCP port 80 is
906   assumed (the default reserved port for WWW services).
907</t>
908<t>
909   Regardless of the form of host identifier, access to that host is not
910   implied by the mere presence of its name or address. The host might or might
911   not exist and, even when it does exist, might or might not be running an
912   HTTP server or listening to the indicated port. The "http" URI scheme
913   makes use of the delegated nature of Internet names and addresses to
914   establish a naming authority (whatever entity has the ability to place
915   an HTTP server at that Internet name or address) and allows that
916   authority to determine which names are valid and how they might be used.
917</t>
918<t>
919   When an "http" URI is used within a context that calls for access to the
920   indicated resource, a client &MAY; attempt access by resolving
921   the host to an IP address, establishing a TCP connection to that address
922   on the indicated port, and sending an HTTP request message
923   (<xref target="http.message"/>) containing the URI's identifying data
924   (<xref target="message.routing"/>) to the server.
925   If the server responds to that request with a non-interim HTTP response
926   message, as described in &status-code-reasonphr;, then that response
927   is considered an authoritative answer to the client's request.
928</t>
929<t>
930   Although HTTP is independent of the transport protocol, the "http"
931   scheme is specific to TCP-based services because the name delegation
932   process depends on TCP for establishing authority.
933   An HTTP service based on some other underlying connection protocol
934   would presumably be identified using a different URI scheme, just as
935   the "https" scheme (below) is used for servers that require an SSL/TLS
936   transport layer on a connection. Other protocols might also be used to
937   provide access to "http" identified resources &mdash; it is only the
938   authoritative interface used for mapping the namespace that is
939   specific to TCP.
940</t>
941<t>
942   The URI generic syntax for authority also includes a deprecated
943   userinfo subcomponent (<xref target="RFC3986" x:fmt="," x:sec="3.2.1"/>)
944   for including user authentication information in the URI.  Some
945   implementations make use of the userinfo component for internal
946   configuration of authentication information, such as within command
947   invocation options, configuration files, or bookmark lists, even
948   though such usage might expose a user identifier or password.
949   Senders &MUST-NOT; include a userinfo subcomponent (and its "@"
950   delimiter) when transmitting an "http" URI in a message.  Recipients
951   of HTTP messages that contain a URI reference &SHOULD; parse for the
952   existence of userinfo and treat its presence as an error, likely
953   indicating that the deprecated subcomponent is being used to obscure
954   the authority for the sake of phishing attacks.
955</t>
956</section>
957
958<section title="https URI scheme" anchor="https.uri">
959   <x:anchor-alias value="https-URI"/>
960   <iref item="https URI scheme"/>
961   <iref item="URI scheme" subitem="https"/>
962<t>
963   The "https" URI scheme is hereby defined for the purpose of minting
964   identifiers according to their association with the hierarchical
965   namespace governed by a potential HTTP origin server listening for
966   SSL/TLS-secured connections on a given TCP port.
967</t>
968<t>
969   All of the requirements listed above for the "http" scheme are also
970   requirements for the "https" scheme, except that a default TCP port
971   of 443 is assumed if the port subcomponent is empty or not given,
972   and the TCP connection &MUST; be secured for privacy through the
973   use of strong encryption prior to sending the first HTTP request.
974</t>
975<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="https-URI"/>
976  <x:ref>https-URI</x:ref> = "https:" "//" <x:ref>authority</x:ref> <x:ref>path-abempty</x:ref> [ "?" <x:ref>query</x:ref> ]
977</artwork></figure>
978<t>
979   Unlike the "http" scheme, responses to "https" identified requests
980   are never "public" and thus &MUST-NOT; be reused for shared caching.
981   They can, however, be reused in a private cache if the message is
982   cacheable by default in HTTP or specifically indicated as such by
983   the Cache-Control header field (&header-cache-control;).
984</t>
985<t>
986   Resources made available via the "https" scheme have no shared
987   identity with the "http" scheme even if their resource identifiers
988   indicate the same authority (the same host listening to the same
989   TCP port).  They are distinct name spaces and are considered to be
990   distinct origin servers.  However, an extension to HTTP that is
991   defined to apply to entire host domains, such as the Cookie protocol
992   <xref target="RFC6265"/>, can allow information
993   set by one service to impact communication with other services
994   within a matching group of host domains.
995</t>
996<t>
997   The process for authoritative access to an "https" identified
998   resource is defined in <xref target="RFC2818"/>.
999</t>
1000</section>
1001
1002<section title="http and https URI Normalization and Comparison" anchor="uri.comparison">
1003<t>
1004   Since the "http" and "https" schemes conform to the URI generic syntax,
1005   such URIs are normalized and compared according to the algorithm defined
1006   in <xref target="RFC3986" x:fmt="," x:sec="6"/>, using the defaults
1007   described above for each scheme.
1008</t>
1009<t>
1010   If the port is equal to the default port for a scheme, the normal
1011   form is to elide the port subcomponent. Likewise, an empty path
1012   component is equivalent to an absolute path of "/", so the normal
1013   form is to provide a path of "/" instead. The scheme and host
1014   are case-insensitive and normally provided in lowercase; all
1015   other components are compared in a case-sensitive manner.
1016   Characters other than those in the "reserved" set are equivalent
1017   to their percent-encoded octets (see <xref target="RFC3986"
1018   x:fmt="," x:sec="2.1"/>): the normal form is to not encode them.
1019</t>
1020<t>
1021   For example, the following three URIs are equivalent:
1022</t>
1023<figure><artwork type="example">
1024   http://example.com:80/~smith/home.html
1025   http://EXAMPLE.com/%7Esmith/home.html
1026   http://EXAMPLE.com:/%7esmith/home.html
1027</artwork></figure>
1028</section>
1029</section>
1030</section>
1031
1032<section title="Message Format" anchor="http.message">
1033<x:anchor-alias value="generic-message"/>
1034<x:anchor-alias value="message.types"/>
1035<x:anchor-alias value="HTTP-message"/>
1036<x:anchor-alias value="start-line"/>
1037<iref item="header section"/>
1038<iref item="headers"/>
1039<iref item="header field"/>
1040<t>
1041   All HTTP/1.1 messages consist of a start-line followed by a sequence of
1042   octets in a format similar to the Internet Message Format
1043   <xref target="RFC5322"/>: zero or more header fields (collectively
1044   referred to as the "headers" or the "header section"), an empty line
1045   indicating the end of the header section, and an optional message body.
1046</t>
1047<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="HTTP-message"/>
1048  <x:ref>HTTP-message</x:ref>   = <x:ref>start-line</x:ref>
1049                   *( <x:ref>header-field</x:ref> <x:ref>CRLF</x:ref> )
1050                   <x:ref>CRLF</x:ref>
1051                   [ <x:ref>message-body</x:ref> ]
1052</artwork></figure>
1053<t>
1054   The normal procedure for parsing an HTTP message is to read the
1055   start-line into a structure, read each header field into a hash
1056   table by field name until the empty line, and then use the parsed
1057   data to determine if a message body is expected.  If a message body
1058   has been indicated, then it is read as a stream until an amount
1059   of octets equal to the message body length is read or the connection
1060   is closed.
1061</t>
1062<t>
1063   Recipients &MUST; parse an HTTP message as a sequence of octets in an
1064   encoding that is a superset of US-ASCII <xref target="USASCII"/>.
1065   Parsing an HTTP message as a stream of Unicode characters, without regard
1066   for the specific encoding, creates security vulnerabilities due to the
1067   varying ways that string processing libraries handle invalid multibyte
1068   character sequences that contain the octet LF (%x0A).  String-based
1069   parsers can only be safely used within protocol elements after the element
1070   has been extracted from the message, such as within a header field-value
1071   after message parsing has delineated the individual fields.
1072</t>
1073<t>
1074   An HTTP message can be parsed as a stream for incremental processing or
1075   forwarding downstream.  However, recipients cannot rely on incremental
1076   delivery of partial messages, since some implementations will buffer or
1077   delay message forwarding for the sake of network efficiency, security
1078   checks, or payload transformations.
1079</t>
1080
1081<section title="Start Line" anchor="start.line">
1082  <x:anchor-alias value="Start-Line"/>
1083<t>
1084   An HTTP message can either be a request from client to server or a
1085   response from server to client.  Syntactically, the two types of message
1086   differ only in the start-line, which is either a request-line (for requests)
1087   or a status-line (for responses), and in the algorithm for determining
1088   the length of the message body (<xref target="message.body"/>).
1089   In theory, a client could receive requests and a server could receive
1090   responses, distinguishing them by their different start-line formats,
1091   but in practice servers are implemented to only expect a request
1092   (a response is interpreted as an unknown or invalid request method)
1093   and clients are implemented to only expect a response.
1094</t>
1095<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="start-line"/>
1096  <x:ref>start-line</x:ref>     = <x:ref>request-line</x:ref> / <x:ref>status-line</x:ref>
1097</artwork></figure>
1098<t>
1099</t>
1100<t>
1101   Implementations &MUST-NOT; send whitespace between the start-line and
1102   the first header field. The presence of such whitespace in a request
1103   might be an attempt to trick a server into ignoring that field or
1104   processing the line after it as a new request, either of which might
1105   result in a security vulnerability if other implementations within
1106   the request chain interpret the same message differently.
1107   Likewise, the presence of such whitespace in a response might be
1108   ignored by some clients or cause others to cease parsing.
1109</t>
1110
1111<section title="Request Line" anchor="request.line">
1112  <x:anchor-alias value="Request"/>
1113  <x:anchor-alias value="request-line"/>
1114<t>
1115   A request-line begins with a method token, followed by a single
1116   space (SP), the request-target, another single space (SP), the
1117   protocol version, and ending with CRLF.
1118</t>
1119<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="request-line"/>
1120  <x:ref>request-line</x:ref>   = <x:ref>method</x:ref> <x:ref>SP</x:ref> <x:ref>request-target</x:ref> <x:ref>SP</x:ref> <x:ref>HTTP-version</x:ref> <x:ref>CRLF</x:ref>
1121</artwork></figure>
1122<iref primary="true" item="method"/>
1123<t anchor="method">
1124   The method token indicates the request method to be performed on the
1125   target resource. The request method is case-sensitive.
1126</t>
1127<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="method"/>
1128  <x:ref>method</x:ref>         = <x:ref>token</x:ref>
1129</artwork></figure>
1130<t>
1131   The methods defined by this specification can be found in
1132   &method;, along with information regarding the HTTP method registry
1133   and considerations for defining new methods.
1134</t>
1135<iref item="request-target"/>
1136<t>
1137   The request-target identifies the target resource upon which to apply
1138   the request, as defined in <xref target="request-target"/>.
1139</t>
1140<t>
1141   No whitespace is allowed inside the method, request-target, and
1142   protocol version.  Hence, recipients typically parse the request-line
1143   into its component parts by splitting on the SP characters.
1144</t>
1145<t>
1146   Unfortunately, some user agents fail to properly encode hypertext
1147   references that have embedded whitespace, sending the characters
1148   directly instead of properly percent-encoding the disallowed characters.
1149   Recipients of an invalid request-line &SHOULD; respond with either a
1150   400 (Bad Request) error or a 301 (Moved Permanently) redirect with the
1151   request-target properly encoded.  Recipients &SHOULD-NOT; attempt to
1152   autocorrect and then process the request without a redirect, since the
1153   invalid request-line might be deliberately crafted to bypass
1154   security filters along the request chain.
1155</t>
1156<t>
1157   HTTP does not place a pre-defined limit on the length of a request-line.
1158   A server that receives a method longer than any that it implements
1159   &SHOULD; respond with either a 404 (Not Allowed), if it is an origin
1160   server, or a 501 (Not Implemented) status code.
1161   A server &MUST; be prepared to receive URIs of unbounded length and
1162   respond with the 414 (URI Too Long) status code if the received
1163   request-target would be longer than the server wishes to handle
1164   (see &status-414;).
1165</t>
1166<t>
1167   Various ad-hoc limitations on request-line length are found in practice.
1168   It is &RECOMMENDED; that all HTTP senders and recipients support, at a
1169   minimum, request-line lengths of up to 8000 octets.
1170</t>
1171</section>
1172
1173<section title="Status Line" anchor="status.line">
1174  <x:anchor-alias value="response"/>
1175  <x:anchor-alias value="status-line"/>
1176<t>
1177   The first line of a response message is the status-line, consisting
1178   of the protocol version, a space (SP), the status code, another space,
1179   a possibly-empty textual phrase describing the status code, and
1180   ending with CRLF.
1181</t>
1182<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="status-line"/>
1183  <x:ref>status-line</x:ref> = <x:ref>HTTP-version</x:ref> <x:ref>SP</x:ref> <x:ref>status-code</x:ref> <x:ref>SP</x:ref> <x:ref>reason-phrase</x:ref> <x:ref>CRLF</x:ref>
1184</artwork></figure>
1185
1186<t anchor="status-code">
1187   The status-code element is a 3-digit integer result code of the attempt to
1188   understand and satisfy the request. See &status-code-reasonphr; for
1189   further information, such as the list of status codes defined by this
1190   specification, the IANA registry, and considerations for new status codes.
1191</t>
1192<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="status-code"/>
1193  <x:ref>status-code</x:ref>    = 3<x:ref>DIGIT</x:ref>
1194</artwork></figure>
1195
1196<t anchor="reason-phrase">   
1197   The reason-phrase element exists for the sole purpose of providing a
1198   textual description associated with the numeric status code, mostly
1199   out of deference to earlier Internet application protocols that were more
1200   frequently used with interactive text clients. A client &SHOULD; ignore
1201   the reason-phrase content.
1202</t>
1203<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="reason-phrase"/>
1204  <x:ref>reason-phrase</x:ref>  = *( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
1205</artwork></figure>
1206</section>
1207</section>
1208
1209<section title="Header Fields" anchor="header.fields">
1210  <x:anchor-alias value="header-field"/>
1211  <x:anchor-alias value="field-content"/>
1212  <x:anchor-alias value="field-name"/>
1213  <x:anchor-alias value="field-value"/>
1214  <x:anchor-alias value="obs-fold"/>
1215<t>
1216   Each HTTP header field consists of a case-insensitive field name
1217   followed by a colon (":"), optional whitespace, and the field value.
1218</t>
1219<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="header-field"/><iref primary="true" item="Grammar" subitem="field-name"/><iref primary="true" item="Grammar" subitem="field-value"/><iref primary="true" item="Grammar" subitem="field-content"/><iref primary="true" item="Grammar" subitem="obs-fold"/>
1220  <x:ref>header-field</x:ref>   = <x:ref>field-name</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>field-value</x:ref> <x:ref>BWS</x:ref>
1221  <x:ref>field-name</x:ref>     = <x:ref>token</x:ref>
1222  <x:ref>field-value</x:ref>    = *( <x:ref>field-content</x:ref> / <x:ref>obs-fold</x:ref> )
1223  <x:ref>field-content</x:ref>  = *( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
1224  <x:ref>obs-fold</x:ref>       = <x:ref>CRLF</x:ref> ( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> )
1225                 ; obsolete line folding
1226                 ; see <xref target="field.parsing"/>
1227</artwork></figure>
1228<t>
1229   The field-name token labels the corresponding field-value as having the
1230   semantics defined by that header field.  For example, the Date header field
1231   is defined in &header-date; as containing the origination
1232   timestamp for the message in which it appears.
1233</t>
1234<t>
1235   HTTP header fields are fully extensible: there is no limit on the
1236   introduction of new field names, each presumably defining new semantics,
1237   or on the number of header fields used in a given message.  Existing
1238   fields are defined in each part of this specification and in many other
1239   specifications outside the standards process.
1240   New header fields can be introduced without changing the protocol version
1241   if their defined semantics allow them to be safely ignored by recipients
1242   that do not recognize them.
1243</t>
1244<t>
1245   New HTTP header fields &SHOULD; be registered with IANA according
1246   to the procedures in &cons-new-header-fields;.
1247   Unrecognized header fields &MUST; be forwarded by a proxy unless the
1248   field-name is listed in the Connection header field
1249   (<xref target="header.connection"/>) or the proxy is specifically
1250   configured to block or otherwise transform such fields.
1251   Unrecognized header fields &SHOULD; be ignored by other recipients.
1252</t>
1253<t>
1254   The order in which header fields with differing field names are
1255   received is not significant. However, it is "good practice" to send
1256   header fields that contain control data first, such as Host on
1257   requests and Date on responses, so that implementations can decide
1258   when not to handle a message as early as possible.  A server &MUST;
1259   wait until the entire header section is received before interpreting
1260   a request message, since later header fields might include conditionals,
1261   authentication credentials, or deliberately misleading duplicate
1262   header fields that would impact request processing.
1263</t>
1264<t>
1265   Multiple header fields with the same field name &MUST-NOT; be
1266   sent in a message unless the entire field value for that
1267   header field is defined as a comma-separated list [i.e., #(values)].
1268   Multiple header fields with the same field name can be combined into
1269   one "field-name: field-value" pair, without changing the semantics of the
1270   message, by appending each subsequent field value to the combined
1271   field value in order, separated by a comma. The order in which
1272   header fields with the same field name are received is therefore
1273   significant to the interpretation of the combined field value;
1274   a proxy &MUST-NOT; change the order of these field values when
1275   forwarding a message.
1276</t>
1277<x:note>
1278  <t>
1279   <x:h>Note:</x:h> The "Set-Cookie" header field as implemented in
1280   practice can occur multiple times, but does not use the list syntax, and
1281   thus cannot be combined into a single line (<xref target="RFC6265"/>). (See Appendix A.2.3 of <xref target="Kri2001"/>
1282   for details.) Also note that the Set-Cookie2 header field specified in
1283   <xref target="RFC2965"/> does not share this problem.
1284  </t>
1285</x:note>
1286
1287<section title="Whitespace" anchor="whitespace">
1288<t anchor="rule.LWS">
1289   This specification uses three rules to denote the use of linear
1290   whitespace: OWS (optional whitespace), RWS (required whitespace), and
1291   BWS ("bad" whitespace).
1292</t>
1293<t anchor="rule.OWS">
1294   The OWS rule is used where zero or more linear whitespace octets might
1295   appear. OWS &SHOULD; either not be produced or be produced as a single
1296   SP. Multiple OWS octets that occur within field-content &SHOULD; either
1297   be replaced with a single SP or transformed to all SP octets (each
1298   octet other than SP replaced with SP) before interpreting the field value
1299   or forwarding the message downstream.
1300</t>
1301<t anchor="rule.RWS">
1302   RWS is used when at least one linear whitespace octet is required to
1303   separate field tokens. RWS &SHOULD; be produced as a single SP.
1304   Multiple RWS octets that occur within field-content &SHOULD; either
1305   be replaced with a single SP or transformed to all SP octets before
1306   interpreting the field value or forwarding the message downstream.
1307</t>
1308<t anchor="rule.BWS">
1309   BWS is used where the grammar allows optional whitespace for historical
1310   reasons but senders &SHOULD-NOT; produce it in messages. HTTP/1.1
1311   recipients &MUST; accept such bad optional whitespace and remove it before
1312   interpreting the field value or forwarding the message downstream.
1313</t>
1314<t anchor="rule.whitespace">
1315  <x:anchor-alias value="BWS"/>
1316  <x:anchor-alias value="OWS"/>
1317  <x:anchor-alias value="RWS"/>
1318</t>
1319<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="OWS"/><iref primary="true" item="Grammar" subitem="RWS"/><iref primary="true" item="Grammar" subitem="BWS"/>
1320  <x:ref>OWS</x:ref>            = *( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> )
1321                 ; "optional" whitespace
1322  <x:ref>RWS</x:ref>            = 1*( <x:ref>SP</x:ref> / <x:ref>HTAB</x:ref> )
1323                 ; "required" whitespace
1324  <x:ref>BWS</x:ref>            = <x:ref>OWS</x:ref>
1325                 ; "bad" whitespace
1326</artwork></figure>
1327</section>
1328
1329<section title="Field Parsing" anchor="field.parsing">
1330<t>
1331   No whitespace is allowed between the header field-name and colon.
1332   In the past, differences in the handling of such whitespace have led to
1333   security vulnerabilities in request routing and response handling.
1334   Any received request message that contains whitespace between a header
1335   field-name and colon &MUST; be rejected with a response code of 400
1336   (Bad Request).  A proxy &MUST; remove any such whitespace from a response
1337   message before forwarding the message downstream.
1338</t>
1339<t>
1340   A field value &MAY; be preceded by optional whitespace (OWS); a single SP is
1341   preferred. The field value does not include any leading or trailing white
1342   space: OWS occurring before the first non-whitespace octet of the
1343   field value or after the last non-whitespace octet of the field value
1344   is ignored and &SHOULD; be removed before further processing (as this does
1345   not change the meaning of the header field).
1346</t>
1347<t>
1348   Historically, HTTP header field values could be extended over multiple
1349   lines by preceding each extra line with at least one space or horizontal
1350   tab (obs-fold). This specification deprecates such line
1351   folding except within the message/http media type
1352   (<xref target="internet.media.type.message.http"/>).
1353   HTTP senders &MUST-NOT; produce messages that include line folding
1354   (i.e., that contain any field-value that matches the obs-fold rule) unless
1355   the message is intended for packaging within the message/http media type.
1356   HTTP recipients &SHOULD; accept line folding and replace any embedded
1357   obs-fold whitespace with either a single SP or a matching number of SP
1358   octets (to avoid buffer copying) prior to interpreting the field value or
1359   forwarding the message downstream.
1360</t>
1361<t>
1362   Historically, HTTP has allowed field content with text in the ISO-8859-1
1363   <xref target="ISO-8859-1"/> character encoding and supported other
1364   character sets only through use of <xref target="RFC2047"/> encoding.
1365   In practice, most HTTP header field values use only a subset of the
1366   US-ASCII character encoding <xref target="USASCII"/>. Newly defined
1367   header fields &SHOULD; limit their field values to US-ASCII octets.
1368   Recipients &SHOULD; treat other (obs-text) octets in field content as
1369   opaque data.
1370</t>
1371</section>
1372
1373<section title="Field Length" anchor="field.length">
1374<t>
1375   HTTP does not place a pre-defined limit on the length of header fields,
1376   either in isolation or as a set. A server &MUST; be prepared to receive
1377   request header fields of unbounded length and respond with a 4xx status
1378   code if the received header field(s) would be longer than the server wishes
1379   to handle.
1380</t>
1381<t>
1382   A client that receives response headers that are longer than it wishes to
1383   handle can only treat it as a server error.
1384</t>
1385<t>
1386   Various ad-hoc limitations on header length are found in practice. It is
1387   &RECOMMENDED; that all HTTP senders and recipients support messages whose
1388   combined header fields have 4000 or more octets.
1389</t>
1390</section>
1391
1392<section title="Field value components" anchor="field.components">
1393<t anchor="rule.token.separators">
1394  <x:anchor-alias value="tchar"/>
1395  <x:anchor-alias value="token"/>
1396  <x:anchor-alias value="special"/>
1397  <x:anchor-alias value="word"/>
1398   Many HTTP/1.1 header field values consist of words (token or quoted-string)
1399   separated by whitespace or special characters. These special characters
1400   &MUST; be in a quoted string to be used within a parameter value (as defined
1401   in <xref target="transfer.codings"/>).
1402</t>
1403<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="word"/><iref primary="true" item="Grammar" subitem="token"/><iref primary="true" item="Grammar" subitem="tchar"/><iref primary="true" item="Grammar" subitem="special"/>
1404  <x:ref>word</x:ref>           = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref>
1405
1406  <x:ref>token</x:ref>          = 1*<x:ref>tchar</x:ref>
1407<!--
1408  IMPORTANT: when editing "tchar" make sure that "special" is updated accordingly!!!
1409 -->
1410  <x:ref>tchar</x:ref>          = "!" / "#" / "$" / "%" / "&amp;" / "'" / "*"
1411                 / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
1412                 / <x:ref>DIGIT</x:ref> / <x:ref>ALPHA</x:ref>
1413                 ; any <x:ref>VCHAR</x:ref>, except <x:ref>special</x:ref>
1414
1415  <x:ref>special</x:ref>        = "(" / ")" / "&lt;" / ">" / "@" / ","
1416                 / ";" / ":" / "\" / DQUOTE / "/" / "["
1417                 / "]" / "?" / "=" / "{" / "}"
1418</artwork></figure>
1419<t anchor="rule.quoted-string">
1420  <x:anchor-alias value="quoted-string"/>
1421  <x:anchor-alias value="qdtext"/>
1422  <x:anchor-alias value="obs-text"/>
1423   A string of text is parsed as a single word if it is quoted using
1424   double-quote marks.
1425</t>
1426<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="quoted-string"/><iref primary="true" item="Grammar" subitem="qdtext"/><iref primary="true" item="Grammar" subitem="obs-text"/>
1427  <x:ref>quoted-string</x:ref>  = <x:ref>DQUOTE</x:ref> *( <x:ref>qdtext</x:ref> / <x:ref>quoted-pair</x:ref> ) <x:ref>DQUOTE</x:ref>
1428  <x:ref>qdtext</x:ref>         = <x:ref>OWS</x:ref> / %x21 / %x23-5B / %x5D-7E / <x:ref>obs-text</x:ref>
1429  <x:ref>obs-text</x:ref>       = %x80-FF
1430</artwork></figure>
1431<t anchor="rule.quoted-pair">
1432  <x:anchor-alias value="quoted-pair"/>
1433   The backslash octet ("\") can be used as a single-octet
1434   quoting mechanism within quoted-string constructs:
1435</t>
1436<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="quoted-pair"/>
1437  <x:ref>quoted-pair</x:ref>    = "\" ( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
1438</artwork></figure>
1439<t>
1440   Recipients that process the value of the quoted-string &MUST; handle a
1441   quoted-pair as if it were replaced by the octet following the backslash.
1442</t>
1443<t>
1444   Senders &SHOULD-NOT; escape octets in quoted-strings that do not require
1445   escaping (i.e., other than DQUOTE and the backslash octet).
1446</t>
1447<t anchor="rule.comment">
1448  <x:anchor-alias value="comment"/>
1449  <x:anchor-alias value="ctext"/>
1450   Comments can be included in some HTTP header fields by surrounding
1451   the comment text with parentheses. Comments are only allowed in
1452   fields containing "comment" as part of their field value definition.
1453</t>
1454<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="comment"/><iref primary="true" item="Grammar" subitem="ctext"/>
1455  <x:ref>comment</x:ref>        = "(" *( <x:ref>ctext</x:ref> / <x:ref>quoted-cpair</x:ref> / <x:ref>comment</x:ref> ) ")"
1456  <x:ref>ctext</x:ref>          = <x:ref>OWS</x:ref> / %x21-27 / %x2A-5B / %x5D-7E / <x:ref>obs-text</x:ref>
1457</artwork></figure>
1458<t anchor="rule.quoted-cpair">
1459  <x:anchor-alias value="quoted-cpair"/>
1460   The backslash octet ("\") can be used as a single-octet
1461   quoting mechanism within comment constructs:
1462</t>
1463<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="quoted-cpair"/>
1464  <x:ref>quoted-cpair</x:ref>   = "\" ( <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / <x:ref>VCHAR</x:ref> / <x:ref>obs-text</x:ref> )
1465</artwork></figure>
1466<t>
1467   Senders &SHOULD-NOT; escape octets in comments that do not require escaping
1468   (i.e., other than the backslash octet "\" and the parentheses "(" and ")").
1469</t>
1470</section>
1471
1472<section title="ABNF list extension: #rule" anchor="abnf.extension">
1473<t>
1474  A #rule extension to the ABNF rules of <xref target="RFC5234"/> is used to
1475  improve readability in the definitions of some header field values.
1476</t>
1477<t>
1478  A construct "#" is defined, similar to "*", for defining comma-delimited
1479  lists of elements. The full form is "&lt;n&gt;#&lt;m&gt;element" indicating
1480  at least &lt;n&gt; and at most &lt;m&gt; elements, each separated by a single
1481  comma (",") and optional whitespace (OWS).   
1482</t>
1483<figure><preamble>
1484  Thus,
1485</preamble><artwork type="example">
1486  1#element =&gt; element *( OWS "," OWS element )
1487</artwork></figure>
1488<figure><preamble>
1489  and:
1490</preamble><artwork type="example">
1491  #element =&gt; [ 1#element ]
1492</artwork></figure>
1493<figure><preamble>
1494  and for n &gt;= 1 and m &gt; 1:
1495</preamble><artwork type="example">
1496  &lt;n&gt;#&lt;m&gt;element =&gt; element &lt;n-1&gt;*&lt;m-1&gt;( OWS "," OWS element )
1497</artwork></figure>
1498<t>
1499  For compatibility with legacy list rules, recipients &SHOULD; accept empty
1500  list elements. In other words, consumers would follow the list productions:
1501</t>
1502<figure><artwork type="example">
1503  #element =&gt; [ ( "," / element ) *( OWS "," [ OWS element ] ) ]
1504 
1505  1#element =&gt; *( "," OWS ) element *( OWS "," [ OWS element ] )
1506</artwork></figure>
1507<t>
1508  Note that empty elements do not contribute to the count of elements present,
1509  though.
1510</t>
1511<t>
1512  For example, given these ABNF productions:
1513</t>
1514<figure><artwork type="example">
1515  example-list      = 1#example-list-elmt
1516  example-list-elmt = token ; see <xref target="field.components"/> 
1517</artwork></figure>
1518<t>
1519  Then these are valid values for example-list (not including the double
1520  quotes, which are present for delimitation only):
1521</t>
1522<figure><artwork type="example">
1523  "foo,bar"
1524  "foo ,bar,"
1525  "foo , ,bar,charlie   "
1526</artwork></figure>
1527<t>
1528  But these values would be invalid, as at least one non-empty element is
1529  required:
1530</t>
1531<figure><artwork type="example">
1532  ""
1533  ","
1534  ",   ,"
1535</artwork></figure>
1536<t>
1537  <xref target="collected.abnf"/> shows the collected ABNF, with the list rules
1538  expanded as explained above.
1539</t>
1540</section>
1541</section>
1542
1543<section title="Message Body" anchor="message.body">
1544  <x:anchor-alias value="message-body"/>
1545<t>
1546   The message body (if any) of an HTTP message is used to carry the
1547   payload body of that request or response.  The message body is
1548   identical to the payload body unless a transfer coding has been
1549   applied, as described in <xref target="header.transfer-encoding"/>.
1550</t>
1551<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="message-body"/>
1552  <x:ref>message-body</x:ref> = *OCTET
1553</artwork></figure>
1554<t>
1555   The rules for when a message body is allowed in a message differ for
1556   requests and responses.
1557</t>
1558<t>
1559   The presence of a message body in a request is signaled by a
1560   a Content-Length or Transfer-Encoding header field.
1561   Request message framing is independent of method semantics,
1562   even if the method does not define any use for a message body.
1563</t>
1564<t>
1565   The presence of a message body in a response depends on both
1566   the request method to which it is responding and the response
1567   status code (<xref target="status-code"/>).
1568   Responses to the HEAD request method never include a message body
1569   because the associated response header fields (e.g., Transfer-Encoding,
1570   Content-Length, etc.) only indicate what their values would have been
1571   if the request method had been GET.
1572   Successful (2xx) responses to CONNECT switch to tunnel mode instead of
1573   having a message body.
1574   All 1xx (Informational), 204 (No Content), and 304 (Not Modified)
1575   responses &MUST-NOT; include a message body.
1576   All other responses do include a message body, although the body
1577   &MAY; be of zero length.
1578</t>
1579
1580<section title="Transfer-Encoding" anchor="header.transfer-encoding">
1581  <iref primary="true" item="Transfer-Encoding header field" x:for-anchor=""/>
1582  <iref primary="true" item="Header Fields" subitem="Transfer-Encoding" x:for-anchor=""/>
1583  <x:anchor-alias value="Transfer-Encoding"/>
1584<t>
1585   When one or more transfer codings are applied to a payload body in order
1586   to form the message body, a Transfer-Encoding header field &MUST; be sent
1587   in the message and &MUST; contain the list of corresponding
1588   transfer-coding names in the same order that they were applied.
1589   Transfer codings are defined in <xref target="transfer.codings"/>.
1590</t>
1591<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Transfer-Encoding"/>
1592  <x:ref>Transfer-Encoding</x:ref> = 1#<x:ref>transfer-coding</x:ref>
1593</artwork></figure>
1594<t>
1595   Transfer-Encoding is analogous to the Content-Transfer-Encoding field of
1596   MIME, which was designed to enable safe transport of binary data over a
1597   7-bit transport service (<xref target="RFC2045" x:fmt="," x:sec="6"/>).
1598   However, safe transport has a different focus for an 8bit-clean transfer
1599   protocol. In HTTP's case, Transfer-Encoding is primarily intended to
1600   accurately delimit a dynamically generated payload and to distinguish
1601   payload encodings that are only applied for transport efficiency or
1602   security from those that are characteristics of the target resource.
1603</t>
1604<t>
1605   The "chunked" transfer-coding (<xref target="chunked.encoding"/>)
1606   &MUST; be implemented by all HTTP/1.1 recipients because it plays a
1607   crucial role in delimiting messages when the payload body size is not
1608   known in advance.
1609   When the "chunked" transfer-coding is used, it &MUST; be the last
1610   transfer-coding applied to form the message body and &MUST-NOT;
1611   be applied more than once in a message body.
1612   If any transfer-coding is applied to a request payload body,
1613   the final transfer-coding applied &MUST; be "chunked".
1614   If any transfer-coding is applied to a response payload body, then either
1615   the final transfer-coding applied &MUST; be "chunked" or
1616   the message &MUST; be terminated by closing the connection.
1617</t>
1618<figure><preamble>
1619   For example,
1620</preamble><artwork type="example">
1621  Transfer-Encoding: gzip, chunked
1622</artwork><postamble>
1623   indicates that the payload body has been compressed using the gzip
1624   coding and then chunked using the chunked coding while forming the
1625   message body.
1626</postamble></figure>
1627<t>
1628   If more than one Transfer-Encoding header field is present in a message,
1629   the multiple field-values &MUST; be combined into one field-value,
1630   according to the algorithm defined in <xref target="header.fields"/>,
1631   before determining the message body length.
1632</t>
1633<t>
1634   Unlike Content-Encoding (&content-codings;), Transfer-Encoding is a
1635   property of the message, not of the payload, and thus &MAY; be added or
1636   removed by any implementation along the request/response chain.
1637   Additional information about the encoding parameters &MAY; be provided
1638   by other header fields not defined by this specification.
1639</t>
1640<t>
1641   Transfer-Encoding &MAY; be sent in a response to a HEAD request or in a
1642   304 response to a GET request, neither of which includes a message body,
1643   to indicate that the origin server would have applied a transfer coding
1644   to the message body if the request had been an unconditional GET.
1645   This indication is not required, however, because any recipient on
1646   the response chain (including the origin server) can remove transfer
1647   codings when they are not needed.
1648</t>
1649<t>
1650   Transfer-Encoding was added in HTTP/1.1.  It is generally assumed that
1651   implementations advertising only HTTP/1.0 support will not understand
1652   how to process a transfer-encoded payload.
1653   A client &MUST-NOT; send a request containing Transfer-Encoding unless it
1654   knows the server will handle HTTP/1.1 (or later) requests; such knowledge
1655   might be in the form of specific user configuration or by remembering the
1656   version of a prior received response.
1657   A server &MUST-NOT; send a response containing Transfer-Encoding unless
1658   the corresponding request indicates HTTP/1.1 (or later).
1659</t>
1660<t>
1661   A server that receives a request message with a transfer-coding it does
1662   not understand &SHOULD; respond with 501 (Not Implemented) and then
1663   close the connection.
1664</t>
1665</section>
1666
1667<section title="Content-Length" anchor="header.content-length">
1668  <iref primary="true" item="Content-Length header field" x:for-anchor=""/>
1669  <iref primary="true" item="Header Fields" subitem="Content-Length" x:for-anchor=""/>
1670  <x:anchor-alias value="Content-Length"/>
1671<t>
1672   When a message does not have a Transfer-Encoding header field and the
1673   payload body length can be determined prior to being transferred, a
1674   Content-Length header field &SHOULD; be sent to indicate the length of the
1675   payload body that is either present as the message body, for requests
1676   and non-HEAD responses other than 304, or would have been present had
1677   the request been an unconditional GET.  The length is expressed as a
1678   decimal number of octets.
1679</t>
1680<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Length"/>
1681  <x:ref>Content-Length</x:ref> = 1*<x:ref>DIGIT</x:ref>
1682</artwork></figure>
1683<t>
1684   An example is
1685</t>
1686<figure><artwork type="example">
1687  Content-Length: 3495
1688</artwork></figure>
1689<t>
1690   In the case of a response to a HEAD request, Content-Length indicates
1691   the size of the payload body (without any potential transfer-coding)
1692   that would have been sent had the request been a GET.
1693   In the case of a 304 (Not Modified) response to a GET request,
1694   Content-Length indicates the size of the payload body (without
1695   any potential transfer-coding) that would have been sent in a 200 (OK)
1696   response.
1697</t>
1698<t>
1699   HTTP's use of Content-Length is significantly different from how it is
1700   used in MIME, where it is an optional field used only within the
1701   "message/external-body" media-type.
1702</t>
1703<t>
1704   Any Content-Length field value greater than or equal to zero is valid.
1705   Since there is no predefined limit to the length of an HTTP payload,
1706   recipients &SHOULD; anticipate potentially large decimal numerals and
1707   prevent parsing errors due to integer conversion overflows
1708   (<xref target="attack.protocol.element.size.overflows"/>).
1709</t>
1710<t>
1711   If a message is received that has multiple Content-Length header fields
1712   (<xref target="header.content-length"/>) with field-values consisting
1713   of the same decimal value, or a single Content-Length header field with
1714   a field value containing a list of identical decimal values (e.g.,
1715   "Content-Length: 42, 42"), indicating that duplicate Content-Length
1716   header fields have been generated or combined by an upstream message
1717   processor, then the recipient &MUST; either reject the message as invalid
1718   or replace the duplicated field-values with a single valid Content-Length
1719   field containing that decimal value prior to determining the message body
1720   length.
1721</t>
1722</section>
1723
1724<section title="Message Body Length" anchor="message.body.length">
1725<t>
1726   The length of a message body is determined by one of the following
1727   (in order of precedence):
1728</t>
1729<t>
1730  <list style="numbers">
1731    <x:lt><t>
1732     Any response to a HEAD request and any response with a status
1733     code of 100-199, 204, or 304 is always terminated by the first
1734     empty line after the header fields, regardless of the header
1735     fields present in the message, and thus cannot contain a message body.
1736    </t></x:lt>
1737    <x:lt><t>
1738     Any successful (2xx) response to a CONNECT request implies that the
1739     connection will become a tunnel immediately after the empty line that
1740     concludes the header fields.  A client &MUST; ignore any Content-Length
1741     or Transfer-Encoding header fields received in such a message.
1742    </t></x:lt>
1743    <x:lt><t>
1744     If a Transfer-Encoding header field is present
1745     and the "chunked" transfer-coding (<xref target="chunked.encoding"/>)
1746     is the final encoding, the message body length is determined by reading
1747     and decoding the chunked data until the transfer-coding indicates the
1748     data is complete.
1749    </t>
1750    <t>
1751     If a Transfer-Encoding header field is present in a response and the
1752     "chunked" transfer-coding is not the final encoding, the message body
1753     length is determined by reading the connection until it is closed by
1754     the server.
1755     If a Transfer-Encoding header field is present in a request and the
1756     "chunked" transfer-coding is not the final encoding, the message body
1757     length cannot be determined reliably; the server &MUST; respond with
1758     the 400 (Bad Request) status code and then close the connection.
1759    </t>
1760    <t>
1761     If a message is received with both a Transfer-Encoding header field
1762     and a Content-Length header field, the Transfer-Encoding overrides
1763     the Content-Length.
1764     Such a message might indicate an attempt to perform request or response
1765     smuggling (bypass of security-related checks on message routing or content)
1766     and thus ought to be handled as an error.  The provided Content-Length &MUST;
1767     be removed, prior to forwarding the message downstream, or replaced with
1768     the real message body length after the transfer-coding is decoded.
1769    </t></x:lt>
1770    <x:lt><t>
1771     If a message is received without Transfer-Encoding and with either
1772     multiple Content-Length header fields having differing field-values or
1773     a single Content-Length header field having an invalid value, then the
1774     message framing is invalid and &MUST; be treated as an error to
1775     prevent request or response smuggling.
1776     If this is a request message, the server &MUST; respond with
1777     a 400 (Bad Request) status code and then close the connection.
1778     If this is a response message received by a proxy, the proxy
1779     &MUST; discard the received response, send a 502 (Bad Gateway)
1780     status code as its downstream response, and then close the connection.
1781     If this is a response message received by a user-agent, it &MUST; be
1782     treated as an error by discarding the message and closing the connection.
1783    </t></x:lt>
1784    <x:lt><t>
1785     If a valid Content-Length header field
1786     is present without Transfer-Encoding, its decimal value defines the
1787     message body length in octets.  If the actual number of octets sent in
1788     the message is less than the indicated Content-Length, the recipient
1789     &MUST; consider the message to be incomplete and treat the connection
1790     as no longer usable.
1791     If the actual number of octets sent in the message is more than the indicated
1792     Content-Length, the recipient &MUST; only process the message body up to the
1793     field value's number of octets; the remainder of the message &MUST; either
1794     be discarded or treated as the next message in a pipeline.  For the sake of
1795     robustness, a user-agent &MAY; attempt to detect and correct such an error
1796     in message framing if it is parsing the response to the last request on
1797     a connection and the connection has been closed by the server.
1798    </t></x:lt>
1799    <x:lt><t>
1800     If this is a request message and none of the above are true, then the
1801     message body length is zero (no message body is present).
1802    </t></x:lt>
1803    <x:lt><t>
1804     Otherwise, this is a response message without a declared message body
1805     length, so the message body length is determined by the number of octets
1806     received prior to the server closing the connection.
1807    </t></x:lt>
1808  </list>
1809</t>
1810<t>
1811   Since there is no way to distinguish a successfully completed,
1812   close-delimited message from a partially-received message interrupted
1813   by network failure, implementations &SHOULD; use encoding or
1814   length-delimited messages whenever possible.  The close-delimiting
1815   feature exists primarily for backwards compatibility with HTTP/1.0.
1816</t>
1817<t>
1818   A server &MAY; reject a request that contains a message body but
1819   not a Content-Length by responding with 411 (Length Required).
1820</t>
1821<t>
1822   Unless a transfer-coding other than "chunked" has been applied,
1823   a client that sends a request containing a message body &SHOULD;
1824   use a valid Content-Length header field if the message body length
1825   is known in advance, rather than the "chunked" encoding, since some
1826   existing services respond to "chunked" with a 411 (Length Required)
1827   status code even though they understand the chunked encoding.  This
1828   is typically because such services are implemented via a gateway that
1829   requires a content-length in advance of being called and the server
1830   is unable or unwilling to buffer the entire request before processing.
1831</t>
1832<t>
1833   A client that sends a request containing a message body &MUST; include a
1834   valid Content-Length header field if it does not know the server will
1835   handle HTTP/1.1 (or later) requests; such knowledge can be in the form
1836   of specific user configuration or by remembering the version of a prior
1837   received response.
1838</t>
1839</section>
1840</section>
1841
1842<section anchor="incomplete.messages" title="Handling Incomplete Messages">
1843<t>
1844   Request messages that are prematurely terminated, possibly due to a
1845   cancelled connection or a server-imposed time-out exception, &MUST;
1846   result in closure of the connection; sending an HTTP/1.1 error response
1847   prior to closing the connection is &OPTIONAL;.
1848</t>
1849<t>
1850   Response messages that are prematurely terminated, usually by closure
1851   of the connection prior to receiving the expected number of octets or by
1852   failure to decode a transfer-encoded message body, &MUST; be recorded
1853   as incomplete.  A response that terminates in the middle of the header
1854   block (before the empty line is received) cannot be assumed to convey the
1855   full semantics of the response and &MUST; be treated as an error.
1856</t>
1857<t>
1858   A message body that uses the chunked transfer encoding is
1859   incomplete if the zero-sized chunk that terminates the encoding has not
1860   been received.  A message that uses a valid Content-Length is incomplete
1861   if the size of the message body received (in octets) is less than the
1862   value given by Content-Length.  A response that has neither chunked
1863   transfer encoding nor Content-Length is terminated by closure of the
1864   connection, and thus is considered complete regardless of the number of
1865   message body octets received, provided that the header block was received
1866   intact.
1867</t>
1868<t>
1869   A user agent &MUST-NOT; render an incomplete response message body as if
1870   it were complete (i.e., some indication must be given to the user that an
1871   error occurred).  Cache requirements for incomplete responses are defined
1872   in &cache-incomplete;.
1873</t>
1874<t>
1875   A server &MUST; read the entire request message body or close
1876   the connection after sending its response, since otherwise the
1877   remaining data on a persistent connection would be misinterpreted
1878   as the next request.  Likewise,
1879   a client &MUST; read the entire response message body if it intends
1880   to reuse the same connection for a subsequent request.  Pipelining
1881   multiple requests on a connection is described in <xref target="pipelining"/>.
1882</t>
1883</section>
1884
1885<section title="Message Parsing Robustness" anchor="message.robustness">
1886<t>
1887   Older HTTP/1.0 client implementations might send an extra CRLF
1888   after a POST request as a lame workaround for some early server
1889   applications that failed to read message body content that was
1890   not terminated by a line-ending. An HTTP/1.1 client &MUST-NOT;
1891   preface or follow a request with an extra CRLF.  If terminating
1892   the request message body with a line-ending is desired, then the
1893   client &MUST; include the terminating CRLF octets as part of the
1894   message body length.
1895</t>
1896<t>
1897   In the interest of robustness, servers &SHOULD; ignore at least one
1898   empty line received where a request-line is expected. In other words, if
1899   the server is reading the protocol stream at the beginning of a
1900   message and receives a CRLF first, it &SHOULD; ignore the CRLF.
1901   Likewise, although the line terminator for the start-line and header
1902   fields is the sequence CRLF, we recommend that recipients recognize a
1903   single LF as a line terminator and ignore any CR.
1904</t>
1905<t>
1906   When a server listening only for HTTP request messages, or processing
1907   what appears from the start-line to be an HTTP request message,
1908   receives a sequence of octets that does not match the HTTP-message
1909   grammar aside from the robustness exceptions listed above, the
1910   server &MUST; respond with an HTTP/1.1 400 (Bad Request) response. 
1911</t>
1912</section>
1913</section>
1914
1915<section title="Transfer Codings" anchor="transfer.codings">
1916  <x:anchor-alias value="transfer-coding"/>
1917  <x:anchor-alias value="transfer-extension"/>
1918<t>
1919   Transfer-coding values are used to indicate an encoding
1920   transformation that has been, can be, or might need to be applied to a
1921   payload body in order to ensure "safe transport" through the network.
1922   This differs from a content coding in that the transfer-coding is a
1923   property of the message rather than a property of the representation
1924   that is being transferred.
1925</t>
1926<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="transfer-coding"/><iref primary="true" item="Grammar" subitem="transfer-extension"/>
1927  <x:ref>transfer-coding</x:ref>    = "chunked" ; <xref target="chunked.encoding"/>
1928                     / "compress" ; <xref target="compress.coding"/>
1929                     / "deflate" ; <xref target="deflate.coding"/>
1930                     / "gzip" ; <xref target="gzip.coding"/>
1931                     / <x:ref>transfer-extension</x:ref>
1932  <x:ref>transfer-extension</x:ref> = <x:ref>token</x:ref> *( <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>transfer-parameter</x:ref> )
1933</artwork></figure>
1934<t anchor="rule.parameter">
1935  <x:anchor-alias value="attribute"/>
1936  <x:anchor-alias value="transfer-parameter"/>
1937  <x:anchor-alias value="value"/>
1938   Parameters are in the form of attribute/value pairs.
1939</t>
1940<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="transfer-parameter"/><iref primary="true" item="Grammar" subitem="attribute"/><iref primary="true" item="Grammar" subitem="value"/><iref primary="true" item="Grammar" subitem="date2"/><iref primary="true" item="Grammar" subitem="date3"/>
1941  <x:ref>transfer-parameter</x:ref> = <x:ref>attribute</x:ref> <x:ref>BWS</x:ref> "=" <x:ref>BWS</x:ref> <x:ref>value</x:ref>
1942  <x:ref>attribute</x:ref>          = <x:ref>token</x:ref>
1943  <x:ref>value</x:ref>              = <x:ref>word</x:ref>
1944</artwork></figure>
1945<t>
1946   All transfer-coding values are case-insensitive. HTTP/1.1 uses
1947   transfer-coding values in the TE header field (<xref target="header.te"/>) and in
1948   the Transfer-Encoding header field (<xref target="header.transfer-encoding"/>).
1949</t>
1950
1951<section title="Chunked Transfer Coding" anchor="chunked.encoding">
1952  <iref item="chunked (Coding Format)"/>
1953  <iref item="Coding Format" subitem="chunked"/>
1954  <x:anchor-alias value="chunk"/>
1955  <x:anchor-alias value="chunked-body"/>
1956  <x:anchor-alias value="chunk-data"/>
1957  <x:anchor-alias value="chunk-ext"/>
1958  <x:anchor-alias value="chunk-ext-name"/>
1959  <x:anchor-alias value="chunk-ext-val"/>
1960  <x:anchor-alias value="chunk-size"/>
1961  <x:anchor-alias value="last-chunk"/>
1962  <x:anchor-alias value="trailer-part"/>
1963  <x:anchor-alias value="quoted-str-nf"/>
1964  <x:anchor-alias value="qdtext-nf"/>
1965<t>
1966   The chunked encoding modifies the body of a message in order to
1967   transfer it as a series of chunks, each with its own size indicator,
1968   followed by an &OPTIONAL; trailer containing header fields. This
1969   allows dynamically produced content to be transferred along with the
1970   information necessary for the recipient to verify that it has
1971   received the full message.
1972</t>
1973<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="chunked-body"/><iref primary="true" item="Grammar" subitem="chunk"/><iref primary="true" item="Grammar" subitem="chunk-size"/><iref primary="true" item="Grammar" subitem="last-chunk"/><iref primary="true" item="Grammar" subitem="chunk-ext"/><iref primary="true" item="Grammar" subitem="chunk-ext-name"/><iref primary="true" item="Grammar" subitem="chunk-ext-val"/><iref primary="true" item="Grammar" subitem="chunk-data"/><iref primary="true" item="Grammar" subitem="trailer-part"/><iref primary="true" item="Grammar" subitem="quoted-str-nf"/><iref primary="true" item="Grammar" subitem="qdtext-nf"/>
1974  <x:ref>chunked-body</x:ref>   = *<x:ref>chunk</x:ref>
1975                   <x:ref>last-chunk</x:ref>
1976                   <x:ref>trailer-part</x:ref>
1977                   <x:ref>CRLF</x:ref>
1978 
1979  <x:ref>chunk</x:ref>          = <x:ref>chunk-size</x:ref> [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
1980                   <x:ref>chunk-data</x:ref> <x:ref>CRLF</x:ref>
1981  <x:ref>chunk-size</x:ref>     = 1*<x:ref>HEXDIG</x:ref>
1982  <x:ref>last-chunk</x:ref>     = 1*("0") [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
1983 
1984  <x:ref>chunk-ext</x:ref>      = *( ";" <x:ref>chunk-ext-name</x:ref> [ "=" <x:ref>chunk-ext-val</x:ref> ] )
1985  <x:ref>chunk-ext-name</x:ref> = <x:ref>token</x:ref>
1986  <x:ref>chunk-ext-val</x:ref>  = <x:ref>token</x:ref> / <x:ref>quoted-str-nf</x:ref>
1987  <x:ref>chunk-data</x:ref>     = 1*<x:ref>OCTET</x:ref> ; a sequence of chunk-size octets
1988  <x:ref>trailer-part</x:ref>   = *( <x:ref>header-field</x:ref> <x:ref>CRLF</x:ref> )
1989 
1990  <x:ref>quoted-str-nf</x:ref>  = <x:ref>DQUOTE</x:ref> *( <x:ref>qdtext-nf</x:ref> / <x:ref>quoted-pair</x:ref> ) <x:ref>DQUOTE</x:ref>
1991                 ; like <x:ref>quoted-string</x:ref>, but disallowing line folding
1992  <x:ref>qdtext-nf</x:ref>      = <x:ref>HTAB</x:ref> / <x:ref>SP</x:ref> / %x21 / %x23-5B / %x5D-7E / <x:ref>obs-text</x:ref>
1993</artwork></figure>
1994<t>
1995   The chunk-size field is a string of hex digits indicating the size of
1996   the chunk-data in octets. The chunked encoding is ended by any chunk whose size is
1997   zero, followed by the trailer, which is terminated by an empty line.
1998</t>
1999<t>
2000   The trailer allows the sender to include additional HTTP header
2001   fields at the end of the message. The Trailer header field can be
2002   used to indicate which header fields are included in a trailer (see
2003   <xref target="header.trailer"/>).
2004</t>
2005<t>
2006   A server using chunked transfer-coding in a response &MUST-NOT; use the
2007   trailer for any header fields unless at least one of the following is
2008   true:
2009  <list style="numbers">
2010    <t>the request included a TE header field that indicates "trailers" is
2011     acceptable in the transfer-coding of the  response, as described in
2012     <xref target="header.te"/>; or,</t>
2013     
2014    <t>the trailer fields consist entirely of optional metadata, and the
2015    recipient could use the message (in a manner acceptable to the server where
2016    the field originated) without receiving it. In other words, the server that
2017    generated the header (often but not always the origin server) is willing to
2018    accept the possibility that the trailer fields might be silently discarded
2019    along the path to the client.</t>
2020  </list>
2021</t>
2022<t>
2023   This requirement prevents an interoperability failure when the
2024   message is being received by an HTTP/1.1 (or later) proxy and
2025   forwarded to an HTTP/1.0 recipient. It avoids a situation where
2026   conformance with the protocol would have necessitated a possibly
2027   infinite buffer on the proxy.
2028</t>
2029<t>
2030   A process for decoding the "chunked" transfer-coding
2031   can be represented in pseudo-code as:
2032</t>
2033<figure><artwork type="code">
2034  length := 0
2035  read chunk-size, chunk-ext (if any) and CRLF
2036  while (chunk-size &gt; 0) {
2037     read chunk-data and CRLF
2038     append chunk-data to decoded-body
2039     length := length + chunk-size
2040     read chunk-size and CRLF
2041  }
2042  read header-field
2043  while (header-field not empty) {
2044     append header-field to existing header fields
2045     read header-field
2046  }
2047  Content-Length := length
2048  Remove "chunked" from Transfer-Encoding
2049</artwork></figure>
2050<t>
2051   All HTTP/1.1 applications &MUST; be able to receive and decode the
2052   "chunked" transfer-coding and &MUST; ignore chunk-ext extensions
2053   they do not understand.
2054</t>
2055<t>
2056   Use of chunk-ext extensions by senders is deprecated; they &SHOULD-NOT; be
2057   sent and definition of new chunk-extensions is discouraged.
2058</t>
2059</section>
2060
2061<section title="Compression Codings" anchor="compression.codings">
2062<t>
2063   The codings defined below can be used to compress the payload of a
2064   message.
2065</t>
2066<x:note><t>
2067   <x:h>Note:</x:h> Use of program names for the identification of encoding formats
2068   is not desirable and is discouraged for future encodings. Their
2069   use here is representative of historical practice, not good
2070   design.
2071</t></x:note>
2072<x:note><t>
2073   <x:h>Note:</x:h> For compatibility with previous implementations of HTTP,
2074   applications &SHOULD; consider "x-gzip" and "x-compress" to be
2075   equivalent to "gzip" and "compress" respectively.
2076</t></x:note>
2077
2078<section title="Compress Coding" anchor="compress.coding">
2079<iref item="compress (Coding Format)"/>
2080<iref item="Coding Format" subitem="compress"/>
2081<t>
2082   The "compress" format is produced by the common UNIX file compression
2083   program "compress". This format is an adaptive Lempel-Ziv-Welch
2084   coding (LZW).
2085</t>
2086</section>
2087
2088<section title="Deflate Coding" anchor="deflate.coding">
2089<iref item="deflate (Coding Format)"/>
2090<iref item="Coding Format" subitem="deflate"/>
2091<t>
2092   The "deflate" format is defined as the "deflate" compression mechanism
2093   (described in <xref target="RFC1951"/>) used inside the "zlib"
2094   data format (<xref target="RFC1950"/>).
2095</t>
2096<x:note>
2097  <t>
2098    <x:h>Note:</x:h> Some incorrect implementations send the "deflate"
2099    compressed data without the zlib wrapper.
2100   </t>
2101</x:note>
2102</section>
2103
2104<section title="Gzip Coding" anchor="gzip.coding">
2105<iref item="gzip (Coding Format)"/>
2106<iref item="Coding Format" subitem="gzip"/>
2107<t>
2108   The "gzip" format is produced by the file compression program
2109   "gzip" (GNU zip), as described in <xref target="RFC1952"/>. This format is a
2110   Lempel-Ziv coding (LZ77) with a 32 bit CRC.
2111</t>
2112</section>
2113
2114</section>
2115
2116<section title="Transfer Coding Registry" anchor="transfer.coding.registry">
2117<t>
2118   The HTTP Transfer Coding Registry defines the name space for the transfer
2119   coding names.
2120</t>
2121<t>
2122   Registrations &MUST; include the following fields:
2123   <list style="symbols">
2124     <t>Name</t>
2125     <t>Description</t>
2126     <t>Pointer to specification text</t>
2127   </list>
2128</t>
2129<t>
2130   Names of transfer codings &MUST-NOT; overlap with names of content codings
2131   (&content-codings;), unless the encoding transformation is identical (as it
2132   is the case for the compression codings defined in
2133   <xref target="compression.codings"/>).
2134</t>
2135<t>
2136   Values to be added to this name space require IETF Review (see
2137   <xref target="RFC5226" x:fmt="of" x:sec="4.1"/>), and &MUST;
2138   conform to the purpose of transfer coding defined in this section.
2139</t>
2140<t>
2141   The registry itself is maintained at
2142   <eref target="http://www.iana.org/assignments/http-parameters"/>.
2143</t>
2144</section>
2145
2146<section title="TE" anchor="header.te">
2147  <iref primary="true" item="TE header field" x:for-anchor=""/>
2148  <iref primary="true" item="Header Fields" subitem="TE" x:for-anchor=""/>
2149  <x:anchor-alias value="TE"/>
2150  <x:anchor-alias value="t-codings"/>
2151  <x:anchor-alias value="te-params"/>
2152  <x:anchor-alias value="te-ext"/>
2153<t>
2154   The "TE" header field indicates what extension transfer-codings
2155   the client is willing to accept in the response, and whether or not it is
2156   willing to accept trailer fields in a chunked transfer-coding.
2157</t>
2158<t>
2159   Its value consists of the keyword "trailers" and/or a comma-separated
2160   list of extension transfer-coding names with optional accept
2161   parameters (as described in <xref target="transfer.codings"/>).
2162</t>
2163<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="TE"/><iref primary="true" item="Grammar" subitem="t-codings"/><iref primary="true" item="Grammar" subitem="te-params"/><iref primary="true" item="Grammar" subitem="te-ext"/>
2164  <x:ref>TE</x:ref>        = #<x:ref>t-codings</x:ref>
2165  <x:ref>t-codings</x:ref> = "trailers" / ( <x:ref>transfer-extension</x:ref> [ <x:ref>te-params</x:ref> ] )
2166  <x:ref>te-params</x:ref> = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> "q=" <x:ref>qvalue</x:ref> *( <x:ref>te-ext</x:ref> )
2167  <x:ref>te-ext</x:ref>    = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>token</x:ref> [ "=" <x:ref>word</x:ref> ]
2168</artwork></figure>
2169<t>
2170   The presence of the keyword "trailers" indicates that the client is
2171   willing to accept trailer fields in a chunked transfer-coding, as
2172   defined in <xref target="chunked.encoding"/>. This keyword is reserved for use with
2173   transfer-coding values even though it does not itself represent a
2174   transfer-coding.
2175</t>
2176<t>
2177   Examples of its use are:
2178</t>
2179<figure><artwork type="example">
2180  TE: deflate
2181  TE:
2182  TE: trailers, deflate;q=0.5
2183</artwork></figure>
2184<t>
2185   The TE header field only applies to the immediate connection.
2186   Therefore, the keyword &MUST; be supplied within a Connection header
2187   field (<xref target="header.connection"/>) whenever TE is present in an HTTP/1.1 message.
2188</t>
2189<t>
2190   A server tests whether a transfer-coding is acceptable, according to
2191   a TE field, using these rules:
2192  <list style="numbers">
2193    <x:lt>
2194      <t>The "chunked" transfer-coding is always acceptable. If the
2195         keyword "trailers" is listed, the client indicates that it is
2196         willing to accept trailer fields in the chunked response on
2197         behalf of itself and any downstream clients. The implication is
2198         that, if given, the client is stating that either all
2199         downstream clients are willing to accept trailer fields in the
2200         forwarded response, or that it will attempt to buffer the
2201         response on behalf of downstream recipients.
2202      </t><t>
2203         <x:h>Note:</x:h> HTTP/1.1 does not define any means to limit the size of a
2204         chunked response such that a client can be assured of buffering
2205         the entire response.</t>
2206    </x:lt>
2207    <x:lt>
2208      <t>If the transfer-coding being tested is one of the transfer-codings
2209         listed in the TE field, then it is acceptable unless it
2210         is accompanied by a qvalue of 0. (As defined in <xref target="quality.values"/>, a
2211         qvalue of 0 means "not acceptable".)</t>
2212    </x:lt>
2213    <x:lt>
2214      <t>If multiple transfer-codings are acceptable, then the
2215         acceptable transfer-coding with the highest non-zero qvalue is
2216         preferred.  The "chunked" transfer-coding always has a qvalue
2217         of 1.</t>
2218    </x:lt>
2219  </list>
2220</t>
2221<t>
2222   If the TE field-value is empty or if no TE field is present, the only
2223   acceptable transfer-coding is "chunked". A message with no transfer-coding is
2224   always acceptable.
2225</t>
2226
2227<section title="Quality Values" anchor="quality.values">
2228  <x:anchor-alias value="qvalue"/>
2229<t>
2230   Both transfer codings (TE request header field, <xref target="header.te"/>)
2231   and content negotiation (&content.negotiation;) use short "floating point"
2232   numbers to indicate the relative importance ("weight") of various
2233   negotiable parameters.  A weight is normalized to a real number in
2234   the range 0 through 1, where 0 is the minimum and 1 the maximum
2235   value. If a parameter has a quality value of 0, then content with
2236   this parameter is "not acceptable" for the client. HTTP/1.1
2237   applications &MUST-NOT; generate more than three digits after the
2238   decimal point. User configuration of these values &SHOULD; also be
2239   limited in this fashion.
2240</t>
2241<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="qvalue"/>
2242  <x:ref>qvalue</x:ref>         = ( "0" [ "." 0*3<x:ref>DIGIT</x:ref> ] )
2243                 / ( "1" [ "." 0*3("0") ] )
2244</artwork></figure>
2245<x:note>
2246  <t>
2247     <x:h>Note:</x:h> "Quality values" is a misnomer, since these values merely represent
2248     relative degradation in desired quality.
2249  </t>
2250</x:note>
2251</section>
2252</section>
2253
2254<section title="Trailer" anchor="header.trailer">
2255  <iref primary="true" item="Trailer header field" x:for-anchor=""/>
2256  <iref primary="true" item="Header Fields" subitem="Trailer" x:for-anchor=""/>
2257  <x:anchor-alias value="Trailer"/>
2258<t>
2259   The "Trailer" header field indicates that the given set of
2260   header fields is present in the trailer of a message encoded with
2261   chunked transfer-coding.
2262</t>
2263<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Trailer"/>
2264  <x:ref>Trailer</x:ref> = 1#<x:ref>field-name</x:ref>
2265</artwork></figure>
2266<t>
2267   An HTTP/1.1 message &SHOULD; include a Trailer header field in a
2268   message using chunked transfer-coding with a non-empty trailer. Doing
2269   so allows the recipient to know which header fields to expect in the
2270   trailer.
2271</t>
2272<t>
2273   If no Trailer header field is present, the trailer &SHOULD-NOT;  include
2274   any header fields. See <xref target="chunked.encoding"/> for restrictions on the use of
2275   trailer fields in a "chunked" transfer-coding.
2276</t>
2277<t>
2278   Message header fields listed in the Trailer header field &MUST-NOT;
2279   include the following header fields:
2280  <list style="symbols">
2281    <t>Transfer-Encoding</t>
2282    <t>Content-Length</t>
2283    <t>Trailer</t>
2284  </list>
2285</t>
2286</section>
2287</section>
2288
2289<section title="Message Routing" anchor="message.routing">
2290<t>
2291   HTTP request message routing is determined by each client based on the
2292   target resource, the client's proxy configuration, and
2293   establishment or reuse of an inbound connection.  The corresponding
2294   response routing follows the same connection chain back to the client.
2295</t>
2296
2297<section title="Identifying a Target Resource" anchor="target-resource">
2298  <iref primary="true" item="target resource"/>
2299  <iref primary="true" item="target URI"/>
2300<t>
2301   HTTP is used in a wide variety of applications, ranging from
2302   general-purpose computers to home appliances.  In some cases,
2303   communication options are hard-coded in a client's configuration.
2304   However, most HTTP clients rely on the same resource identification
2305   mechanism and configuration techniques as general-purpose Web browsers.
2306</t>
2307<t>
2308   HTTP communication is initiated by a user agent for some purpose.
2309   The purpose is a combination of request semantics, which are defined in
2310   <xref target="Part2"/>, and a target resource upon which to apply those
2311   semantics.  A URI reference (<xref target="uri"/>) is typically used as
2312   an identifier for the target resource, which a user agent would resolve to
2313   its absolute form in order to obtain the target URI.  The target URI
2314   excludes the reference's fragment identifier component, if any,
2315   since fragment identifiers are reserved for client-side processing
2316   (<xref target="RFC3986" x:fmt="," x:sec="3.5"/>).
2317</t>
2318<t>
2319   HTTP intermediaries obtain the request semantics and target URI
2320   from the request-line of an incoming request message.
2321</t>
2322</section>
2323
2324<section title="Connecting Inbound" anchor="connecting.inbound">
2325<t>
2326   Once the target URI is determined, a client needs to decide whether
2327   a network request is necessary to accomplish the desired semantics and,
2328   if so, where that request is to be directed.
2329</t>
2330<t>
2331   If the client has a response cache and the request semantics can be
2332   satisfied by a cache (<xref target="Part6"/>), then the request is
2333   usually directed to the cache first.
2334</t>
2335<t>
2336   If the request is not satisfied by a cache, then a typical client will
2337   check its configuration to determine whether a proxy is to be used to
2338   satisfy the request.  Proxy configuration is implementation-dependent,
2339   but is often based on URI prefix matching, selective authority matching,
2340   or both, and the proxy itself is usually identified by an "http" or
2341   "https" URI.  If a proxy is applicable, the client connects inbound by
2342   establishing (or reusing) a connection to that proxy.
2343</t>
2344<t>
2345   If no proxy is applicable, a typical client will invoke a handler routine,
2346   usually specific to the target URI's scheme, to connect directly
2347   to an authority for the target resource.  How that is accomplished is
2348   dependent on the target URI scheme and defined by its associated
2349   specification, similar to how this specification defines origin server
2350   access for resolution of the "http" (<xref target="http.uri"/>) and
2351   "https" (<xref target="https.uri"/>) schemes.
2352</t>
2353</section>
2354
2355<section title="Request Target" anchor="request-target">
2356<t>
2357   Once an inbound connection is obtained (<xref target="connections"/>),
2358   the client sends an HTTP request message (<xref target="http.message"/>)
2359   with a request-target derived from the target URI.
2360   There are four distinct formats for the request-target, depending on both
2361   the method being requested and whether the request is to a proxy.
2362</t>   
2363<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="request-target"/><iref primary="true" item="Grammar" subitem="origin-form"/><iref primary="true" item="Grammar" subitem="absolute-form"/><iref primary="true" item="Grammar" subitem="authority-form"/><iref primary="true" item="Grammar" subitem="asterisk-form"/>
2364  <x:ref>request-target</x:ref> = <x:ref>origin-form</x:ref>
2365                 / <x:ref>absolute-form</x:ref>
2366                 / <x:ref>authority-form</x:ref>
2367                 / <x:ref>asterisk-form</x:ref>
2368
2369  <x:ref>origin-form</x:ref>    = <x:ref>path-absolute</x:ref> [ "?" <x:ref>query</x:ref> ]
2370  <x:ref>absolute-form</x:ref>  = <x:ref>absolute-URI</x:ref>
2371  <x:ref>authority-form</x:ref> = <x:ref>authority</x:ref>
2372  <x:ref>asterisk-form</x:ref>  = "*"
2373</artwork></figure>
2374<t anchor="origin-form"><iref item="origin-form (of request-target)"/>
2375   The most common form of request-target is the origin-form.
2376   When making a request directly to an origin server, other than a CONNECT
2377   or server-wide OPTIONS request (as detailed below),
2378   a client &MUST; send only the absolute path and query components of
2379   the target URI as the request-target.
2380   If the target URI's path component is empty, then the client &MUST; send
2381   "/" as the path within the origin-form of request-target.
2382   A Host header field is also sent, as defined in
2383   <xref target="header.host"/>, containing the target URI's
2384   authority component (excluding any userinfo).
2385</t>
2386<t>
2387   For example, a client wishing to retrieve a representation of the resource
2388   identified as
2389</t>
2390<figure><artwork x:indent-with="  ">
2391http://www.example.org/where?q=now
2392</artwork></figure>
2393<t>
2394   directly from the origin server would open (or reuse) a TCP connection
2395   to port 80 of the host "www.example.org" and send the lines:
2396</t>
2397<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2398GET /where?q=now HTTP/1.1
2399Host: www.example.org
2400</artwork></figure>
2401<t>
2402   followed by the remainder of the request message.
2403</t>
2404<t anchor="absolute-form"><iref item="absolute-form (of request-target)"/>
2405   When making a request to a proxy, other than a CONNECT or server-wide
2406   OPTIONS request (as detailed below), a client &MUST; send the target URI
2407   in absolute-form as the request-target.
2408   The proxy is requested to either service that request from a valid cache,
2409   if possible, or make the same request on the client's behalf to either
2410   the next inbound proxy server or directly to the origin server indicated
2411   by the request-target.
2412   In order to avoid request loops, a proxy that forwards requests to other
2413   proxies &MUST; be able to recognize and exclude all of its own server
2414   names, including any aliases, local variations, or literal IP addresses.
2415</t>
2416<t>
2417   An example absolute-form of request-line would be:
2418</t>
2419<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2420GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1
2421</artwork></figure>
2422<t>
2423   To allow for transition to the absolute-form for all requests in some
2424   future version of HTTP, HTTP/1.1 servers &MUST; accept the absolute-form
2425   in requests, even though HTTP/1.1 clients will only send them in requests
2426   to proxies.
2427</t>
2428<t anchor="authority-form"><iref item="authority-form (of request-target)"/>
2429   The authority-form of request-target is only used for CONNECT requests
2430   (&CONNECT;).  When making a CONNECT request to establish a tunnel through
2431   one or more proxies, a client &MUST; send only the target URI's
2432   authority component (excluding any userinfo) as the request-target.
2433   For example,
2434</t>
2435<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2436CONNECT www.example.com:80 HTTP/1.1
2437</artwork></figure>
2438<t anchor="asterisk-form"><iref item="asterisk-form (of request-target)"/>
2439   The asterisk-form of request-target is only used for a server-wide
2440   OPTIONS request (&OPTIONS;).  When a client wishes to request OPTIONS
2441   for the server as a whole, as opposed to a specific named resource of
2442   that server, the client &MUST; send only "*" (%x2A) as the request-target.
2443   For example,
2444</t>
2445<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2446OPTIONS * HTTP/1.1
2447</artwork></figure>
2448<t>
2449   If a proxy receives an OPTIONS request with an absolute-form of
2450   request-target in which the URI has an empty path and no query component,
2451   then the last proxy on the request chain &MUST; send a request-target
2452   of "*" when it forwards the request to the indicated origin server.
2453</t>
2454<figure><preamble>   
2455   For example, the request
2456</preamble><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2457OPTIONS http://www.example.org:8001 HTTP/1.1
2458</artwork></figure>
2459<figure><preamble>   
2460  would be forwarded by the final proxy as
2461</preamble><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2462OPTIONS * HTTP/1.1
2463Host: www.example.org:8001
2464</artwork>
2465<postamble>
2466   after connecting to port 8001 of host "www.example.org".
2467</postamble>
2468</figure>
2469<t>
2470   If a proxy receives a request-target with a host name that is not a
2471   fully qualified domain name, it &MAY; add its domain to the host name
2472   it received when forwarding the request.  A proxy &MUST-NOT; change the
2473   host name if it is a fully qualified domain name.
2474</t>
2475<t>
2476   A non-transforming proxy &MUST-NOT; rewrite the "path-absolute" and "query"
2477   parts of the received request-target when forwarding it to the next inbound
2478   server, except as noted above to replace an empty path with "/" or "*".
2479</t>
2480</section>
2481
2482<section title="Host" anchor="header.host">
2483  <iref primary="true" item="Host header field" x:for-anchor=""/>
2484  <iref primary="true" item="Header Fields" subitem="Host" x:for-anchor=""/>
2485  <x:anchor-alias value="Host"/>
2486<t>
2487   The "Host" header field in a request provides the host and port
2488   information from the target URI, enabling the origin
2489   server to distinguish among resources while servicing requests
2490   for multiple host names on a single IP address.  Since the Host
2491   field-value is critical information for handling a request, it
2492   &SHOULD; be sent as the first header field following the request-line.
2493</t>
2494<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Host"/>
2495  <x:ref>Host</x:ref> = <x:ref>uri-host</x:ref> [ ":" <x:ref>port</x:ref> ] ; <xref target="http.uri"/>
2496</artwork></figure>
2497<t>
2498   A client &MUST; send a Host header field in all HTTP/1.1 request
2499   messages.  If the target URI includes an authority component, then
2500   the Host field-value &MUST; be identical to that authority component
2501   after excluding any userinfo (<xref target="http.uri"/>).
2502   If the authority component is missing or undefined for the target URI,
2503   then the Host header field &MUST; be sent with an empty field-value.
2504</t>
2505<t>
2506   For example, a GET request to the origin server for
2507   &lt;http://www.example.org/pub/WWW/&gt; would begin with:
2508</t>
2509<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
2510GET /pub/WWW/ HTTP/1.1
2511Host: www.example.org
2512</artwork></figure>
2513<t>
2514   The Host header field &MUST; be sent in an HTTP/1.1 request even
2515   if the request-target is in the absolute-form, since this
2516   allows the Host information to be forwarded through ancient HTTP/1.0
2517   proxies that might not have implemented Host.
2518</t>
2519<t>
2520   When an HTTP/1.1 proxy receives a request with an absolute-form of
2521   request-target, the proxy &MUST; ignore the received
2522   Host header field (if any) and instead replace it with the host
2523   information of the request-target.  If the proxy forwards the request,
2524   it &MUST; generate a new Host field-value based on the received
2525   request-target rather than forward the received Host field-value.
2526</t>
2527<t>
2528   Since the Host header field acts as an application-level routing
2529   mechanism, it is a frequent target for malware seeking to poison
2530   a shared cache or redirect a request to an unintended server.
2531   An interception proxy is particularly vulnerable if it relies on
2532   the Host field-value for redirecting requests to internal
2533   servers, or for use as a cache key in a shared cache, without
2534   first verifying that the intercepted connection is targeting a
2535   valid IP address for that host.
2536</t>
2537<t>
2538   A server &MUST; respond with a 400 (Bad Request) status code to
2539   any HTTP/1.1 request message that lacks a Host header field and
2540   to any request message that contains more than one Host header field
2541   or a Host header field with an invalid field-value.
2542</t>
2543</section>
2544
2545<section title="The Resource Identified by a Request" anchor="the.resource.identified.by.a.request">
2546<t>
2547   The exact resource identified by an Internet request is determined by
2548   examining both the request-target and the Host header field.
2549</t>
2550<t>
2551   An origin server that does not allow resources to differ by the
2552   requested host &MAY; ignore the Host header field value when
2553   determining the resource identified by an HTTP/1.1 request. (But see
2554   <xref target="changes.to.simplify.multi-homed.web.servers.and.conserve.ip.addresses"/>
2555   for other requirements on Host support in HTTP/1.1.)
2556</t>
2557<t>
2558   An origin server that does differentiate resources based on the host
2559   requested (sometimes referred to as virtual hosts or vanity host
2560   names) &MUST; use the following rules for determining the requested
2561   resource on an HTTP/1.1 request:
2562  <list style="numbers">
2563    <t>If request-target is an absolute-URI, the host is part of the
2564     request-target. Any Host header field value in the request &MUST; be
2565     ignored.</t>
2566    <t>If the request-target is not an absolute-URI, and the request includes
2567     a Host header field, the host is determined by the Host header
2568     field value.</t>
2569    <t>If the host as determined by rule 1 or 2 is not a valid host on
2570     the server, the response &MUST; be a 400 (Bad Request) error message.</t>
2571  </list>
2572</t>
2573<t>
2574   Recipients of an HTTP/1.0 request that lacks a Host header field &MAY;
2575   attempt to use heuristics (e.g., examination of the URI path for
2576   something unique to a particular host) in order to determine what
2577   exact resource is being requested.
2578</t>
2579</section>
2580
2581<section title="Effective Request URI" anchor="effective.request.uri">
2582  <iref primary="true" item="effective request URI"/>
2583<t>
2584   HTTP requests often do not carry the absolute URI (<xref target="RFC3986" x:fmt="," x:sec="4.3"/>)
2585   for the target resource; instead, the URI needs to be inferred from the
2586   request-target, Host header field, and connection context. The result of
2587   this process is called the "effective request URI".  The "target resource"
2588   is the resource identified by the effective request URI.
2589</t>
2590<t>
2591   If the request-target is an absolute-URI, then the effective request URI is
2592   the request-target.
2593</t>
2594<t>
2595   If the request-target uses the origin form or the asterisk form,
2596   and the Host header field is present, then the effective request URI is
2597   constructed by concatenating
2598</t>
2599<t>
2600  <list style="symbols">
2601    <t>
2602      the scheme name: "http" if the request was received over an insecure
2603      TCP connection, or "https" when received over a SSL/TLS-secured TCP
2604      connection,
2605    </t>
2606    <t>
2607      the octet sequence "://",
2608    </t>
2609    <t>
2610      the authority component, as specified in the Host header field
2611      (<xref target="header.host"/>), and
2612    </t>
2613    <t>
2614      the request-target obtained from the request-line, unless the
2615      request-target is just the asterisk "*".
2616    </t>
2617  </list>
2618</t>
2619<t>
2620   If the request-target uses the origin form or the asterisk form,
2621   and the Host header field is not present, then the effective request URI is
2622   undefined.
2623</t>
2624<t>
2625   Otherwise, when request-target uses the authority form, the effective
2626   request URI is undefined.
2627</t>
2628<figure>
2629<preamble>
2630   Example 1: the effective request URI for the message
2631</preamble> 
2632<artwork type="example" x:indent-with="  ">
2633GET /pub/WWW/TheProject.html HTTP/1.1
2634Host: www.example.org:8080
2635</artwork>
2636<postamble>
2637  (received over an insecure TCP connection) is "http", plus "://", plus the
2638  authority component "www.example.org:8080", plus the request-target
2639  "/pub/WWW/TheProject.html", thus
2640  "http://www.example.org:8080/pub/WWW/TheProject.html".
2641</postamble>
2642</figure>
2643<figure>
2644<preamble>
2645   Example 2: the effective request URI for the message
2646</preamble> 
2647<artwork type="example" x:indent-with="  ">
2648OPTIONS * HTTP/1.1
2649Host: www.example.org
2650</artwork>
2651<postamble>
2652  (received over an SSL/TLS secured TCP connection) is "https", plus "://", plus the
2653  authority component "www.example.org", thus "https://www.example.org".
2654</postamble>
2655</figure>
2656<t>
2657   Effective request URIs are compared using the rules described in
2658   <xref target="uri.comparison"/>, except that empty path components &MUST-NOT;
2659   be treated as equivalent to an absolute path of "/".
2660</t> 
2661</section>
2662
2663<section title="Associating a Response to a Request" anchor="associating.response.to.request">
2664<t>
2665   HTTP does not include a request identifier for associating a given
2666   request message with its corresponding one or more response messages.
2667   Hence, it relies on the order of response arrival to correspond exactly
2668   to the order in which requests are made on the same connection.
2669   More than one response message per request only occurs when one or more
2670   informational responses (1xx, see &status-1xx;) precede a final response
2671   to the same request.
2672</t>
2673<t>
2674   A client that uses persistent connections and sends more than one request
2675   per connection &MUST; maintain a list of outstanding requests in the
2676   order sent on that connection and &MUST; associate each received response
2677   message to the highest ordered request that has not yet received a final
2678   (non-1xx) response.
2679</t>
2680</section>
2681</section>
2682
2683<section title="Connections" anchor="connections">
2684
2685<section title="Persistent Connections" anchor="persistent.connections">
2686
2687<section title="Purpose" anchor="persistent.purpose">
2688<t>
2689   Prior to persistent connections, a separate TCP connection was
2690   established for each request, increasing the load on HTTP servers
2691   and causing congestion on the Internet. The use of inline images and
2692   other associated data often requires a client to make multiple
2693   requests of the same server in a short amount of time. Analysis of
2694   these performance problems and results from a prototype
2695   implementation are available <xref target="Pad1995"/> <xref target="Spe"/>. Implementation experience and
2696   measurements of actual HTTP/1.1 implementations show good
2697   results <xref target="Nie1997"/>. Alternatives have also been explored, for example,
2698   T/TCP <xref target="Tou1998"/>.
2699</t>
2700<t>
2701   Persistent HTTP connections have a number of advantages:
2702  <list style="symbols">
2703      <t>
2704        By opening and closing fewer TCP connections, CPU time is saved
2705        in routers and hosts (clients, servers, proxies, gateways,
2706        tunnels, or caches), and memory used for TCP protocol control
2707        blocks can be saved in hosts.
2708      </t>
2709      <t>
2710        HTTP requests and responses can be pipelined on a connection.
2711        Pipelining allows a client to make multiple requests without
2712        waiting for each response, allowing a single TCP connection to
2713        be used much more efficiently, with much lower elapsed time.
2714      </t>
2715      <t>
2716        Network congestion is reduced by reducing the number of packets
2717        caused by TCP opens, and by allowing TCP sufficient time to
2718        determine the congestion state of the network.
2719      </t>
2720      <t>
2721        Latency on subsequent requests is reduced since there is no time
2722        spent in TCP's connection opening handshake.
2723      </t>
2724      <t>
2725        HTTP can evolve more gracefully, since errors can be reported
2726        without the penalty of closing the TCP connection. Clients using
2727        future versions of HTTP might optimistically try a new feature,
2728        but if communicating with an older server, retry with old
2729        semantics after an error is reported.
2730      </t>
2731    </list>
2732</t>
2733<t>
2734   HTTP implementations &SHOULD; implement persistent connections.
2735</t>
2736</section>
2737
2738<section title="Overall Operation" anchor="persistent.overall">
2739<t>
2740   A significant difference between HTTP/1.1 and earlier versions of
2741   HTTP is that persistent connections are the default behavior of any
2742   HTTP connection. That is, unless otherwise indicated, the client
2743   &SHOULD; assume that the server will maintain a persistent connection,
2744   even after error responses from the server.
2745</t>
2746<t>
2747   Persistent connections provide a mechanism by which a client and a
2748   server can signal the close of a TCP connection. This signaling takes
2749   place using the Connection header field (<xref target="header.connection"/>). Once a close
2750   has been signaled, the client &MUST-NOT; send any more requests on that
2751   connection.
2752</t>
2753
2754<section title="Negotiation" anchor="persistent.negotiation">
2755<t>
2756   An HTTP/1.1 server &MAY; assume that a HTTP/1.1 client intends to
2757   maintain a persistent connection unless a Connection header field including
2758   the connection-token "close" was sent in the request. If the server
2759   chooses to close the connection immediately after sending the
2760   response, it &SHOULD; send a Connection header field including the
2761   connection-token "close".
2762</t>
2763<t>
2764   An HTTP/1.1 client &MAY; expect a connection to remain open, but would
2765   decide to keep it open based on whether the response from a server
2766   contains a Connection header field with the connection-token close. In case
2767   the client does not want to maintain a connection for more than that
2768   request, it &SHOULD; send a Connection header field including the
2769   connection-token close.
2770</t>
2771<t>
2772   If either the client or the server sends the close token in the
2773   Connection header field, that request becomes the last one for the
2774   connection.
2775</t>
2776<t>
2777   Clients and servers &SHOULD-NOT;  assume that a persistent connection is
2778   maintained for HTTP versions less than 1.1 unless it is explicitly
2779   signaled. See <xref target="compatibility.with.http.1.0.persistent.connections"/> for more information on backward
2780   compatibility with HTTP/1.0 clients.
2781</t>
2782<t>
2783   In order to remain persistent, all messages on the connection &MUST;
2784   have a self-defined message length (i.e., one not defined by closure
2785   of the connection), as described in <xref target="message.body"/>.
2786</t>
2787</section>
2788
2789<section title="Pipelining" anchor="pipelining">
2790<t>
2791   A client that supports persistent connections &MAY; "pipeline" its
2792   requests (i.e., send multiple requests without waiting for each
2793   response). A server &MUST; send its responses to those requests in the
2794   same order that the requests were received.
2795</t>
2796<t>
2797   Clients which assume persistent connections and pipeline immediately
2798   after connection establishment &SHOULD; be prepared to retry their
2799   connection if the first pipelined attempt fails. If a client does
2800   such a retry, it &MUST-NOT; pipeline before it knows the connection is
2801   persistent. Clients &MUST; also be prepared to resend their requests if
2802   the server closes the connection before sending all of the
2803   corresponding responses.
2804</t>
2805<t>
2806   Clients &SHOULD-NOT; pipeline requests using non-idempotent request methods or
2807   non-idempotent sequences of request methods (see &idempotent-methods;). Otherwise, a
2808   premature termination of the transport connection could lead to
2809   indeterminate results. A client wishing to send a non-idempotent
2810   request &SHOULD; wait to send that request until it has received the
2811   response status line for the previous request.
2812</t>
2813</section>
2814</section>
2815
2816<section title="Proxy Servers" anchor="persistent.proxy">
2817<t>
2818   It is especially important that proxies correctly implement the
2819   properties of the Connection header field as specified in <xref target="header.connection"/>.
2820</t>
2821<t>
2822   The proxy server &MUST; signal persistent connections separately with
2823   its clients and the origin servers (or other proxy servers) that it
2824   connects to. Each persistent connection applies to only one transport
2825   link.
2826</t>
2827<t>
2828   A proxy server &MUST-NOT; establish a HTTP/1.1 persistent connection
2829   with an HTTP/1.0 client (but see <xref x:sec="19.7.1" x:fmt="of" target="RFC2068"/>
2830   for information and discussion of the problems with the Keep-Alive header field
2831   implemented by many HTTP/1.0 clients).
2832</t>
2833
2834<section title="End-to-end and Hop-by-hop Header Fields" anchor="end-to-end.and.hop-by-hop.header-fields">
2835<!--<t>
2836  <cref anchor="TODO-end-to-end" source="jre">
2837    Restored from <eref target="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-05#section-7.1"/>.
2838    See also <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/60"/>.
2839  </cref>
2840</t>-->
2841<t>
2842   For the purpose of defining the behavior of caches and non-caching
2843   proxies, we divide HTTP header fields into two categories:
2844  <list style="symbols">
2845      <t>End-to-end header fields, which are  transmitted to the ultimate
2846        recipient of a request or response. End-to-end header fields in
2847        responses &MUST; be stored as part of a cache entry and &MUST; be
2848        transmitted in any response formed from a cache entry.</t>
2849
2850      <t>Hop-by-hop header fields, which are meaningful only for a single
2851        transport-level connection, and are not stored by caches or
2852        forwarded by proxies.</t>
2853  </list>
2854</t>
2855<t>
2856   The following HTTP/1.1 header fields are hop-by-hop header fields:
2857  <list style="symbols">
2858      <t>Connection</t>
2859      <t>Keep-Alive</t>
2860      <t>Proxy-Authenticate</t>
2861      <t>Proxy-Authorization</t>
2862      <t>TE</t>
2863      <t>Trailer</t>
2864      <t>Transfer-Encoding</t>
2865      <t>Upgrade</t>
2866  </list>
2867</t>
2868<t>
2869   All other header fields defined by HTTP/1.1 are end-to-end header fields.
2870</t>
2871<t>
2872   Other hop-by-hop header fields &MUST; be listed in a Connection header field
2873   (<xref target="header.connection"/>).
2874</t>
2875</section>
2876
2877<section title="Non-modifiable Header Fields" anchor="non-modifiable.header-fields">
2878<!--<t>
2879  <cref anchor="TODO-non-mod-headers" source="jre">
2880    Restored from <eref target="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-05#section-7.2"/>.
2881    See also <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/60"/>.
2882  </cref>
2883</t>-->
2884<t>
2885   Some features of HTTP/1.1, such as Digest Authentication, depend on the
2886   value of certain end-to-end header fields. A non-transforming proxy &SHOULD-NOT;
2887   modify an end-to-end header field unless the definition of that header field requires
2888   or specifically allows that.
2889</t>
2890<t>
2891   A non-transforming proxy &MUST-NOT; modify any of the following fields in a
2892   request or response, and it &MUST-NOT; add any of these fields if not
2893   already present:
2894  <list style="symbols">
2895    <t>Allow</t>
2896    <t>Content-Location</t>
2897    <t>Content-MD5</t>
2898    <t>ETag</t>
2899    <t>Last-Modified</t>
2900    <t>Server</t>
2901  </list>
2902</t>
2903<t>
2904   A non-transforming proxy &MUST-NOT; modify any of the following fields in a
2905   response:
2906  <list style="symbols">
2907    <t>Expires</t>
2908  </list>
2909</t>
2910<t>
2911   but it &MAY; add any of these fields if not already present. If an
2912   Expires header field is added, it &MUST; be given a field-value identical to
2913   that of the Date header field in that response.
2914</t>
2915<t>
2916   A proxy &MUST-NOT; modify or add any of the following fields in a
2917   message that contains the no-transform cache-control directive, or in
2918   any request:
2919  <list style="symbols">
2920    <t>Content-Encoding</t>
2921    <t>Content-Range</t>
2922    <t>Content-Type</t>
2923  </list>
2924</t>
2925<t>
2926   A transforming proxy &MAY; modify or add these fields to a message
2927   that does not include no-transform, but if it does so, it &MUST; add a
2928   Warning 214 (Transformation applied) if one does not already appear
2929   in the message (see &header-warning;).
2930</t>
2931<x:note>
2932  <t>
2933    <x:h>Warning:</x:h> Unnecessary modification of end-to-end header fields might
2934    cause authentication failures if stronger authentication
2935    mechanisms are introduced in later versions of HTTP. Such
2936    authentication mechanisms &MAY; rely on the values of header fields
2937    not listed here.
2938  </t>
2939</x:note>
2940<t>
2941   A non-transforming proxy &MUST; preserve the message payload (&payload;),
2942   though it &MAY; change the message body through application or removal
2943   of a transfer-coding (<xref target="transfer.codings"/>).
2944</t>
2945</section>
2946
2947</section>
2948
2949<section title="Practical Considerations" anchor="persistent.practical">
2950<t>
2951   Servers will usually have some time-out value beyond which they will
2952   no longer maintain an inactive connection. Proxy servers might make
2953   this a higher value since it is likely that the client will be making
2954   more connections through the same server. The use of persistent
2955   connections places no requirements on the length (or existence) of
2956   this time-out for either the client or the server.
2957</t>
2958<t>
2959   When a client or server wishes to time-out it &SHOULD; issue a graceful
2960   close on the transport connection. Clients and servers &SHOULD; both
2961   constantly watch for the other side of the transport close, and
2962   respond to it as appropriate. If a client or server does not detect
2963   the other side's close promptly it could cause unnecessary resource
2964   drain on the network.
2965</t>
2966<t>
2967   A client, server, or proxy &MAY; close the transport connection at any
2968   time. For example, a client might have started to send a new request
2969   at the same time that the server has decided to close the "idle"
2970   connection. From the server's point of view, the connection is being
2971   closed while it was idle, but from the client's point of view, a
2972   request is in progress.
2973</t>
2974<t>
2975   Clients (including proxies) &SHOULD; limit the number of simultaneous
2976   connections that they maintain to a given server (including proxies).
2977</t>
2978<t>
2979   Previous revisions of HTTP gave a specific number of connections as a
2980   ceiling, but this was found to be impractical for many applications. As a
2981   result, this specification does not mandate a particular maximum number of
2982   connections, but instead encourages clients to be conservative when opening
2983   multiple connections.
2984</t>
2985<t>
2986   In particular, while using multiple connections avoids the "head-of-line
2987   blocking" problem (whereby a request that takes significant server-side
2988   processing and/or has a large payload can block subsequent requests on the
2989   same connection), each connection used consumes server resources (sometimes
2990   significantly), and furthermore using multiple connections can cause
2991   undesirable side effects in congested networks.
2992</t>
2993<t>
2994   Note that servers might reject traffic that they deem abusive, including an
2995   excessive number of connections from a client.
2996</t>
2997</section>
2998
2999<section title="Retrying Requests" anchor="persistent.retrying.requests">
3000<t>
3001   Senders can close the transport connection at any time. Therefore,
3002   clients, servers, and proxies &MUST; be able to recover
3003   from asynchronous close events. Client software &MAY; reopen the
3004   transport connection and retransmit the aborted sequence of requests
3005   without user interaction so long as the request sequence is
3006   idempotent (see &idempotent-methods;). Non-idempotent request methods or sequences
3007   &MUST-NOT; be automatically retried, although user agents &MAY; offer a
3008   human operator the choice of retrying the request(s). Confirmation by
3009   user-agent software with semantic understanding of the application
3010   &MAY; substitute for user confirmation. The automatic retry &SHOULD-NOT; 
3011   be repeated if the second sequence of requests fails.
3012</t>
3013</section>
3014
3015</section>
3016
3017<section title="Message Transmission Requirements" anchor="message.transmission.requirements">
3018
3019<section title="Persistent Connections and Flow Control" anchor="persistent.flow">
3020<t>
3021   HTTP/1.1 servers &SHOULD; maintain persistent connections and use TCP's
3022   flow control mechanisms to resolve temporary overloads, rather than
3023   terminating connections with the expectation that clients will retry.
3024   The latter technique can exacerbate network congestion.
3025</t>
3026</section>
3027
3028<section title="Monitoring Connections for Error Status Messages" anchor="persistent.monitor">
3029<t>
3030   An HTTP/1.1 (or later) client sending a message body &SHOULD; monitor
3031   the network connection for an error status code while it is transmitting
3032   the request. If the client sees an error status code, it &SHOULD;
3033   immediately cease transmitting the body. If the body is being sent
3034   using a "chunked" encoding (<xref target="transfer.codings"/>), a zero length chunk and
3035   empty trailer &MAY; be used to prematurely mark the end of the message.
3036   If the body was preceded by a Content-Length header field, the client &MUST;
3037   close the connection.
3038</t>
3039</section>
3040
3041<section title="Use of the 100 (Continue) Status" anchor="use.of.the.100.status">
3042<t>
3043   The purpose of the 100 (Continue) status code (see &status-100;) is to
3044   allow a client that is sending a request message with a request body
3045   to determine if the origin server is willing to accept the request
3046   (based on the request header fields) before the client sends the request
3047   body. In some cases, it might either be inappropriate or highly
3048   inefficient for the client to send the body if the server will reject
3049   the message without looking at the body.
3050</t>
3051<t>
3052   Requirements for HTTP/1.1 clients:
3053  <list style="symbols">
3054    <t>
3055        If a client will wait for a 100 (Continue) response before
3056        sending the request body, it &MUST; send an Expect header
3057        field (&header-expect;) with the "100-continue" expectation.
3058    </t>
3059    <t>
3060        A client &MUST-NOT; send an Expect header field (&header-expect;)
3061        with the "100-continue" expectation if it does not intend
3062        to send a request body.
3063    </t>
3064  </list>
3065</t>
3066<t>
3067   Because of the presence of older implementations, the protocol allows
3068   ambiguous situations in which a client might send "Expect: 100-continue"
3069   without receiving either a 417 (Expectation Failed)
3070   or a 100 (Continue) status code. Therefore, when a client sends this
3071   header field to an origin server (possibly via a proxy) from which it
3072   has never seen a 100 (Continue) status code, the client &SHOULD-NOT; 
3073   wait for an indefinite period before sending the request body.
3074</t>
3075<t>
3076   Requirements for HTTP/1.1 origin servers:
3077  <list style="symbols">
3078    <t> Upon receiving a request which includes an Expect header
3079        field with the "100-continue" expectation, an origin server &MUST;
3080        either respond with 100 (Continue) status code and continue to read
3081        from the input stream, or respond with a final status code. The
3082        origin server &MUST-NOT; wait for the request body before sending
3083        the 100 (Continue) response. If it responds with a final status
3084        code, it &MAY; close the transport connection or it &MAY; continue
3085        to read and discard the rest of the request.  It &MUST-NOT;
3086        perform the request method if it returns a final status code.
3087    </t>
3088    <t> An origin server &SHOULD-NOT;  send a 100 (Continue) response if
3089        the request message does not include an Expect header
3090        field with the "100-continue" expectation, and &MUST-NOT; send a
3091        100 (Continue) response if such a request comes from an HTTP/1.0
3092        (or earlier) client. There is an exception to this rule: for
3093        compatibility with <xref target="RFC2068"/>, a server &MAY; send a 100 (Continue)
3094        status code in response to an HTTP/1.1 PUT or POST request that does
3095        not include an Expect header field with the "100-continue"
3096        expectation. This exception, the purpose of which is
3097        to minimize any client processing delays associated with an
3098        undeclared wait for 100 (Continue) status code, applies only to
3099        HTTP/1.1 requests, and not to requests with any other HTTP-version
3100        value.
3101    </t>
3102    <t> An origin server &MAY; omit a 100 (Continue) response if it has
3103        already received some or all of the request body for the
3104        corresponding request.
3105    </t>
3106    <t> An origin server that sends a 100 (Continue) response &MUST;
3107        ultimately send a final status code, once the request body is
3108        received and processed, unless it terminates the transport
3109        connection prematurely.
3110    </t>
3111    <t> If an origin server receives a request that does not include an
3112        Expect header field with the "100-continue" expectation,
3113        the request includes a request body, and the server responds
3114        with a final status code before reading the entire request body
3115        from the transport connection, then the server &SHOULD-NOT;  close
3116        the transport connection until it has read the entire request,
3117        or until the client closes the connection. Otherwise, the client
3118        might not reliably receive the response message. However, this
3119        requirement ought not be construed as preventing a server from
3120        defending itself against denial-of-service attacks, or from
3121        badly broken client implementations.
3122      </t>
3123    </list>
3124</t>
3125<t>
3126   Requirements for HTTP/1.1 proxies:
3127  <list style="symbols">
3128    <t> If a proxy receives a request that includes an Expect header
3129        field with the "100-continue" expectation, and the proxy
3130        either knows that the next-hop server complies with HTTP/1.1 or
3131        higher, or does not know the HTTP version of the next-hop
3132        server, it &MUST; forward the request, including the Expect header
3133        field.
3134    </t>
3135    <t> If the proxy knows that the version of the next-hop server is
3136        HTTP/1.0 or lower, it &MUST-NOT; forward the request, and it &MUST;
3137        respond with a 417 (Expectation Failed) status code.
3138    </t>
3139    <t> Proxies &SHOULD; maintain a record of the HTTP version
3140        numbers received from recently-referenced next-hop servers.
3141    </t>
3142    <t> A proxy &MUST-NOT; forward a 100 (Continue) response if the
3143        request message was received from an HTTP/1.0 (or earlier)
3144        client and did not include an Expect header field with
3145        the "100-continue" expectation. This requirement overrides the
3146        general rule for forwarding of 1xx responses (see &status-1xx;).
3147    </t>
3148  </list>
3149</t>
3150</section>
3151
3152<section title="Closing Connections on Error" anchor="closing.connections.on.error">
3153<t>
3154   If the client is sending data, a server implementation using TCP
3155   &SHOULD; be careful to ensure that the client acknowledges receipt of
3156   the packet(s) containing the response, before the server closes the
3157   input connection. If the client continues sending data to the server
3158   after the close, the server's TCP stack will send a reset packet to
3159   the client, which might erase the client's unacknowledged input buffers
3160   before they can be read and interpreted by the HTTP application.
3161</t>
3162</section>
3163
3164</section>
3165</section>
3166
3167
3168<section title="Miscellaneous notes that might disappear" anchor="misc">
3169<section title="Scheme aliases considered harmful" anchor="scheme.aliases">
3170<t>
3171   <cref anchor="TBD-aliases-harmful">describe why aliases like webcal are harmful.</cref>
3172</t>
3173</section>
3174
3175<section title="Use of HTTP for proxy communication" anchor="http.proxy">
3176<t>
3177   <cref anchor="TBD-proxy-other">Configured to use HTTP to proxy HTTP or other protocols.</cref>
3178</t>
3179</section>
3180
3181<section title="Interception of HTTP for access control" anchor="http.intercept">
3182<t>
3183   <cref anchor="TBD-intercept">Interception of HTTP traffic for initiating access control.</cref>
3184</t>
3185</section>
3186
3187<section title="Use of HTTP by other protocols" anchor="http.others">
3188<t>
3189   <cref anchor="TBD-profiles">Profiles of HTTP defined by other protocol.
3190   Extensions of HTTP like WebDAV.</cref>
3191</t>
3192
3193</section>
3194<section title="Use of HTTP by media type specification" anchor="http.media">
3195<t>
3196   <cref anchor="TBD-hypertext">Instructions on composing HTTP requests via hypertext formats.</cref>
3197</t>
3198</section>
3199</section>
3200
3201<section title="Header Field Definitions" anchor="header.field.definitions">
3202<t>
3203   This section defines the syntax and semantics of HTTP header fields
3204   related to message origination, framing, and routing.
3205</t>
3206<texttable align="left">
3207  <ttcol>Header Field Name</ttcol>
3208  <ttcol>Defined in...</ttcol>
3209 
3210  <c>Connection</c> <c><xref target="header.connection"/></c>
3211  <c>Content-Length</c> <c><xref target="header.content-length"/></c>
3212  <c>Host</c> <c><xref target="header.host"/></c>
3213  <c>TE</c> <c><xref target="header.te"/></c>
3214  <c>Trailer</c> <c><xref target="header.trailer"/></c>
3215  <c>Transfer-Encoding</c> <c><xref target="header.transfer-encoding"/></c>
3216  <c>Upgrade</c> <c><xref target="header.upgrade"/></c>
3217  <c>Via</c> <c><xref target="header.via"/></c>
3218</texttable>
3219
3220<section title="Connection" anchor="header.connection">
3221  <iref primary="true" item="Connection header field" x:for-anchor=""/>
3222  <iref primary="true" item="Header Fields" subitem="Connection" x:for-anchor=""/>
3223  <x:anchor-alias value="Connection"/>
3224  <x:anchor-alias value="connection-token"/>
3225<t>
3226   The "Connection" header field allows the sender to specify
3227   options that are desired only for that particular connection.
3228   Such connection options &MUST; be removed or replaced before the
3229   message can be forwarded downstream by a proxy or gateway.
3230   This mechanism also allows the sender to indicate which HTTP
3231   header fields used in the message are only intended for the
3232   immediate recipient ("hop-by-hop"), as opposed to all recipients
3233   on the chain ("end-to-end"), enabling the message to be
3234   self-descriptive and allowing future connection-specific extensions
3235   to be deployed in HTTP without fear that they will be blindly
3236   forwarded by previously deployed intermediaries.
3237</t>
3238<t>
3239   The Connection header field's value has the following grammar:
3240</t>
3241<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Connection"/><iref primary="true" item="Grammar" subitem="connection-token"/>
3242  <x:ref>Connection</x:ref>       = 1#<x:ref>connection-token</x:ref>
3243  <x:ref>connection-token</x:ref> = <x:ref>token</x:ref>
3244</artwork></figure>
3245<t>
3246   A proxy or gateway &MUST; parse a received Connection
3247   header field before a message is forwarded and, for each
3248   connection-token in this field, remove any header field(s) from
3249   the message with the same name as the connection-token, and then
3250   remove the Connection header field itself or replace it with the
3251   sender's own connection options for the forwarded message.
3252</t>
3253<t>
3254   A sender &MUST-NOT; include field-names in the Connection header
3255   field-value for fields that are defined as expressing constraints
3256   for all recipients in the request or response chain, such as the
3257   Cache-Control header field (&header-cache-control;).
3258</t>
3259<t>
3260   The connection options do not have to correspond to a header field
3261   present in the message, since a connection-specific header field
3262   might not be needed if there are no parameters associated with that
3263   connection option.  Recipients that trigger certain connection
3264   behavior based on the presence of connection options &MUST; do so
3265   based on the presence of the connection-token rather than only the
3266   presence of the optional header field.  In other words, if the
3267   connection option is received as a header field but not indicated
3268   within the Connection field-value, then the recipient &MUST; ignore
3269   the connection-specific header field because it has likely been
3270   forwarded by an intermediary that is only partially conformant.
3271</t>
3272<t>
3273   When defining new connection options, specifications ought to
3274   carefully consider existing deployed header fields and ensure
3275   that the new connection-token does not share the same name as
3276   an unrelated header field that might already be deployed.
3277   Defining a new connection-token essentially reserves that potential
3278   field-name for carrying additional information related to the
3279   connection option, since it would be unwise for senders to use
3280   that field-name for anything else.
3281</t>
3282<t>
3283   HTTP/1.1 defines the "close" connection option for the sender to
3284   signal that the connection will be closed after completion of the
3285   response. For example,
3286</t>
3287<figure><artwork type="example">
3288  Connection: close
3289</artwork></figure>
3290<t>
3291   in either the request or the response header fields indicates that
3292   the connection &SHOULD-NOT;  be considered "persistent" (<xref target="persistent.connections"/>)
3293   after the current request/response is complete.
3294</t>
3295<t>
3296   An HTTP/1.1 client that does not support persistent connections &MUST;
3297   include the "close" connection option in every request message.
3298</t>
3299<t>
3300   An HTTP/1.1 server that does not support persistent connections &MUST;
3301   include the "close" connection option in every response message that
3302   does not have a 1xx (Informational) status code.
3303</t>
3304</section>
3305
3306<section title="Upgrade" anchor="header.upgrade">
3307  <iref primary="true" item="Upgrade header field" x:for-anchor=""/>
3308  <iref primary="true" item="Header Fields" subitem="Upgrade" x:for-anchor=""/>
3309  <x:anchor-alias value="Upgrade"/>
3310  <x:anchor-alias value="protocol"/>
3311  <x:anchor-alias value="protocol-name"/>
3312  <x:anchor-alias value="protocol-version"/>
3313<t>
3314   The "Upgrade" header field allows the client to specify what
3315   additional communication protocols it would like to use, if the server
3316   chooses to switch protocols. Servers can use it to indicate what protocols
3317   they are willing to switch to.
3318</t>
3319<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Upgrade"/>
3320  <x:ref>Upgrade</x:ref>          = 1#<x:ref>protocol</x:ref>
3321
3322  <x:ref>protocol</x:ref>         = <x:ref>protocol-name</x:ref> ["/" <x:ref>protocol-version</x:ref>]
3323  <x:ref>protocol-name</x:ref>    = <x:ref>token</x:ref>
3324  <x:ref>protocol-version</x:ref> = <x:ref>token</x:ref>
3325</artwork></figure>
3326<t>
3327   For example,
3328</t>
3329<figure><artwork type="example">
3330  Upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11
3331</artwork></figure>
3332<t>
3333   The Upgrade header field is intended to provide a simple mechanism
3334   for transitioning from HTTP/1.1 to some other, incompatible protocol. It
3335   does so by allowing the client to advertise its desire to use another
3336   protocol, such as a later version of HTTP with a higher major version
3337   number, even though the current request has been made using HTTP/1.1.
3338   This eases the difficult transition between incompatible protocols by
3339   allowing the client to initiate a request in the more commonly
3340   supported protocol while indicating to the server that it would like
3341   to use a "better" protocol if available (where "better" is determined
3342   by the server, possibly according to the nature of the request method
3343   or target resource).
3344</t>
3345<t>
3346   The Upgrade header field only applies to switching application-layer
3347   protocols upon the existing transport-layer connection. Upgrade
3348   cannot be used to insist on a protocol change; its acceptance and use
3349   by the server is optional. The capabilities and nature of the
3350   application-layer communication after the protocol change is entirely
3351   dependent upon the new protocol chosen, although the first action
3352   after changing the protocol &MUST; be a response to the initial HTTP
3353   request containing the Upgrade header field.
3354</t>
3355<t>
3356   The Upgrade header field only applies to the immediate connection.
3357   Therefore, the upgrade keyword &MUST; be supplied within a Connection
3358   header field (<xref target="header.connection"/>) whenever Upgrade is present in an
3359   HTTP/1.1 message.
3360</t>
3361<t>
3362   The Upgrade header field cannot be used to indicate a switch to a
3363   protocol on a different connection. For that purpose, it is more
3364   appropriate to use a 3xx redirection response (&status-3xx;).
3365</t>
3366<t>
3367   Servers &MUST; include the "Upgrade" header field in 101 (Switching
3368   Protocols) responses to indicate which protocol(s) are being switched to,
3369   and &MUST; include it in 426 (Upgrade Required) responses to indicate
3370   acceptable protocols to upgrade to. Servers &MAY; include it in any other
3371   response to indicate that they are willing to upgrade to one of the
3372   specified protocols.
3373</t>
3374<t>
3375   This specification only defines the protocol name "HTTP" for use by
3376   the family of Hypertext Transfer Protocols, as defined by the HTTP
3377   version rules of <xref target="http.version"/> and future updates to this
3378   specification. Additional tokens can be registered with IANA using the
3379   registration procedure defined below. 
3380</t>
3381
3382<section title="Upgrade Token Registry" anchor="upgrade.token.registry">
3383<t>
3384   The HTTP Upgrade Token Registry defines the name space for protocol-name
3385   tokens used to identify protocols in the Upgrade header field.
3386   Each registered protocol-name is associated with contact information and
3387   an optional set of specifications that details how the connection
3388   will be processed after it has been upgraded.
3389</t>
3390<t>
3391   Registrations require IETF Review (see
3392   <xref target="RFC5226" x:sec="4.1" x:fmt="of"/>) and are subject to the
3393   following rules:
3394  <list style="numbers">
3395    <t>A protocol-name token, once registered, stays registered forever.</t>
3396    <t>The registration &MUST; name a responsible party for the
3397       registration.</t>
3398    <t>The registration &MUST; name a point of contact.</t>
3399    <t>The registration &MAY; name a set of specifications associated with
3400       that token. Such specifications need not be publicly available.</t>
3401    <t>The registration &SHOULD; name a set of expected "protocol-version"
3402       tokens associated with that token at the time of registration.</t>
3403    <t>The responsible party &MAY; change the registration at any time.
3404       The IANA will keep a record of all such changes, and make them
3405       available upon request.</t>
3406    <t>The IESG &MAY; reassign responsibility for a protocol token.
3407       This will normally only be used in the case when a
3408       responsible party cannot be contacted.</t>
3409  </list>
3410</t>
3411</section>
3412
3413
3414</section>
3415
3416<section title="Via" anchor="header.via">
3417  <iref primary="true" item="Via header field" x:for-anchor=""/>
3418  <iref primary="true" item="Header Fields" subitem="Via" x:for-anchor=""/>
3419  <x:anchor-alias value="pseudonym"/>
3420  <x:anchor-alias value="received-by"/>
3421  <x:anchor-alias value="received-protocol"/>
3422  <x:anchor-alias value="Via"/>
3423<t>
3424   The "Via" header field &MUST; be sent by a proxy or gateway to
3425   indicate the intermediate protocols and recipients between the user
3426   agent and the server on requests, and between the origin server and
3427   the client on responses. It is analogous to the "Received" field
3428   used by email systems (<xref target="RFC5322" x:fmt="of" x:sec="3.6.7"/>)
3429   and is intended to be used for tracking message forwards,
3430   avoiding request loops, and identifying the protocol capabilities of
3431   all senders along the request/response chain.
3432</t>
3433<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Via"/><iref primary="true" item="Grammar" subitem="received-protocol"/><iref primary="true" item="Grammar" subitem="protocol-name"/><iref primary="true" item="Grammar" subitem="protocol-version"/><iref primary="true" item="Grammar" subitem="received-by"/><iref primary="true" item="Grammar" subitem="pseudonym"/>
3434  <x:ref>Via</x:ref>               = 1#( <x:ref>received-protocol</x:ref> <x:ref>RWS</x:ref> <x:ref>received-by</x:ref>
3435                          [ <x:ref>RWS</x:ref> <x:ref>comment</x:ref> ] )
3436  <x:ref>received-protocol</x:ref> = [ <x:ref>protocol-name</x:ref> "/" ] <x:ref>protocol-version</x:ref>
3437  <x:ref>received-by</x:ref>       = ( <x:ref>uri-host</x:ref> [ ":" <x:ref>port</x:ref> ] ) / <x:ref>pseudonym</x:ref>
3438  <x:ref>pseudonym</x:ref>         = <x:ref>token</x:ref>
3439</artwork></figure>
3440<t>
3441   The received-protocol indicates the protocol version of the message
3442   received by the server or client along each segment of the
3443   request/response chain. The received-protocol version is appended to
3444   the Via field value when the message is forwarded so that information
3445   about the protocol capabilities of upstream applications remains
3446   visible to all recipients.
3447</t>
3448<t>
3449   The protocol-name is excluded if and only if it would be "HTTP". The
3450   received-by field is normally the host and optional port number of a
3451   recipient server or client that subsequently forwarded the message.
3452   However, if the real host is considered to be sensitive information,
3453   it &MAY; be replaced by a pseudonym. If the port is not given, it &MAY;
3454   be assumed to be the default port of the received-protocol.
3455</t>
3456<t>
3457   Multiple Via field values represent each proxy or gateway that has
3458   forwarded the message. Each recipient &MUST; append its information
3459   such that the end result is ordered according to the sequence of
3460   forwarding applications.
3461</t>
3462<t>
3463   Comments &MAY; be used in the Via header field to identify the software
3464   of each recipient, analogous to the User-Agent and Server header fields.
3465   However, all comments in the Via field are optional and &MAY; be removed
3466   by any recipient prior to forwarding the message.
3467</t>
3468<t>
3469   For example, a request message could be sent from an HTTP/1.0 user
3470   agent to an internal proxy code-named "fred", which uses HTTP/1.1 to
3471   forward the request to a public proxy at p.example.net, which completes
3472   the request by forwarding it to the origin server at www.example.com.
3473   The request received by www.example.com would then have the following
3474   Via header field:
3475</t>
3476<figure><artwork type="example">
3477  Via: 1.0 fred, 1.1 p.example.net (Apache/1.1)
3478</artwork></figure>
3479<t>
3480   A proxy or gateway used as a portal through a network firewall
3481   &SHOULD-NOT; forward the names and ports of hosts within the firewall
3482   region unless it is explicitly enabled to do so. If not enabled, the
3483   received-by host of any host behind the firewall &SHOULD; be replaced
3484   by an appropriate pseudonym for that host.
3485</t>
3486<t>
3487   For organizations that have strong privacy requirements for hiding
3488   internal structures, a proxy or gateway &MAY; combine an ordered
3489   subsequence of Via header field entries with identical received-protocol
3490   values into a single such entry. For example,
3491</t>
3492<figure><artwork type="example">
3493  Via: 1.0 ricky, 1.1 ethel, 1.1 fred, 1.0 lucy
3494</artwork></figure>
3495<t>
3496  could be collapsed to
3497</t>
3498<figure><artwork type="example">
3499  Via: 1.0 ricky, 1.1 mertz, 1.0 lucy
3500</artwork></figure>
3501<t>
3502   Senders &SHOULD-NOT; combine multiple entries unless they are all
3503   under the same organizational control and the hosts have already been
3504   replaced by pseudonyms. Senders &MUST-NOT; combine entries which
3505   have different received-protocol values.
3506</t>
3507</section>
3508
3509</section>
3510
3511<section title="IANA Considerations" anchor="IANA.considerations">
3512
3513<section title="Header Field Registration" anchor="header.field.registration">
3514<t>
3515   The Message Header Field Registry located at <eref target="http://www.iana.org/assignments/message-headers/message-header-index.html"/> shall be updated
3516   with the permanent registrations below (see <xref target="RFC3864"/>):
3517</t>
3518<?BEGININC p1-messaging.iana-headers ?>
3519<!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually-->
3520<texttable align="left" suppress-title="true" anchor="iana.header.registration.table">
3521   <ttcol>Header Field Name</ttcol>
3522   <ttcol>Protocol</ttcol>
3523   <ttcol>Status</ttcol>
3524   <ttcol>Reference</ttcol>
3525
3526   <c>Connection</c>
3527   <c>http</c>
3528   <c>standard</c>
3529   <c>
3530      <xref target="header.connection"/>
3531   </c>
3532   <c>Content-Length</c>
3533   <c>http</c>
3534   <c>standard</c>
3535   <c>
3536      <xref target="header.content-length"/>
3537   </c>
3538   <c>Host</c>
3539   <c>http</c>
3540   <c>standard</c>
3541   <c>
3542      <xref target="header.host"/>
3543   </c>
3544   <c>TE</c>
3545   <c>http</c>
3546   <c>standard</c>
3547   <c>
3548      <xref target="header.te"/>
3549   </c>
3550   <c>Trailer</c>
3551   <c>http</c>
3552   <c>standard</c>
3553   <c>
3554      <xref target="header.trailer"/>
3555   </c>
3556   <c>Transfer-Encoding</c>
3557   <c>http</c>
3558   <c>standard</c>
3559   <c>
3560      <xref target="header.transfer-encoding"/>
3561   </c>
3562   <c>Upgrade</c>
3563   <c>http</c>
3564   <c>standard</c>
3565   <c>
3566      <xref target="header.upgrade"/>
3567   </c>
3568   <c>Via</c>
3569   <c>http</c>
3570   <c>standard</c>
3571   <c>
3572      <xref target="header.via"/>
3573   </c>
3574</texttable>
3575<!--(END)-->
3576<?ENDINC p1-messaging.iana-headers ?>
3577<t>
3578   Furthermore, the header field name "Close" shall be registered as "reserved", as its use as
3579   HTTP header field would be in conflict with the use of the "close" connection
3580   option for the "Connection" header field (<xref target="header.connection"/>).
3581</t>
3582<texttable align="left" suppress-title="true">
3583   <ttcol>Header Field Name</ttcol>
3584   <ttcol>Protocol</ttcol>
3585   <ttcol>Status</ttcol>
3586   <ttcol>Reference</ttcol>
3587
3588   <c>Close</c>
3589   <c>http</c>
3590   <c>reserved</c>
3591   <c>
3592      <xref target="header.field.registration"/>
3593   </c>
3594</texttable>
3595<t>
3596   The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".
3597</t>
3598</section>
3599
3600<section title="URI Scheme Registration" anchor="uri.scheme.registration">
3601<t>
3602   The entries for the "http" and "https" URI Schemes in the registry located at
3603   <eref target="http://www.iana.org/assignments/uri-schemes.html"/>
3604   shall be updated to point to Sections <xref target="http.uri" format="counter"/>
3605   and <xref target="https.uri" format="counter"/> of this document
3606   (see <xref target="RFC4395"/>).
3607</t>
3608</section>
3609
3610<section title="Internet Media Type Registrations" anchor="internet.media.type.http">
3611<t>
3612   This document serves as the specification for the Internet media types
3613   "message/http" and "application/http". The following is to be registered with
3614   IANA (see <xref target="RFC4288"/>).
3615</t>
3616<section title="Internet Media Type message/http" anchor="internet.media.type.message.http">
3617<iref item="Media Type" subitem="message/http" primary="true"/>
3618<iref item="message/http Media Type" primary="true"/>
3619<t>
3620   The message/http type can be used to enclose a single HTTP request or
3621   response message, provided that it obeys the MIME restrictions for all
3622   "message" types regarding line length and encodings.
3623</t>
3624<t>
3625  <list style="hanging" x:indent="12em">
3626    <t hangText="Type name:">
3627      message
3628    </t>
3629    <t hangText="Subtype name:">
3630      http
3631    </t>
3632    <t hangText="Required parameters:">
3633      none
3634    </t>
3635    <t hangText="Optional parameters:">
3636      version, msgtype
3637      <list style="hanging">
3638        <t hangText="version:">
3639          The HTTP-version number of the enclosed message
3640          (e.g., "1.1"). If not present, the version can be
3641          determined from the first line of the body.
3642        </t>
3643        <t hangText="msgtype:">
3644          The message type &mdash; "request" or "response". If not
3645          present, the type can be determined from the first
3646          line of the body.
3647        </t>
3648      </list>
3649    </t>
3650    <t hangText="Encoding considerations:">
3651      only "7bit", "8bit", or "binary" are permitted
3652    </t>
3653    <t hangText="Security considerations:">
3654      none
3655    </t>
3656    <t hangText="Interoperability considerations:">
3657      none
3658    </t>
3659    <t hangText="Published specification:">
3660      This specification (see <xref target="internet.media.type.message.http"/>).
3661    </t>
3662    <t hangText="Applications that use this media type:">
3663    </t>
3664    <t hangText="Additional information:">
3665      <list style="hanging">
3666        <t hangText="Magic number(s):">none</t>
3667        <t hangText="File extension(s):">none</t>
3668        <t hangText="Macintosh file type code(s):">none</t>
3669      </list>
3670    </t>
3671    <t hangText="Person and email address to contact for further information:">
3672      See Authors Section.
3673    </t>
3674    <t hangText="Intended usage:">
3675      COMMON
3676    </t>
3677    <t hangText="Restrictions on usage:">
3678      none
3679    </t>
3680    <t hangText="Author/Change controller:">
3681      IESG
3682    </t>
3683  </list>
3684</t>
3685</section>
3686<section title="Internet Media Type application/http" anchor="internet.media.type.application.http">
3687<iref item="Media Type" subitem="application/http" primary="true"/>
3688<iref item="application/http Media Type" primary="true"/>
3689<t>
3690   The application/http type can be used to enclose a pipeline of one or more
3691   HTTP request or response messages (not intermixed).
3692</t>
3693<t>
3694  <list style="hanging" x:indent="12em">
3695    <t hangText="Type name:">
3696      application
3697    </t>
3698    <t hangText="Subtype name:">
3699      http
3700    </t>
3701    <t hangText="Required parameters:">
3702      none
3703    </t>
3704    <t hangText="Optional parameters:">
3705      version, msgtype
3706      <list style="hanging">
3707        <t hangText="version:">
3708          The HTTP-version number of the enclosed messages
3709          (e.g., "1.1"). If not present, the version can be
3710          determined from the first line of the body.
3711        </t>
3712        <t hangText="msgtype:">
3713          The message type &mdash; "request" or "response". If not
3714          present, the type can be determined from the first
3715          line of the body.
3716        </t>
3717      </list>
3718    </t>
3719    <t hangText="Encoding considerations:">
3720      HTTP messages enclosed by this type
3721      are in "binary" format; use of an appropriate
3722      Content-Transfer-Encoding is required when
3723      transmitted via E-mail.
3724    </t>
3725    <t hangText="Security considerations:">
3726      none
3727    </t>
3728    <t hangText="Interoperability considerations:">
3729      none
3730    </t>
3731    <t hangText="Published specification:">
3732      This specification (see <xref target="internet.media.type.application.http"/>).
3733    </t>
3734    <t hangText="Applications that use this media type:">
3735    </t>
3736    <t hangText="Additional information:">
3737      <list style="hanging">
3738        <t hangText="Magic number(s):">none</t>
3739        <t hangText="File extension(s):">none</t>
3740        <t hangText="Macintosh file type code(s):">none</t>
3741      </list>
3742    </t>
3743    <t hangText="Person and email address to contact for further information:">
3744      See Authors Section.
3745    </t>
3746    <t hangText="Intended usage:">
3747      COMMON
3748    </t>
3749    <t hangText="Restrictions on usage:">
3750      none
3751    </t>
3752    <t hangText="Author/Change controller:">
3753      IESG
3754    </t>
3755  </list>
3756</t>
3757</section>
3758</section>
3759
3760<section title="Transfer Coding Registry" anchor="transfer.coding.registration">
3761<t>
3762   The registration procedure for HTTP Transfer Codings is now defined by
3763   <xref target="transfer.coding.registry"/> of this document.
3764</t>
3765<t>
3766   The HTTP Transfer Codings Registry located at <eref target="http://www.iana.org/assignments/http-parameters"/>
3767   shall be updated with the registrations below:
3768</t>
3769<texttable align="left" suppress-title="true" anchor="iana.transfer.coding.registration.table">
3770   <ttcol>Name</ttcol>
3771   <ttcol>Description</ttcol>
3772   <ttcol>Reference</ttcol>
3773   <c>chunked</c>
3774   <c>Transfer in a series of chunks</c>
3775   <c>
3776      <xref target="chunked.encoding"/>
3777   </c>
3778   <c>compress</c>
3779   <c>UNIX "compress" program method</c>
3780   <c>
3781      <xref target="compress.coding"/>
3782   </c>
3783   <c>deflate</c>
3784   <c>"deflate" compression mechanism (<xref target="RFC1951"/>) used inside
3785   the "zlib" data format (<xref target="RFC1950"/>)
3786   </c>
3787   <c>
3788      <xref target="deflate.coding"/>
3789   </c>
3790   <c>gzip</c>
3791   <c>Same as GNU zip <xref target="RFC1952"/></c>
3792   <c>
3793      <xref target="gzip.coding"/>
3794   </c>
3795</texttable>
3796</section>
3797
3798<section title="Upgrade Token Registration" anchor="upgrade.token.registration">
3799<t>
3800   The registration procedure for HTTP Upgrade Tokens &mdash; previously defined
3801   in <xref target="RFC2817" x:fmt="of" x:sec="7.2"/> &mdash; is now defined
3802   by <xref target="upgrade.token.registry"/> of this document.
3803</t>
3804<t>
3805   The HTTP Upgrade Token Registry located at <eref target="http://www.iana.org/assignments/http-upgrade-tokens/"/>
3806   shall be updated with the registration below:
3807</t>
3808<texttable align="left" suppress-title="true">
3809   <ttcol>Value</ttcol>
3810   <ttcol>Description</ttcol>
3811   <ttcol>Reference</ttcol>
3812
3813   <c>HTTP</c>
3814   <c>Hypertext Transfer Protocol</c> 
3815   <c><xref target="http.version"/> of this specification</c>
3816
3817</texttable>
3818</section>
3819
3820</section>
3821
3822<section title="Security Considerations" anchor="security.considerations">
3823<t>
3824   This section is meant to inform application developers, information
3825   providers, and users of the security limitations in HTTP/1.1 as
3826   described by this document. The discussion does not include
3827   definitive solutions to the problems revealed, though it does make
3828   some suggestions for reducing security risks.
3829</t>
3830
3831<section title="Personal Information" anchor="personal.information">
3832<t>
3833   HTTP clients are often privy to large amounts of personal information
3834   (e.g., the user's name, location, mail address, passwords, encryption
3835   keys, etc.), and &SHOULD; be very careful to prevent unintentional
3836   leakage of this information.
3837   We very strongly recommend that a convenient interface be provided
3838   for the user to control dissemination of such information, and that
3839   designers and implementors be particularly careful in this area.
3840   History shows that errors in this area often create serious security
3841   and/or privacy problems and generate highly adverse publicity for the
3842   implementor's company.
3843</t>
3844</section>
3845
3846<section title="Abuse of Server Log Information" anchor="abuse.of.server.log.information">
3847<t>
3848   A server is in the position to save personal data about a user's
3849   requests which might identify their reading patterns or subjects of
3850   interest. This information is clearly confidential in nature and its
3851   handling can be constrained by law in certain countries. People using
3852   HTTP to provide data are responsible for ensuring that
3853   such material is not distributed without the permission of any
3854   individuals that are identifiable by the published results.
3855</t>
3856</section>
3857
3858<section title="Attacks Based On File and Path Names" anchor="attack.pathname">
3859<t>
3860   Implementations of HTTP origin servers &SHOULD; be careful to restrict
3861   the documents returned by HTTP requests to be only those that were
3862   intended by the server administrators. If an HTTP server translates
3863   HTTP URIs directly into file system calls, the server &MUST; take
3864   special care not to serve files that were not intended to be
3865   delivered to HTTP clients. For example, UNIX, Microsoft Windows, and
3866   other operating systems use ".." as a path component to indicate a
3867   directory level above the current one. On such a system, an HTTP
3868   server &MUST; disallow any such construct in the request-target if it
3869   would otherwise allow access to a resource outside those intended to
3870   be accessible via the HTTP server. Similarly, files intended for
3871   reference only internally to the server (such as access control
3872   files, configuration files, and script code) &MUST; be protected from
3873   inappropriate retrieval, since they might contain sensitive
3874   information. Experience has shown that minor bugs in such HTTP server
3875   implementations have turned into security risks.
3876</t>
3877</section>
3878
3879<section title="DNS-related Attacks" anchor="dns.related.attacks">
3880<t>
3881   HTTP clients rely heavily on the Domain Name Service (DNS), and are thus
3882   generally prone to security attacks based on the deliberate misassociation
3883   of IP addresses and DNS names not protected by DNSSec. Clients need to be
3884   cautious in assuming the validity of an IP number/DNS name association unless
3885   the response is protected by DNSSec (<xref target="RFC4033"/>).
3886</t>
3887</section>
3888
3889<section title="Proxies and Caching" anchor="attack.proxies">
3890<t>
3891   By their very nature, HTTP proxies are men-in-the-middle, and
3892   represent an opportunity for man-in-the-middle attacks. Compromise of
3893   the systems on which the proxies run can result in serious security
3894   and privacy problems. Proxies have access to security-related
3895   information, personal information about individual users and
3896   organizations, and proprietary information belonging to users and
3897   content providers. A compromised proxy, or a proxy implemented or
3898   configured without regard to security and privacy considerations,
3899   might be used in the commission of a wide range of potential attacks.
3900</t>
3901<t>
3902   Proxy operators need to protect the systems on which proxies run as
3903   they would protect any system that contains or transports sensitive
3904   information. In particular, log information gathered at proxies often
3905   contains highly sensitive personal information, and/or information
3906   about organizations. Log information needs to be carefully guarded, and
3907   appropriate guidelines for use need to be developed and followed.
3908   (<xref target="abuse.of.server.log.information"/>).
3909</t>
3910<t>
3911   Proxy implementors need to consider the privacy and security
3912   implications of their design and coding decisions, and of the
3913   configuration options they provide to proxy operators (especially the
3914   default configuration).
3915</t>
3916<t>
3917   Users of a proxy need to be aware that proxies are no more trustworthy than
3918   the people who run them; HTTP itself cannot solve this problem.
3919</t>
3920<t>
3921   The judicious use of cryptography, when appropriate, might suffice to
3922   protect against a broad range of security and privacy attacks. Such
3923   cryptography is beyond the scope of the HTTP/1.1 specification.
3924</t>
3925</section>
3926
3927<section title="Protocol Element Size Overflows" anchor="attack.protocol.element.size.overflows">
3928<t>
3929   Because HTTP uses mostly textual, character-delimited fields, attackers can
3930   overflow buffers in implementations, and/or perform a Denial of Service
3931   against implementations that accept fields with unlimited lengths.
3932</t>
3933<t>
3934   To promote interoperability, this specification makes specific
3935   recommendations for minimum size limits on request-line
3936   (<xref target="request.line"/>)
3937   and blocks of header fields (<xref target="header.fields"/>). These are
3938   minimum recommendations, chosen to be supportable even by implementations
3939   with limited resources; it is expected that most implementations will
3940   choose substantially higher limits.
3941</t>
3942<t>
3943   This specification also provides a way for servers to reject messages that
3944   have request-targets that are too long (&status-414;) or request entities
3945   that are too large (&status-4xx;).
3946</t>
3947<t>
3948   Other fields (including but not limited to request methods, response status
3949   phrases, header field-names, and body chunks) &SHOULD; be limited by
3950   implementations carefully, so as to not impede interoperability.
3951</t>
3952</section>
3953
3954<section title="Denial of Service Attacks on Proxies" anchor="attack.DoS">
3955<t>
3956   They exist. They are hard to defend against. Research continues.
3957   Beware.
3958</t>
3959</section>
3960</section>
3961
3962<section title="Acknowledgments" anchor="acks">
3963<t>
3964   This document revision builds on the work that went into
3965   <xref target="RFC2616" format="none">RFC 2616</xref> and its predecessors.
3966   See <xref target="RFC2616" x:fmt="of" x:sec="16"/> for detailed
3967   acknowledgements.
3968</t>
3969<t>
3970   Since 1999, many contributors have helped by reporting bugs, asking
3971   smart questions, drafting and reviewing text, and discussing open issues:
3972</t>
3973<?BEGININC acks ?>
3974<t>Adam Barth,
3975Adam Roach,
3976Addison Phillips,
3977Adrian Chadd,
3978Adrien de Croy,
3979Alan Ford,
3980Alan Ruttenberg,
3981Albert Lunde,
3982Alex Rousskov,
3983Alexey Melnikov,
3984Alisha Smith,
3985Amichai Rothman,
3986Amit Klein,
3987Amos Jeffries,
3988Andreas Maier,
3989Andreas Petersson,
3990Anne van Kesteren,
3991Anthony Bryan,
3992Asbjorn Ulsberg,
3993Balachander Krishnamurthy,
3994Barry Leiba,
3995Ben Laurie,
3996Benjamin Niven-Jenkins,
3997Bil Corry,
3998Bill Burke,
3999Bjoern Hoehrmann,
4000Bob Scheifler,
4001Boris Zbarsky,
4002Brett Slatkin,
4003Brian Kell,
4004Brian McBarron,
4005Brian Pane,
4006Brian Smith,
4007Bryce Nesbitt,
4008Cameron Heavon-Jones,
4009Carl Kugler,
4010Carsten Bormann,
4011Charles Fry,
4012Chris Newman,
4013Cyrus Daboo,
4014Dale Robert Anderson,
4015Dan Winship,
4016Daniel Stenberg,
4017Dave Cridland,
4018Dave Crocker,
4019Dave Kristol,
4020David Booth,
4021David Singer,
4022David W. Morris,
4023Diwakar Shetty,
4024Dmitry Kurochkin,
4025Drummond Reed,
4026Duane Wessels,
4027Edward Lee,
4028Eliot Lear,
4029Eran Hammer-Lahav,
4030Eric D. Williams,
4031Eric J. Bowman,
4032Eric Lawrence,
4033Eric Rescorla,
4034Erik Aronesty,
4035Florian Weimer,
4036Frank Ellermann,
4037Fred Bohle,
4038Geoffrey Sneddon,
4039Gervase Markham,
4040Greg Wilkins,
4041Harald Tveit Alvestrand,
4042Harry Halpin,
4043Helge Hess,
4044Henrik Nordstrom,
4045Henry S. Thompson,
4046Henry Story,
4047Herbert van de Sompel,
4048Howard Melman,
4049Hugo Haas,
4050Ian Hickson,
4051Ingo Struck,
4052J. Ross Nicoll,
4053James H. Manger,
4054James Lacey,
4055James M. Snell,
4056Jamie Lokier,
4057Jan Algermissen,
4058Jeff Hodges (for coming up with the term 'effective Request-URI'),
4059Jeff Walden,
4060Jim Luther,
4061Joe D. Williams,
4062Joe Gregorio,
4063Joe Orton,
4064John C. Klensin,
4065John C. Mallery,
4066John Cowan,
4067John Kemp,
4068John Panzer,
4069John Schneider,
4070John Stracke,
4071Jonas Sicking,
4072Jonathan Billington,
4073Jonathan Moore,
4074Jonathan Rees,
4075Jordi Ros,
4076Joris Dobbelsteen,
4077Josh Cohen,
4078Julien Pierre,
4079Jungshik Shin,
4080Justin Chapweske,
4081Justin Erenkrantz,
4082Justin James,
4083Kalvinder Singh,
4084Karl Dubost,
4085Keith Hoffman,
4086Keith Moore,
4087Koen Holtman,
4088Konstantin Voronkov,
4089Kris Zyp,
4090Lisa Dusseault,
4091Maciej Stachowiak,
4092Marc Schneider,
4093Marc Slemko,
4094Mark Baker,
4095Mark Nottingham (Working Group chair),
4096Mark Pauley,
4097Markus Lanthaler,
4098Martin J. Duerst,
4099Martin Thomson,
4100Matt Lynch,
4101Matthew Cox,
4102Max Clark,
4103Michael Burrows,
4104Michael Hausenblas,
4105Mike Amundsen,
4106Mike Belshe,
4107Mike Kelly,
4108Mike Schinkel,
4109Miles Sabin,
4110Mykyta Yevstifeyev,
4111Nathan Rixham,
4112Nicholas Shanks,
4113Nico Williams,
4114Nicolas Alvarez,
4115Nicolas Mailhot,
4116Noah Slater,
4117Pablo Castro,
4118Pat Hayes,
4119Patrick R. McManus,
4120Paul E. Jones,
4121Paul Hoffman,
4122Paul Marquess,
4123Peter Saint-Andre,
4124Peter Watkins,
4125Phil Archer,
4126Phillip Hallam-Baker,
4127Poul-Henning Kamp,
4128Preethi Natarajan,
4129Ray Polk,
4130Reto Bachmann-Gmuer,
4131Richard Cyganiak,
4132Robert Brewer,
4133Robert Collins,
4134Robert O'Callahan,
4135Robert Olofsson,
4136Robert Sayre,
4137Robert Siemer,
4138Robert de Wilde,
4139Roberto Javier Godoy,
4140Ronny Widjaja,
4141S. Mike Dierken,
4142Salvatore Loreto,
4143Sam Johnston,
4144Sam Ruby,
4145Scott Lawrence (for maintaining the original issues list),
4146Sean B. Palmer,
4147Shane McCarron,
4148Stefan Eissing,
4149Stefan Tilkov,
4150Stefanos Harhalakis,
4151Stephane Bortzmeyer,
4152Stephen Farrell,
4153Stuart Williams,
4154Subbu Allamaraju,
4155Sylvain Hellegouarch,
4156Tapan Divekar,
4157Ted Hardie,
4158Thomas Broyer,
4159Thomas Nordin,
4160Thomas Roessler,
4161Tim Morgan,
4162Tim Olsen,
4163Travis Snoozy,
4164Tyler Close,
4165Vincent Murphy,
4166Wenbo Zhu,
4167Werner Baumann,
4168Wilbur Streett,
4169Wilfredo Sanchez Vega,
4170William A. Rowe Jr.,
4171William Chan,
4172Willy Tarreau,
4173Xiaoshu Wang,
4174Yaron Goland,
4175Yngve Nysaeter Pettersen,
4176Yogesh Bang,
4177Yutaka Oiwa,
4178Zed A. Shaw, and
4179Zhong Yu.
4180</t>
4181<?ENDINC acks ?>
4182</section>
4183
4184</middle>
4185<back>
4186
4187<references title="Normative References">
4188
4189<reference anchor="ISO-8859-1">
4190  <front>
4191    <title>
4192     Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1
4193    </title>
4194    <author>
4195      <organization>International Organization for Standardization</organization>
4196    </author>
4197    <date year="1998"/>
4198  </front>
4199  <seriesInfo name="ISO/IEC" value="8859-1:1998"/>
4200</reference>
4201
4202<reference anchor="Part2">
4203  <front>
4204    <title abbrev="HTTP/1.1">HTTP/1.1, part 2: Message Semantics</title>
4205    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
4206      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
4207      <address><email>fielding@gbiv.com</email></address>
4208    </author>
4209    <author initials="J." surname="Gettys" fullname="Jim Gettys">
4210      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
4211      <address><email>jg@freedesktop.org</email></address>
4212    </author>
4213    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
4214      <organization abbrev="HP">Hewlett-Packard Company</organization>
4215      <address><email>JeffMogul@acm.org</email></address>
4216    </author>
4217    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
4218      <organization abbrev="Microsoft">Microsoft Corporation</organization>
4219      <address><email>henrikn@microsoft.com</email></address>
4220    </author>
4221    <author initials="L." surname="Masinter" fullname="Larry Masinter">
4222      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
4223      <address><email>LMM@acm.org</email></address>
4224    </author>
4225    <author initials="P." surname="Leach" fullname="Paul J. Leach">
4226      <organization abbrev="Microsoft">Microsoft Corporation</organization>
4227      <address><email>paulle@microsoft.com</email></address>
4228    </author>
4229    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
4230      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
4231      <address><email>timbl@w3.org</email></address>
4232    </author>
4233    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
4234      <organization abbrev="W3C">World Wide Web Consortium</organization>
4235      <address><email>ylafon@w3.org</email></address>
4236    </author>
4237    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
4238      <organization abbrev="greenbytes">greenbytes GmbH</organization>
4239      <address><email>julian.reschke@greenbytes.de</email></address>
4240    </author>
4241    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
4242  </front>
4243  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;"/>
4244  <x:source href="p2-semantics.xml" basename="p2-semantics"/>
4245</reference>
4246
4247<reference anchor="Part3">
4248  <front>
4249    <title abbrev="HTTP/1.1">HTTP/1.1, part 3: Message Payload and Content Negotiation</title>
4250    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
4251      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
4252      <address><email>fielding@gbiv.com</email></address>
4253    </author>
4254    <author initials="J." surname="Gettys" fullname="Jim Gettys">
4255      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
4256      <address><email>jg@freedesktop.org</email></address>
4257    </author>
4258    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
4259      <organization abbrev="HP">Hewlett-Packard Company</organization>
4260      <address><email>JeffMogul@acm.org</email></address>
4261    </author>
4262    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
4263      <organization abbrev="Microsoft">Microsoft Corporation</organization>
4264      <address><email>henrikn@microsoft.com</email></address>
4265    </author>
4266    <author initials="L." surname="Masinter" fullname="Larry Masinter">
4267      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
4268      <address><email>LMM@acm.org</email></address>
4269    </author>
4270    <author initials="P." surname="Leach" fullname="Paul J. Leach">
4271      <organization abbrev="Microsoft">Microsoft Corporation</organization>
4272      <address><email>paulle@microsoft.com</email></address>
4273    </author>
4274    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
4275      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
4276      <address><email>timbl@w3.org</email></address>
4277    </author>
4278    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
4279      <organization abbrev="W3C">World Wide Web Consortium</organization>
4280      <address><email>ylafon@w3.org</email></address>
4281    </author>
4282    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
4283      <organization abbrev="greenbytes">greenbytes GmbH</organization>
4284      <address><email>julian.reschke@greenbytes.de</email></address>
4285    </author>
4286    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
4287  </front>
4288  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p3-payload-&ID-VERSION;"/>
4289  <x:source href="p3-payload.xml" basename="p3-payload"/>
4290</reference>
4291
4292<reference anchor="Part6">
4293  <front>
4294    <title abbrev="HTTP/1.1">HTTP/1.1, part 6: Caching</title>
4295    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
4296      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
4297      <address><email>fielding@gbiv.com</email></address>
4298    </author>
4299    <author initials="J." surname="Gettys" fullname="Jim Gettys">
4300      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
4301      <address><email>jg@freedesktop.org</email></address>
4302    </author>
4303    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
4304      <organization abbrev="HP">Hewlett-Packard Company</organization>
4305      <address><email>JeffMogul@acm.org</email></address>
4306    </author>
4307    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
4308      <organization abbrev="Microsoft">Microsoft Corporation</organization>
4309      <address><email>henrikn@microsoft.com</email></address>
4310    </author>
4311    <author initials="L." surname="Masinter" fullname="Larry Masinter">
4312      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
4313      <address><email>LMM@acm.org</email></address>
4314    </author>
4315    <author initials="P." surname="Leach" fullname="Paul J. Leach">
4316      <organization abbrev="Microsoft">Microsoft Corporation</organization>
4317      <address><email>paulle@microsoft.com</email></address>
4318    </author>
4319    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
4320      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
4321      <address><email>timbl@w3.org</email></address>
4322    </author>
4323    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
4324      <organization abbrev="W3C">World Wide Web Consortium</organization>
4325      <address><email>ylafon@w3.org</email></address>
4326    </author>
4327    <author initials="M." surname="Nottingham" fullname="Mark Nottingham" role="editor">
4328      <organization>Rackspace</organization>
4329      <address><email>mnot@mnot.net</email></address>
4330    </author>
4331    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
4332      <organization abbrev="greenbytes">greenbytes GmbH</organization>
4333      <address><email>julian.reschke@greenbytes.de</email></address>
4334    </author>
4335    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
4336  </front>
4337  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p6-cache-&ID-VERSION;"/>
4338  <x:source href="p6-cache.xml" basename="p6-cache"/>
4339</reference>
4340
4341<reference anchor="RFC5234">
4342  <front>
4343    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
4344    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
4345      <organization>Brandenburg InternetWorking</organization>
4346      <address>
4347        <email>dcrocker@bbiw.net</email>
4348      </address> 
4349    </author>
4350    <author initials="P." surname="Overell" fullname="Paul Overell">
4351      <organization>THUS plc.</organization>
4352      <address>
4353        <email>paul.overell@thus.net</email>
4354      </address>
4355    </author>
4356    <date month="January" year="2008"/>
4357  </front>
4358  <seriesInfo name="STD" value="68"/>
4359  <seriesInfo name="RFC" value="5234"/>
4360</reference>
4361
4362<reference anchor="RFC2119">
4363  <front>
4364    <title>Key words for use in RFCs to Indicate Requirement Levels</title>
4365    <author initials="S." surname="Bradner" fullname="Scott Bradner">
4366      <organization>Harvard University</organization>
4367      <address><email>sob@harvard.edu</email></address>
4368    </author>
4369    <date month="March" year="1997"/>
4370  </front>
4371  <seriesInfo name="BCP" value="14"/>
4372  <seriesInfo name="RFC" value="2119"/>
4373</reference>
4374
4375<reference anchor="RFC3986">
4376 <front>
4377  <title abbrev='URI Generic Syntax'>Uniform Resource Identifier (URI): Generic Syntax</title>
4378  <author initials='T.' surname='Berners-Lee' fullname='Tim Berners-Lee'>
4379    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
4380    <address>
4381       <email>timbl@w3.org</email>
4382       <uri>http://www.w3.org/People/Berners-Lee/</uri>
4383    </address>
4384  </author>
4385  <author initials='R.' surname='Fielding' fullname='Roy T. Fielding'>
4386    <organization abbrev="Day Software">Day Software</organization>
4387    <address>
4388      <email>fielding@gbiv.com</email>
4389      <uri>http://roy.gbiv.com/</uri>
4390    </address>
4391  </author>
4392  <author initials='L.' surname='Masinter' fullname='Larry Masinter'>
4393    <organization abbrev="Adobe Systems">Adobe Systems Incorporated</organization>
4394    <address>
4395      <email>LMM@acm.org</email>
4396      <uri>http://larry.masinter.net/</uri>
4397    </address>
4398  </author>
4399  <date month='January' year='2005'></date>
4400 </front>
4401 <seriesInfo name="STD" value="66"/>
4402 <seriesInfo name="RFC" value="3986"/>
4403</reference>
4404
4405<reference anchor="USASCII">
4406  <front>
4407    <title>Coded Character Set -- 7-bit American Standard Code for Information Interchange</title>
4408    <author>
4409      <organization>American National Standards Institute</organization>
4410    </author>
4411    <date year="1986"/>
4412  </front>
4413  <seriesInfo name="ANSI" value="X3.4"/>
4414</reference>
4415
4416<reference anchor="RFC1950">
4417  <front>
4418    <title>ZLIB Compressed Data Format Specification version 3.3</title>
4419    <author initials="L.P." surname="Deutsch" fullname="L. Peter Deutsch">
4420      <organization>Aladdin Enterprises</organization>
4421      <address><email>ghost@aladdin.com</email></address>
4422    </author>
4423    <author initials="J-L." surname="Gailly" fullname="Jean-Loup Gailly"/>
4424    <date month="May" year="1996"/>
4425  </front>
4426  <seriesInfo name="RFC" value="1950"/>
4427  <!--<annotation>
4428    RFC 1950 is an Informational RFC, thus it might be less stable than
4429    this specification. On the other hand, this downward reference was
4430    present since the publication of <xref target="RFC2068" x:fmt="none">RFC 2068</xref> in 1997,
4431    therefore it is unlikely to cause problems in practice. See also
4432    <xref target="BCP97"/>.
4433  </annotation>-->
4434</reference>
4435
4436<reference anchor="RFC1951">
4437  <front>
4438    <title>DEFLATE Compressed Data Format Specification version 1.3</title>
4439    <author initials="P." surname="Deutsch" fullname="L. Peter Deutsch">
4440      <organization>Aladdin Enterprises</organization>
4441      <address><email>ghost@aladdin.com</email></address>
4442    </author>
4443    <date month="May" year="1996"/>
4444  </front>
4445  <seriesInfo name="RFC" value="1951"/>
4446  <!--<annotation>
4447    RFC 1951 is an Informational RFC, thus it might be less stable than
4448    this specification. On the other hand, this downward reference was
4449    present since the publication of <xref target="RFC2068" x:fmt="none">RFC 2068</xref> in 1997,
4450    therefore it is unlikely to cause problems in practice. See also
4451    <xref target="BCP97"/>.
4452  </annotation>-->
4453</reference>
4454
4455<reference anchor="RFC1952">
4456  <front>
4457    <title>GZIP file format specification version 4.3</title>
4458    <author initials="P." surname="Deutsch" fullname="L. Peter Deutsch">
4459      <organization>Aladdin Enterprises</organization>
4460      <address><email>ghost@aladdin.com</email></address>
4461    </author>
4462    <author initials="J-L." surname="Gailly" fullname="Jean-Loup Gailly">
4463      <address><email>gzip@prep.ai.mit.edu</email></address>
4464    </author>
4465    <author initials="M." surname="Adler" fullname="Mark Adler">
4466      <address><email>madler@alumni.caltech.edu</email></address>
4467    </author>
4468    <author initials="L.P." surname="Deutsch" fullname="L. Peter Deutsch">
4469      <address><email>ghost@aladdin.com</email></address>
4470    </author>
4471    <author initials="G." surname="Randers-Pehrson" fullname="Glenn Randers-Pehrson">
4472      <address><email>randeg@alumni.rpi.edu</email></address>
4473    </author>
4474    <date month="May" year="1996"/>
4475  </front>
4476  <seriesInfo name="RFC" value="1952"/>
4477  <!--<annotation>
4478    RFC 1952 is an Informational RFC, thus it might be less stable than
4479    this specification. On the other hand, this downward reference was
4480    present since the publication of <xref target="RFC2068" x:fmt="none">RFC 2068</xref> in 1997,
4481    therefore it is unlikely to cause problems in practice. See also
4482    <xref target="BCP97"/>.
4483  </annotation>-->
4484</reference>
4485
4486</references>
4487
4488<references title="Informative References">
4489
4490<reference anchor="Nie1997" target="http://doi.acm.org/10.1145/263105.263157">
4491  <front>
4492    <title>Network Performance Effects of HTTP/1.1, CSS1, and PNG</title>
4493    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen"/>
4494    <author initials="J." surname="Gettys" fullname="J. Gettys"/>
4495    <author initials="E." surname="Prud'hommeaux" fullname="E. Prud'hommeaux"/>
4496    <author initials="H." surname="Lie" fullname="H. Lie"/>
4497    <author initials="C." surname="Lilley" fullname="C. Lilley"/>
4498    <date year="1997" month="September"/>
4499  </front>
4500  <seriesInfo name="ACM" value="Proceedings of the ACM SIGCOMM '97 conference on Applications, technologies, architectures, and protocols for computer communication SIGCOMM '97"/>
4501</reference>
4502
4503<reference anchor="Pad1995" target="http://portal.acm.org/citation.cfm?id=219094">
4504  <front>
4505    <title>Improving HTTP Latency</title>
4506    <author initials="V.N." surname="Padmanabhan" fullname="Venkata N. Padmanabhan"/>
4507    <author initials="J.C." surname="Mogul" fullname="Jeffrey C. Mogul"/>
4508    <date year="1995" month="December"/>
4509  </front>
4510  <seriesInfo name="Computer Networks and ISDN Systems" value="v. 28, pp. 25-35"/>
4511</reference>
4512
4513<reference anchor='RFC1919'>
4514  <front>
4515    <title>Classical versus Transparent IP Proxies</title>
4516    <author initials='M.' surname='Chatel' fullname='Marc Chatel'>
4517      <address><email>mchatel@pax.eunet.ch</email></address>
4518    </author>
4519    <date year='1996' month='March' />
4520  </front>
4521  <seriesInfo name='RFC' value='1919' />
4522</reference>
4523
4524<reference anchor="RFC1945">
4525  <front>
4526    <title abbrev="HTTP/1.0">Hypertext Transfer Protocol -- HTTP/1.0</title>
4527    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
4528      <organization>MIT, Laboratory for Computer Science</organization>
4529      <address><email>timbl@w3.org</email></address>
4530    </author>
4531    <author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
4532      <organization>University of California, Irvine, Department of Information and Computer Science</organization>
4533      <address><email>fielding@ics.uci.edu</email></address>
4534    </author>
4535    <author initials="H.F." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
4536      <organization>W3 Consortium, MIT Laboratory for Computer Science</organization>
4537      <address><email>frystyk@w3.org</email></address>
4538    </author>
4539    <date month="May" year="1996"/>
4540  </front>
4541  <seriesInfo name="RFC" value="1945"/>
4542</reference>
4543
4544<reference anchor="RFC2045">
4545  <front>
4546    <title abbrev="Internet Message Bodies">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</title>
4547    <author initials="N." surname="Freed" fullname="Ned Freed">
4548      <organization>Innosoft International, Inc.</organization>
4549      <address><email>ned@innosoft.com</email></address>
4550    </author>
4551    <author initials="N.S." surname="Borenstein" fullname="Nathaniel S. Borenstein">
4552      <organization>First Virtual Holdings</organization>
4553      <address><email>nsb@nsb.fv.com</email></address>
4554    </author>
4555    <date month="November" year="1996"/>
4556  </front>
4557  <seriesInfo name="RFC" value="2045"/>
4558</reference>
4559
4560<reference anchor="RFC2047">
4561  <front>
4562    <title abbrev="Message Header Extensions">MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text</title>
4563    <author initials="K." surname="Moore" fullname="Keith Moore">
4564      <organization>University of Tennessee</organization>
4565      <address><email>moore@cs.utk.edu</email></address>
4566    </author>
4567    <date month="November" year="1996"/>
4568  </front>
4569  <seriesInfo name="RFC" value="2047"/>
4570</reference>
4571
4572<reference anchor="RFC2068">
4573  <front>
4574    <title abbrev="HTTP/1.1">Hypertext Transfer Protocol -- HTTP/1.1</title>
4575    <author initials="R." surname="Fielding" fullname="Roy T. Fielding">
4576      <organization>University of California, Irvine, Department of Information and Computer Science</organization>
4577      <address><email>fielding@ics.uci.edu</email></address>
4578    </author>
4579    <author initials="J." surname="Gettys" fullname="Jim Gettys">
4580      <organization>MIT Laboratory for Computer Science</organization>
4581      <address><email>jg@w3.org</email></address>
4582    </author>
4583    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
4584      <organization>Digital Equipment Corporation, Western Research Laboratory</organization>
4585      <address><email>mogul@wrl.dec.com</email></address>
4586    </author>
4587    <author initials="H." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
4588      <organization>MIT Laboratory for Computer Science</organization>
4589      <address><email>frystyk@w3.org</email></address>
4590    </author>
4591    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
4592      <organization>MIT Laboratory for Computer Science</organization>
4593      <address><email>timbl@w3.org</email></address>
4594    </author>
4595    <date month="January" year="1997"/>
4596  </front>
4597  <seriesInfo name="RFC" value="2068"/>
4598</reference>
4599
4600<reference anchor="RFC2145">
4601  <front>
4602    <title abbrev="HTTP Version Numbers">Use and Interpretation of HTTP Version Numbers</title>
4603    <author initials="J.C." surname="Mogul" fullname="Jeffrey C. Mogul">
4604      <organization>Western Research Laboratory</organization>
4605      <address><email>mogul@wrl.dec.com</email></address>
4606    </author>
4607    <author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
4608      <organization>Department of Information and Computer Science</organization>
4609      <address><email>fielding@ics.uci.edu</email></address>
4610    </author>
4611    <author initials="J." surname="Gettys" fullname="Jim Gettys">
4612      <organization>MIT Laboratory for Computer Science</organization>
4613      <address><email>jg@w3.org</email></address>
4614    </author>
4615    <author initials="H.F." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
4616      <organization>W3 Consortium</organization>
4617      <address><email>frystyk@w3.org</email></address>
4618    </author>
4619    <date month="May" year="1997"/>
4620  </front>
4621  <seriesInfo name="RFC" value="2145"/>
4622</reference>
4623
4624<reference anchor="RFC2616">
4625  <front>
4626    <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
4627    <author initials="R." surname="Fielding" fullname="R. Fielding">
4628      <organization>University of California, Irvine</organization>
4629      <address><email>fielding@ics.uci.edu</email></address>
4630    </author>
4631    <author initials="J." surname="Gettys" fullname="J. Gettys">
4632      <organization>W3C</organization>
4633      <address><email>jg@w3.org</email></address>
4634    </author>
4635    <author initials="J." surname="Mogul" fullname="J. Mogul">
4636      <organization>Compaq Computer Corporation</organization>
4637      <address><email>mogul@wrl.dec.com</email></address>
4638    </author>
4639    <author initials="H." surname="Frystyk" fullname="H. Frystyk">
4640      <organization>MIT Laboratory for Computer Science</organization>
4641      <address><email>frystyk@w3.org</email></address>
4642    </author>
4643    <author initials="L." surname="Masinter" fullname="L. Masinter">
4644      <organization>Xerox Corporation</organization>
4645      <address><email>masinter@parc.xerox.com</email></address>
4646    </author>
4647    <author initials="P." surname="Leach" fullname="P. Leach">
4648      <organization>Microsoft Corporation</organization>
4649      <address><email>paulle@microsoft.com</email></address>
4650    </author>
4651    <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
4652      <organization>W3C</organization>
4653      <address><email>timbl@w3.org</email></address>
4654    </author>
4655    <date month="June" year="1999"/>
4656  </front>
4657  <seriesInfo name="RFC" value="2616"/>
4658</reference>
4659
4660<reference anchor='RFC2817'>
4661  <front>
4662    <title>Upgrading to TLS Within HTTP/1.1</title>
4663    <author initials='R.' surname='Khare' fullname='R. Khare'>
4664      <organization>4K Associates / UC Irvine</organization>
4665      <address><email>rohit@4K-associates.com</email></address>
4666    </author>
4667    <author initials='S.' surname='Lawrence' fullname='S. Lawrence'>
4668      <organization>Agranat Systems, Inc.</organization>
4669      <address><email>lawrence@agranat.com</email></address>
4670    </author>
4671    <date year='2000' month='May' />
4672  </front>
4673  <seriesInfo name='RFC' value='2817' />
4674</reference>
4675
4676<reference anchor='RFC2818'>
4677  <front>
4678    <title>HTTP Over TLS</title>
4679    <author initials='E.' surname='Rescorla' fullname='Eric Rescorla'>
4680      <organization>RTFM, Inc.</organization>
4681      <address><email>ekr@rtfm.com</email></address>
4682    </author>
4683    <date year='2000' month='May' />
4684  </front>
4685  <seriesInfo name='RFC' value='2818' />
4686</reference>
4687
4688<reference anchor='RFC2965'>
4689  <front>
4690    <title>HTTP State Management Mechanism</title>
4691    <author initials='D. M.' surname='Kristol' fullname='David M. Kristol'>
4692      <organization>Bell Laboratories, Lucent Technologies</organization>
4693      <address><email>dmk@bell-labs.com</email></address>
4694    </author>
4695    <author initials='L.' surname='Montulli' fullname='Lou Montulli'>
4696      <organization>Epinions.com, Inc.</organization>
4697      <address><email>lou@montulli.org</email></address>
4698    </author>
4699    <date year='2000' month='October' />
4700  </front>
4701  <seriesInfo name='RFC' value='2965' />
4702</reference>
4703
4704<reference anchor='RFC3040'>
4705  <front>
4706    <title>Internet Web Replication and Caching Taxonomy</title>
4707    <author initials='I.' surname='Cooper' fullname='I. Cooper'>
4708      <organization>Equinix, Inc.</organization>
4709    </author>
4710    <author initials='I.' surname='Melve' fullname='I. Melve'>
4711      <organization>UNINETT</organization>
4712    </author>
4713    <author initials='G.' surname='Tomlinson' fullname='G. Tomlinson'>
4714      <organization>CacheFlow Inc.</organization>
4715    </author>
4716    <date year='2001' month='January' />
4717  </front>
4718  <seriesInfo name='RFC' value='3040' />
4719</reference>
4720
4721<reference anchor='RFC3864'>
4722  <front>
4723    <title>Registration Procedures for Message Header Fields</title>
4724    <author initials='G.' surname='Klyne' fullname='G. Klyne'>
4725      <organization>Nine by Nine</organization>
4726      <address><email>GK-IETF@ninebynine.org</email></address>
4727    </author>
4728    <author initials='M.' surname='Nottingham' fullname='M. Nottingham'>
4729      <organization>BEA Systems</organization>
4730      <address><email>mnot@pobox.com</email></address>
4731    </author>
4732    <author initials='J.' surname='Mogul' fullname='J. Mogul'>
4733      <organization>HP Labs</organization>
4734      <address><email>JeffMogul@acm.org</email></address>
4735    </author>
4736    <date year='2004' month='September' />
4737  </front>
4738  <seriesInfo name='BCP' value='90' />
4739  <seriesInfo name='RFC' value='3864' />
4740</reference>
4741
4742<reference anchor='RFC4033'>
4743  <front>
4744    <title>DNS Security Introduction and Requirements</title>
4745    <author initials='R.' surname='Arends' fullname='R. Arends'/>
4746    <author initials='R.' surname='Austein' fullname='R. Austein'/>
4747    <author initials='M.' surname='Larson' fullname='M. Larson'/>
4748    <author initials='D.' surname='Massey' fullname='D. Massey'/>
4749    <author initials='S.' surname='Rose' fullname='S. Rose'/>
4750    <date year='2005' month='March' />
4751  </front>
4752  <seriesInfo name='RFC' value='4033' />
4753</reference>
4754
4755<reference anchor="RFC4288">
4756  <front>
4757    <title>Media Type Specifications and Registration Procedures</title>
4758    <author initials="N." surname="Freed" fullname="N. Freed">
4759      <organization>Sun Microsystems</organization>
4760      <address>
4761        <email>ned.freed@mrochek.com</email>
4762      </address>
4763    </author>
4764    <author initials="J." surname="Klensin" fullname="J. Klensin">
4765      <address>
4766        <email>klensin+ietf@jck.com</email>
4767      </address>
4768    </author>
4769    <date year="2005" month="December"/>
4770  </front>
4771  <seriesInfo name="BCP" value="13"/>
4772  <seriesInfo name="RFC" value="4288"/>
4773</reference>
4774
4775<reference anchor='RFC4395'>
4776  <front>
4777    <title>Guidelines and Registration Procedures for New URI Schemes</title>
4778    <author initials='T.' surname='Hansen' fullname='T. Hansen'>
4779      <organization>AT&amp;T Laboratories</organization>
4780      <address>
4781        <email>tony+urireg@maillennium.att.com</email>
4782      </address>
4783    </author>
4784    <author initials='T.' surname='Hardie' fullname='T. Hardie'>
4785      <organization>Qualcomm, Inc.</organization>
4786      <address>
4787        <email>hardie@qualcomm.com</email>
4788      </address>
4789    </author>
4790    <author initials='L.' surname='Masinter' fullname='L. Masinter'>
4791      <organization>Adobe Systems</organization>
4792      <address>
4793        <email>LMM@acm.org</email>
4794      </address>
4795    </author>
4796    <date year='2006' month='February' />
4797  </front>
4798  <seriesInfo name='BCP' value='115' />
4799  <seriesInfo name='RFC' value='4395' />
4800</reference>
4801
4802<reference anchor='RFC4559'>
4803  <front>
4804    <title>SPNEGO-based Kerberos and NTLM HTTP Authentication in Microsoft Windows</title>
4805    <author initials='K.' surname='Jaganathan' fullname='K. Jaganathan'/>
4806    <author initials='L.' surname='Zhu' fullname='L. Zhu'/>
4807    <author initials='J.' surname='Brezak' fullname='J. Brezak'/>
4808    <date year='2006' month='June' />
4809  </front>
4810  <seriesInfo name='RFC' value='4559' />
4811</reference>
4812
4813<reference anchor='RFC5226'>
4814  <front>
4815    <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
4816    <author initials='T.' surname='Narten' fullname='T. Narten'>
4817      <organization>IBM</organization>
4818      <address><email>narten@us.ibm.com</email></address>
4819    </author>
4820    <author initials='H.' surname='Alvestrand' fullname='H. Alvestrand'>
4821      <organization>Google</organization>
4822      <address><email>Harald@Alvestrand.no</email></address>
4823    </author>
4824    <date year='2008' month='May' />
4825  </front>
4826  <seriesInfo name='BCP' value='26' />
4827  <seriesInfo name='RFC' value='5226' />
4828</reference>
4829
4830<reference anchor="RFC5322">
4831  <front>
4832    <title>Internet Message Format</title>
4833    <author initials="P." surname="Resnick" fullname="P. Resnick">
4834      <organization>Qualcomm Incorporated</organization>
4835    </author>
4836    <date year="2008" month="October"/>
4837  </front> 
4838  <seriesInfo name="RFC" value="5322"/>
4839</reference>
4840
4841<reference anchor="RFC6265">
4842  <front>
4843    <title>HTTP State Management Mechanism</title>
4844    <author initials="A." surname="Barth" fullname="Adam Barth">
4845      <organization abbrev="U.C. Berkeley">
4846        University of California, Berkeley
4847      </organization>
4848      <address><email>abarth@eecs.berkeley.edu</email></address>
4849    </author>
4850    <date year="2011" month="April" />
4851  </front>
4852  <seriesInfo name="RFC" value="6265"/>
4853</reference>
4854
4855<!--<reference anchor='BCP97'>
4856  <front>
4857    <title>Handling Normative References to Standards-Track Documents</title>
4858    <author initials='J.' surname='Klensin' fullname='J. Klensin'>
4859      <address>
4860        <email>klensin+ietf@jck.com</email>
4861      </address>
4862    </author>
4863    <author initials='S.' surname='Hartman' fullname='S. Hartman'>
4864      <organization>MIT</organization>
4865      <address>
4866        <email>hartmans-ietf@mit.edu</email>
4867      </address>
4868    </author>
4869    <date year='2007' month='June' />
4870  </front>
4871  <seriesInfo name='BCP' value='97' />
4872  <seriesInfo name='RFC' value='4897' />
4873</reference>-->
4874
4875<reference anchor="Kri2001" target="http://arxiv.org/abs/cs.SE/0105018">
4876  <front>
4877    <title>HTTP Cookies: Standards, Privacy, and Politics</title>
4878    <author initials="D." surname="Kristol" fullname="David M. Kristol"/>
4879    <date year="2001" month="November"/>
4880  </front>
4881  <seriesInfo name="ACM Transactions on Internet Technology" value="Vol. 1, #2"/>
4882</reference>
4883
4884<reference anchor="Spe" target="http://sunsite.unc.edu/mdma-release/http-prob.html">
4885  <front>
4886    <title>Analysis of HTTP Performance Problems</title>
4887    <author initials="S." surname="Spero" fullname="Simon E. Spero"/>
4888    <date/>
4889  </front>
4890</reference>
4891
4892<reference anchor="Tou1998" target="http://www.isi.edu/touch/pubs/http-perf96/">
4893  <front>
4894  <title>Analysis of HTTP Performance</title>
4895  <author initials="J." surname="Touch" fullname="Joe Touch">
4896    <organization>USC/Information Sciences Institute</organization>
4897    <address><email>touch@isi.edu</email></address>
4898  </author>
4899  <author initials="J." surname="Heidemann" fullname="John Heidemann">
4900    <organization>USC/Information Sciences Institute</organization>
4901    <address><email>johnh@isi.edu</email></address>
4902  </author>
4903  <author initials="K." surname="Obraczka" fullname="Katia Obraczka">
4904    <organization>USC/Information Sciences Institute</organization>
4905    <address><email>katia@isi.edu</email></address>
4906  </author>
4907  <date year="1998" month="Aug"/>
4908  </front>
4909  <seriesInfo name="ISI Research Report" value="ISI/RR-98-463"/>
4910  <annotation>(original report dated Aug. 1996)</annotation>
4911</reference>
4912
4913</references>
4914
4915
4916<section title="HTTP Version History" anchor="compatibility">
4917<t>
4918   HTTP has been in use by the World-Wide Web global information initiative
4919   since 1990. The first version of HTTP, later referred to as HTTP/0.9,
4920   was a simple protocol for hypertext data transfer across the Internet
4921   with only a single request method (GET) and no metadata.
4922   HTTP/1.0, as defined by <xref target="RFC1945"/>, added a range of request
4923   methods and MIME-like messaging that could include metadata about the data
4924   transferred and modifiers on the request/response semantics. However,
4925   HTTP/1.0 did not sufficiently take into consideration the effects of
4926   hierarchical proxies, caching, the need for persistent connections, or
4927   name-based virtual hosts. The proliferation of incompletely-implemented
4928   applications calling themselves "HTTP/1.0" further necessitated a
4929   protocol version change in order for two communicating applications
4930   to determine each other's true capabilities.
4931</t>
4932<t>
4933   HTTP/1.1 remains compatible with HTTP/1.0 by including more stringent
4934   requirements that enable reliable implementations, adding only
4935   those new features that will either be safely ignored by an HTTP/1.0
4936   recipient or only sent when communicating with a party advertising
4937   conformance with HTTP/1.1.
4938</t>
4939<t>
4940   It is beyond the scope of a protocol specification to mandate
4941   conformance with previous versions. HTTP/1.1 was deliberately
4942   designed, however, to make supporting previous versions easy.
4943   We would expect a general-purpose HTTP/1.1 server to understand
4944   any valid request in the format of HTTP/1.0 and respond appropriately
4945   with an HTTP/1.1 message that only uses features understood (or
4946   safely ignored) by HTTP/1.0 clients.  Likewise, we would expect
4947   an HTTP/1.1 client to understand any valid HTTP/1.0 response.
4948</t>
4949<t>
4950   Since HTTP/0.9 did not support header fields in a request,
4951   there is no mechanism for it to support name-based virtual
4952   hosts (selection of resource by inspection of the Host header
4953   field).  Any server that implements name-based virtual hosts
4954   ought to disable support for HTTP/0.9.  Most requests that
4955   appear to be HTTP/0.9 are, in fact, badly constructed HTTP/1.x
4956   requests wherein a buggy client failed to properly encode
4957   linear whitespace found in a URI reference and placed in
4958   the request-target.
4959</t>
4960
4961<section title="Changes from HTTP/1.0" anchor="changes.from.1.0">
4962<t>
4963   This section summarizes major differences between versions HTTP/1.0
4964   and HTTP/1.1.
4965</t>
4966
4967<section title="Multi-homed Web Servers" anchor="changes.to.simplify.multi-homed.web.servers.and.conserve.ip.addresses">
4968<t>
4969   The requirements that clients and servers support the Host header
4970   field (<xref target="header.host"/>), report an error if it is
4971   missing from an HTTP/1.1 request, and accept absolute URIs (<xref target="request-target"/>)
4972   are among the most important changes defined by HTTP/1.1.
4973</t>
4974<t>
4975   Older HTTP/1.0 clients assumed a one-to-one relationship of IP
4976   addresses and servers; there was no other established mechanism for
4977   distinguishing the intended server of a request than the IP address
4978   to which that request was directed. The Host header field was
4979   introduced during the development of HTTP/1.1 and, though it was
4980   quickly implemented by most HTTP/1.0 browsers, additional requirements
4981   were placed on all HTTP/1.1 requests in order to ensure complete
4982   adoption.  At the time of this writing, most HTTP-based services
4983   are dependent upon the Host header field for targeting requests.
4984</t>
4985</section>
4986
4987<section title="Keep-Alive Connections" anchor="compatibility.with.http.1.0.persistent.connections">
4988<t>
4989   In HTTP/1.0, each connection is established by the client prior to the
4990   request and closed by the server after sending the response. However, some
4991   implementations implement the explicitly negotiated ("Keep-Alive") version
4992   of persistent connections described in <xref x:sec="19.7.1" x:fmt="of"
4993   target="RFC2068"/>.
4994</t>
4995<t>
4996   Some clients and servers might wish to be compatible with these previous
4997   approaches to persistent connections, by explicitly negotiating for them
4998   with a "Connection: keep-alive" request header field. However, some
4999   experimental implementations of HTTP/1.0 persistent connections are faulty;
5000   for example, if a HTTP/1.0 proxy server doesn't understand Connection, it
5001   will erroneously forward that header to the next inbound server, which
5002   would result in a hung connection.
5003</t>
5004<t>
5005   One attempted solution was the introduction of a Proxy-Connection header,
5006   targeted specifically at proxies. In practice, this was also unworkable,
5007   because proxies are often deployed in multiple layers, bringing about the
5008   same problem discussed above.
5009</t>
5010<t>
5011   As a result, clients are encouraged not to send the Proxy-Connection header
5012   in any requests.
5013</t>
5014<t>
5015   Clients are also encouraged to consider the use of Connection: keep-alive
5016   in requests carefully; while they can enable persistent connections with
5017   HTTP/1.0 servers, clients using them need will need to monitor the
5018   connection for "hung" requests (which indicate that the client ought stop
5019   sending the header), and this mechanism ought not be used by clients at all
5020   when a proxy is being used.
5021</t>
5022</section>
5023</section>
5024
5025<section title="Changes from RFC 2616" anchor="changes.from.rfc.2616">
5026<t>
5027  Clarify that the string "HTTP" in the HTTP-version ABFN production is case
5028  sensitive. Restrict the version numbers to be single digits due to the fact
5029  that implementations are known to handle multi-digit version numbers
5030  incorrectly.
5031  (<xref target="http.version"/>)
5032</t>
5033<t>
5034  Update use of abs_path production from RFC 1808 to the path-absolute + query
5035  components of RFC 3986. State that the asterisk form is allowed for the OPTIONS
5036  request method only.
5037  (<xref target="request-target"/>)
5038</t>
5039<t>
5040  Require that invalid whitespace around field-names be rejected.
5041  (<xref target="header.fields"/>)
5042</t>
5043<t>
5044  Rules about implicit linear whitespace between certain grammar productions
5045  have been removed; now whitespace is only allowed where specifically
5046  defined in the ABNF.
5047  (<xref target="whitespace"/>)
5048</t>
5049<t> 
5050  The NUL octet is no longer allowed in comment and quoted-string
5051  text. The quoted-pair rule no longer allows escaping control characters other than HTAB.
5052  Non-ASCII content in header fields and reason phrase has been obsoleted and
5053  made opaque (the TEXT rule was removed).
5054  (<xref target="field.components"/>)
5055</t>
5056<t>
5057  Empty list elements in list productions have been deprecated.
5058  (<xref target="abnf.extension"/>)
5059</t>
5060<t>
5061  Require recipients to handle bogus Content-Length header fields as errors.
5062  (<xref target="message.body"/>)
5063</t>
5064<t>
5065  Remove reference to non-existent identity transfer-coding value tokens.
5066  (Sections <xref format="counter" target="message.body"/> and
5067  <xref format="counter" target="transfer.codings"/>)
5068</t>
5069<t>
5070  Clarification that the chunk length does not include the count of the octets
5071  in the chunk header and trailer. Furthermore disallowed line folding
5072  in chunk extensions, and deprecate their use.
5073  (<xref target="chunked.encoding"/>)
5074</t>
5075<t>
5076  Registration of Transfer Codings now requires IETF Review
5077  (<xref target="transfer.coding.registry"/>)
5078</t>
5079<t>
5080  Remove hard limit of two connections per server.
5081  Remove requirement to retry a sequence of requests as long it was idempotent.
5082  Remove requirements about when servers are allowed to close connections
5083  prematurely.
5084  (<xref target="persistent.practical"/>)
5085</t>
5086<t>
5087  Remove requirement to retry requests under certain cirumstances when the
5088  server prematurely closes the connection.
5089  (<xref target="message.transmission.requirements"/>)
5090</t>
5091<t>
5092  Change ABNF productions for header fields to only define the field value.
5093  (<xref target="header.field.definitions"/>)
5094</t>
5095<t>
5096  Clarify exactly when close connection options must be sent.
5097  (<xref target="header.connection"/>)
5098</t>
5099<t>
5100  Define the semantics of the "Upgrade" header field in responses other than
5101  101 (this was incorporated from <xref target="RFC2817"/>).
5102  (<xref target="header.upgrade"/>)
5103</t>
5104</section>
5105
5106<section title="Changes from RFC 2817" anchor="changes.from.rfc.2817">
5107<t>
5108  Registration of Upgrade tokens now requires IETF Review
5109  (<xref target="upgrade.token.registry"/>)
5110</t>
5111</section>
5112</section>
5113
5114<?BEGININC p1-messaging.abnf-appendix ?>
5115<section xmlns:x="http://purl.org/net/xml2rfc/ext" title="Collected ABNF" anchor="collected.abnf">
5116<figure>
5117<artwork type="abnf" name="p1-messaging.parsed-abnf">
5118<x:ref>BWS</x:ref> = OWS
5119
5120<x:ref>Connection</x:ref> = *( "," OWS ) connection-token *( OWS "," [ OWS
5121 connection-token ] )
5122<x:ref>Content-Length</x:ref> = 1*DIGIT
5123
5124<x:ref>HTTP-message</x:ref> = start-line *( header-field CRLF ) CRLF [ message-body
5125 ]
5126<x:ref>HTTP-name</x:ref> = %x48.54.54.50 ; HTTP
5127<x:ref>HTTP-version</x:ref> = HTTP-name "/" DIGIT "." DIGIT
5128<x:ref>Host</x:ref> = uri-host [ ":" port ]
5129
5130<x:ref>OWS</x:ref> = *( SP / HTAB )
5131
5132<x:ref>RWS</x:ref> = 1*( SP / HTAB )
5133
5134<x:ref>TE</x:ref> = [ ( "," / t-codings ) *( OWS "," [ OWS t-codings ] ) ]
5135<x:ref>Trailer</x:ref> = *( "," OWS ) field-name *( OWS "," [ OWS field-name ] )
5136<x:ref>Transfer-Encoding</x:ref> = *( "," OWS ) transfer-coding *( OWS "," [ OWS
5137 transfer-coding ] )
5138
5139<x:ref>URI-reference</x:ref> = &lt;URI-reference, defined in [RFC3986], Section 4.1&gt;
5140<x:ref>Upgrade</x:ref> = *( "," OWS ) protocol *( OWS "," [ OWS protocol ] )
5141
5142<x:ref>Via</x:ref> = *( "," OWS ) received-protocol RWS received-by [ RWS comment ]
5143 *( OWS "," [ OWS received-protocol RWS received-by [ RWS comment ] ]
5144 )
5145
5146<x:ref>absolute-URI</x:ref> = &lt;absolute-URI, defined in [RFC3986], Section 4.3&gt;
5147<x:ref>absolute-form</x:ref> = absolute-URI
5148<x:ref>asterisk-form</x:ref> = "*"
5149<x:ref>attribute</x:ref> = token
5150<x:ref>authority</x:ref> = &lt;authority, defined in [RFC3986], Section 3.2&gt;
5151<x:ref>authority-form</x:ref> = authority
5152
5153<x:ref>chunk</x:ref> = chunk-size [ chunk-ext ] CRLF chunk-data CRLF
5154<x:ref>chunk-data</x:ref> = 1*OCTET
5155<x:ref>chunk-ext</x:ref> = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
5156<x:ref>chunk-ext-name</x:ref> = token
5157<x:ref>chunk-ext-val</x:ref> = token / quoted-str-nf
5158<x:ref>chunk-size</x:ref> = 1*HEXDIG
5159<x:ref>chunked-body</x:ref> = *chunk last-chunk trailer-part CRLF
5160<x:ref>comment</x:ref> = "(" *( ctext / quoted-cpair / comment ) ")"
5161<x:ref>connection-token</x:ref> = token
5162<x:ref>ctext</x:ref> = OWS / %x21-27 ; '!'-'''
5163 / %x2A-5B ; '*'-'['
5164 / %x5D-7E ; ']'-'~'
5165 / obs-text
5166
5167<x:ref>field-content</x:ref> = *( HTAB / SP / VCHAR / obs-text )
5168<x:ref>field-name</x:ref> = token
5169<x:ref>field-value</x:ref> = *( field-content / obs-fold )
5170
5171<x:ref>header-field</x:ref> = field-name ":" OWS field-value BWS
5172<x:ref>http-URI</x:ref> = "http://" authority path-abempty [ "?" query ]
5173<x:ref>https-URI</x:ref> = "https://" authority path-abempty [ "?" query ]
5174
5175<x:ref>last-chunk</x:ref> = 1*"0" [ chunk-ext ] CRLF
5176
5177<x:ref>message-body</x:ref> = *OCTET
5178<x:ref>method</x:ref> = token
5179
5180<x:ref>obs-fold</x:ref> = CRLF ( SP / HTAB )
5181<x:ref>obs-text</x:ref> = %x80-FF
5182<x:ref>origin-form</x:ref> = path-absolute [ "?" query ]
5183
5184<x:ref>partial-URI</x:ref> = relative-part [ "?" query ]
5185<x:ref>path-abempty</x:ref> = &lt;path-abempty, defined in [RFC3986], Section 3.3&gt;
5186<x:ref>path-absolute</x:ref> = &lt;path-absolute, defined in [RFC3986], Section 3.3&gt;
5187<x:ref>port</x:ref> = &lt;port, defined in [RFC3986], Section 3.2.3&gt;
5188<x:ref>protocol</x:ref> = protocol-name [ "/" protocol-version ]
5189<x:ref>protocol-name</x:ref> = token
5190<x:ref>protocol-version</x:ref> = token
5191<x:ref>pseudonym</x:ref> = token
5192
5193<x:ref>qdtext</x:ref> = OWS / "!" / %x23-5B ; '#'-'['
5194 / %x5D-7E ; ']'-'~'
5195 / obs-text
5196<x:ref>qdtext-nf</x:ref> = HTAB / SP / "!" / %x23-5B ; '#'-'['
5197 / %x5D-7E ; ']'-'~'
5198 / obs-text
5199<x:ref>query</x:ref> = &lt;query, defined in [RFC3986], Section 3.4&gt;
5200<x:ref>quoted-cpair</x:ref> = "\" ( HTAB / SP / VCHAR / obs-text )
5201<x:ref>quoted-pair</x:ref> = "\" ( HTAB / SP / VCHAR / obs-text )
5202<x:ref>quoted-str-nf</x:ref> = DQUOTE *( qdtext-nf / quoted-pair ) DQUOTE
5203<x:ref>quoted-string</x:ref> = DQUOTE *( qdtext / quoted-pair ) DQUOTE
5204<x:ref>qvalue</x:ref> = ( "0" [ "." *3DIGIT ] ) / ( "1" [ "." *3"0" ] )
5205
5206<x:ref>reason-phrase</x:ref> = *( HTAB / SP / VCHAR / obs-text )
5207<x:ref>received-by</x:ref> = ( uri-host [ ":" port ] ) / pseudonym
5208<x:ref>received-protocol</x:ref> = [ protocol-name "/" ] protocol-version
5209<x:ref>relative-part</x:ref> = &lt;relative-part, defined in [RFC3986], Section 4.2&gt;
5210<x:ref>request-line</x:ref> = method SP request-target SP HTTP-version CRLF
5211<x:ref>request-target</x:ref> = origin-form / absolute-form / authority-form /
5212 asterisk-form
5213
5214<x:ref>special</x:ref> = "(" / ")" / "&lt;" / "&gt;" / "@" / "," / ";" / ":" / "\" /
5215 DQUOTE / "/" / "[" / "]" / "?" / "=" / "{" / "}"
5216<x:ref>start-line</x:ref> = request-line / status-line
5217<x:ref>status-code</x:ref> = 3DIGIT
5218<x:ref>status-line</x:ref> = HTTP-version SP status-code SP reason-phrase CRLF
5219
5220<x:ref>t-codings</x:ref> = "trailers" / ( transfer-extension [ te-params ] )
5221<x:ref>tchar</x:ref> = "!" / "#" / "$" / "%" / "&amp;" / "'" / "*" / "+" / "-" / "." /
5222 "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA
5223<x:ref>te-ext</x:ref> = OWS ";" OWS token [ "=" word ]
5224<x:ref>te-params</x:ref> = OWS ";" OWS "q=" qvalue *te-ext
5225<x:ref>token</x:ref> = 1*tchar
5226<x:ref>trailer-part</x:ref> = *( header-field CRLF )
5227<x:ref>transfer-coding</x:ref> = "chunked" / "compress" / "deflate" / "gzip" /
5228 transfer-extension
5229<x:ref>transfer-extension</x:ref> = token *( OWS ";" OWS transfer-parameter )
5230<x:ref>transfer-parameter</x:ref> = attribute BWS "=" BWS value
5231
5232<x:ref>uri-host</x:ref> = &lt;host, defined in [RFC3986], Section 3.2.2&gt;
5233
5234<x:ref>value</x:ref> = word
5235
5236<x:ref>word</x:ref> = token / quoted-string
5237</artwork>
5238</figure>
5239<figure><preamble>ABNF diagnostics:</preamble><artwork type="inline">
5240; Connection defined but not used
5241; Content-Length defined but not used
5242; HTTP-message defined but not used
5243; Host defined but not used
5244; TE defined but not used
5245; Trailer defined but not used
5246; Transfer-Encoding defined but not used
5247; URI-reference defined but not used
5248; Upgrade defined but not used
5249; Via defined but not used
5250; chunked-body defined but not used
5251; http-URI defined but not used
5252; https-URI defined but not used
5253; partial-URI defined but not used
5254; special defined but not used
5255</artwork></figure></section>
5256<?ENDINC p1-messaging.abnf-appendix ?>
5257
5258<section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log">
5259
5260<section title="Since RFC 2616">
5261<t>
5262  Extracted relevant partitions from <xref target="RFC2616"/>.
5263</t>
5264</section>
5265
5266<section title="Since draft-ietf-httpbis-p1-messaging-00">
5267<t>
5268  Closed issues:
5269  <list style="symbols"> 
5270    <t>
5271      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/1"/>:
5272      "HTTP Version should be case sensitive"
5273      (<eref target="http://purl.org/NET/http-errata#verscase"/>)
5274    </t>
5275    <t>
5276      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/2"/>:
5277      "'unsafe' characters"
5278      (<eref target="http://purl.org/NET/http-errata#unsafe-uri"/>)
5279    </t>
5280    <t>
5281      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/3"/>:
5282      "Chunk Size Definition"
5283      (<eref target="http://purl.org/NET/http-errata#chunk-size"/>)
5284    </t>
5285    <t>
5286      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/4"/>:
5287      "Message Length"
5288      (<eref target="http://purl.org/NET/http-errata#msg-len-chars"/>)
5289    </t>
5290    <t>
5291      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/8"/>:
5292      "Media Type Registrations"
5293      (<eref target="http://purl.org/NET/http-errata#media-reg"/>)
5294    </t>
5295    <t>
5296      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/11"/>:
5297      "URI includes query"
5298      (<eref target="http://purl.org/NET/http-errata#uriquery"/>)
5299    </t>
5300    <t>
5301      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/15"/>:
5302      "No close on 1xx responses"
5303      (<eref target="http://purl.org/NET/http-errata#noclose1xx"/>)
5304    </t>
5305    <t>
5306      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/16"/>:
5307      "Remove 'identity' token references"
5308      (<eref target="http://purl.org/NET/http-errata#identity"/>)
5309    </t>
5310    <t>
5311      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/26"/>:
5312      "Import query BNF"
5313    </t>
5314    <t>
5315      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/31"/>:
5316      "qdtext BNF"
5317    </t>
5318    <t>
5319      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/35"/>:
5320      "Normative and Informative references"
5321    </t>
5322    <t>
5323      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/42"/>:
5324      "RFC2606 Compliance"
5325    </t>
5326    <t>
5327      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/45"/>:
5328      "RFC977 reference"
5329    </t>
5330    <t>
5331      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/46"/>:
5332      "RFC1700 references"
5333    </t>
5334    <t>
5335      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/47"/>:
5336      "inconsistency in date format explanation"
5337    </t>
5338    <t>
5339      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/48"/>:
5340      "Date reference typo"
5341    </t>
5342    <t>
5343      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/65"/>:
5344      "Informative references"
5345    </t>
5346    <t>
5347      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/66"/>:
5348      "ISO-8859-1 Reference"
5349    </t>
5350    <t>
5351      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/86"/>:
5352      "Normative up-to-date references"
5353    </t>
5354  </list>
5355</t>
5356<t>
5357  Other changes:
5358  <list style="symbols"> 
5359    <t>
5360      Update media type registrations to use RFC4288 template.
5361    </t>
5362    <t>
5363      Use names of RFC4234 core rules DQUOTE and HTAB,
5364      fix broken ABNF for chunk-data
5365      (work in progress on <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>)
5366    </t>
5367  </list>
5368</t>
5369</section>
5370
5371<section title="Since draft-ietf-httpbis-p1-messaging-01">
5372<t>
5373  Closed issues:
5374  <list style="symbols"> 
5375    <t>
5376      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/19"/>:
5377      "Bodies on GET (and other) requests"
5378    </t>
5379    <t>
5380      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/55"/>:
5381      "Updating to RFC4288"
5382    </t>
5383    <t>
5384      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/57"/>:
5385      "Status Code and Reason Phrase"
5386    </t>
5387    <t>
5388      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/82"/>:
5389      "rel_path not used"
5390    </t>
5391  </list>
5392</t>
5393<t>
5394  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
5395  <list style="symbols"> 
5396    <t>
5397      Get rid of duplicate BNF rule names ("host" -> "uri-host", "trailer" ->
5398      "trailer-part").
5399    </t>
5400    <t>
5401      Avoid underscore character in rule names ("http_URL" ->
5402      "http-URL", "abs_path" -> "path-absolute").
5403    </t>
5404    <t>
5405      Add rules for terms imported from URI spec ("absoluteURI", "authority",
5406      "path-absolute", "port", "query", "relativeURI", "host) &mdash; these will
5407      have to be updated when switching over to RFC3986.
5408    </t>
5409    <t>
5410      Synchronize core rules with RFC5234.
5411    </t>
5412    <t>
5413      Get rid of prose rules that span multiple lines.
5414    </t>
5415    <t>
5416      Get rid of unused rules LOALPHA and UPALPHA.
5417    </t>
5418    <t>
5419      Move "Product Tokens" section (back) into Part 1, as "token" is used
5420      in the definition of the Upgrade header field.
5421    </t>
5422    <t>
5423      Add explicit references to BNF syntax and rules imported from other parts of the specification.
5424    </t>
5425    <t>
5426      Rewrite prose rule "token" in terms of "tchar", rewrite prose rule "TEXT".
5427    </t>
5428  </list>
5429</t>
5430</section>
5431
5432<section title="Since draft-ietf-httpbis-p1-messaging-02" anchor="changes.since.02">
5433<t>
5434  Closed issues:
5435  <list style="symbols"> 
5436    <t>
5437      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/51"/>:
5438      "HTTP-date vs. rfc1123-date"
5439    </t>
5440    <t>
5441      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/64"/>:
5442      "WS in quoted-pair"
5443    </t>
5444  </list>
5445</t>
5446<t>
5447  Ongoing work on IANA Message Header Field Registration (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/40"/>):
5448  <list style="symbols"> 
5449    <t>
5450      Reference RFC 3984, and update header field registrations for headers defined
5451      in this document.
5452    </t>
5453  </list>
5454</t>
5455<t>
5456  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
5457  <list style="symbols"> 
5458    <t>
5459      Replace string literals when the string really is case-sensitive (HTTP-version).
5460    </t>
5461  </list>
5462</t>
5463</section>
5464
5465<section title="Since draft-ietf-httpbis-p1-messaging-03" anchor="changes.since.03">
5466<t>
5467  Closed issues:
5468  <list style="symbols"> 
5469    <t>
5470      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/28"/>:
5471      "Connection closing"
5472    </t>
5473    <t>
5474      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/97"/>:
5475      "Move registrations and registry information to IANA Considerations"
5476    </t>
5477    <t>
5478      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/120"/>:
5479      "need new URL for PAD1995 reference"
5480    </t>
5481    <t>
5482      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/127"/>:
5483      "IANA Considerations: update HTTP URI scheme registration"
5484    </t>
5485    <t>
5486      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/128"/>:
5487      "Cite HTTPS URI scheme definition"
5488    </t>
5489    <t>
5490      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/129"/>:
5491      "List-type headers vs Set-Cookie"
5492    </t>
5493  </list>
5494</t>
5495<t>
5496  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
5497  <list style="symbols"> 
5498    <t>
5499      Replace string literals when the string really is case-sensitive (HTTP-Date).
5500    </t>
5501    <t>
5502      Replace HEX by HEXDIG for future consistence with RFC 5234's core rules.
5503    </t>
5504  </list>
5505</t>
5506</section>
5507
5508<section title="Since draft-ietf-httpbis-p1-messaging-04" anchor="changes.since.04">
5509<t>
5510  Closed issues:
5511  <list style="symbols"> 
5512    <t>
5513      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/34"/>:
5514      "Out-of-date reference for URIs"
5515    </t>
5516    <t>
5517      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/132"/>:
5518      "RFC 2822 is updated by RFC 5322"
5519    </t>
5520  </list>
5521</t>
5522<t>
5523  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
5524  <list style="symbols"> 
5525    <t>
5526      Use "/" instead of "|" for alternatives.
5527    </t>
5528    <t>
5529      Get rid of RFC822 dependency; use RFC5234 plus extensions instead.
5530    </t>
5531    <t>
5532      Only reference RFC 5234's core rules.
5533    </t>
5534    <t>
5535      Introduce new ABNF rules for "bad" whitespace ("BWS"), optional
5536      whitespace ("OWS") and required whitespace ("RWS").
5537    </t>
5538    <t>
5539      Rewrite ABNFs to spell out whitespace rules, factor out
5540      header field value format definitions.
5541    </t>
5542  </list>
5543</t>
5544</section>
5545
5546<section title="Since draft-ietf-httpbis-p1-messaging-05" anchor="changes.since.05">
5547<t>
5548  Closed issues:
5549  <list style="symbols"> 
5550    <t>
5551      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/30"/>:
5552      "Header LWS"
5553    </t>
5554    <t>
5555      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/52"/>:
5556      "Sort 1.3 Terminology"
5557    </t>
5558    <t>
5559      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/63"/>:
5560      "RFC2047 encoded words"
5561    </t>
5562    <t>
5563      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/74"/>:
5564      "Character Encodings in TEXT"
5565    </t>
5566    <t>
5567      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/77"/>:
5568      "Line Folding"
5569    </t>
5570    <t>
5571      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/83"/>:
5572      "OPTIONS * and proxies"
5573    </t>
5574    <t>
5575      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/94"/>:
5576      "reason-phrase BNF"
5577    </t>
5578    <t>
5579      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/111"/>:
5580      "Use of TEXT"
5581    </t>
5582    <t>
5583      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/118"/>:
5584      "Join "Differences Between HTTP Entities and RFC 2045 Entities"?"
5585    </t>
5586    <t>
5587      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/134"/>:
5588      "RFC822 reference left in discussion of date formats"
5589    </t>
5590  </list>
5591</t>
5592<t>
5593  Final work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
5594  <list style="symbols"> 
5595    <t>
5596      Rewrite definition of list rules, deprecate empty list elements.
5597    </t>
5598    <t>
5599      Add appendix containing collected and expanded ABNF.
5600    </t>
5601  </list>
5602</t>
5603<t>
5604  Other changes:
5605  <list style="symbols"> 
5606    <t>
5607      Rewrite introduction; add mostly new Architecture Section.
5608    </t>
5609    <t>
5610      Move definition of quality values from Part 3 into Part 1;
5611      make TE request header field grammar independent of accept-params (defined in Part 3).
5612    </t>
5613  </list>
5614</t>
5615</section>
5616
5617<section title="Since draft-ietf-httpbis-p1-messaging-06" anchor="changes.since.06">
5618<t>
5619  Closed issues:
5620  <list style="symbols"> 
5621    <t>
5622      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/161"/>:
5623      "base for numeric protocol elements"
5624    </t>
5625    <t>
5626      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/162"/>:
5627      "comment ABNF"
5628    </t>
5629  </list>
5630</t>
5631<t>
5632  Partly resolved issues:
5633  <list style="symbols"> 
5634    <t>
5635      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/88"/>:
5636      "205 Bodies" (took out language that implied that there might be
5637      methods for which a request body MUST NOT be included)
5638    </t>
5639    <t>
5640      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/163"/>:
5641      "editorial improvements around HTTP-date"
5642    </t>
5643  </list>
5644</t>
5645</section>
5646
5647<section title="Since draft-ietf-httpbis-p1-messaging-07" anchor="changes.since.07">
5648<t>
5649  Closed issues:
5650  <list style="symbols"> 
5651    <t>
5652      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/93"/>:
5653      "Repeating single-value headers"
5654    </t>
5655    <t>
5656      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/131"/>:
5657      "increase connection limit"
5658    </t>
5659    <t>
5660      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/157"/>:
5661      "IP addresses in URLs"
5662    </t>
5663    <t>
5664      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/172"/>:
5665      "take over HTTP Upgrade Token Registry"
5666    </t>
5667    <t>
5668      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/173"/>:
5669      "CR and LF in chunk extension values"
5670    </t>
5671    <t>
5672      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/184"/>:
5673      "HTTP/0.9 support"
5674    </t>
5675    <t>
5676      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/188"/>:
5677      "pick IANA policy (RFC5226) for Transfer Coding / Content Coding"
5678    </t>
5679    <t>
5680      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/189"/>:
5681      "move definitions of gzip/deflate/compress to part 1"
5682    </t>
5683    <t>
5684      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/194"/>:
5685      "disallow control characters in quoted-pair"
5686    </t>
5687  </list>
5688</t>
5689<t>
5690  Partly resolved issues:
5691  <list style="symbols"> 
5692    <t>
5693      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/148"/>:
5694      "update IANA requirements wrt Transfer-Coding values" (add the
5695      IANA Considerations subsection)
5696    </t>
5697  </list>
5698</t>
5699</section>
5700
5701<section title="Since draft-ietf-httpbis-p1-messaging-08" anchor="changes.since.08">
5702<t>
5703  Closed issues:
5704  <list style="symbols"> 
5705    <t>
5706      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/201"/>:
5707      "header parsing, treatment of leading and trailing OWS"
5708    </t>
5709  </list>
5710</t>
5711<t>
5712  Partly resolved issues:
5713  <list style="symbols"> 
5714    <t>
5715      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/60"/>:
5716      "Placement of 13.5.1 and 13.5.2"
5717    </t>
5718    <t>
5719      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/200"/>:
5720      "use of term "word" when talking about header structure"
5721    </t>
5722  </list>
5723</t>
5724</section>
5725
5726<section title="Since draft-ietf-httpbis-p1-messaging-09" anchor="changes.since.09">
5727<t>
5728  Closed issues:
5729  <list style="symbols"> 
5730    <t>
5731      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/73"/>:
5732      "Clarification of the term 'deflate'"
5733    </t>
5734    <t>
5735      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/83"/>:
5736      "OPTIONS * and proxies"
5737    </t>
5738    <t>
5739      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/122"/>:
5740      "MIME-Version not listed in P1, general header fields"
5741    </t>
5742    <t>
5743      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/143"/>:
5744      "IANA registry for content/transfer encodings"
5745    </t>
5746    <t>
5747      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/165"/>:
5748      "Case-sensitivity of HTTP-date"
5749    </t>
5750    <t>
5751      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/200"/>:
5752      "use of term "word" when talking about header structure"
5753    </t>
5754  </list>
5755</t>
5756<t>
5757  Partly resolved issues:
5758  <list style="symbols"> 
5759    <t>
5760      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/196"/>:
5761      "Term for the requested resource's URI"
5762    </t>
5763  </list>
5764</t>
5765</section>
5766
5767<section title="Since draft-ietf-httpbis-p1-messaging-10" anchor="changes.since.10">
5768<t>
5769  Closed issues:
5770  <list style="symbols">
5771    <t>
5772      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/28"/>:
5773      "Connection Closing"
5774    </t>
5775    <t>
5776      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/90"/>:
5777      "Delimiting messages with multipart/byteranges"
5778    </t>
5779    <t>
5780      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/95"/>:
5781      "Handling multiple Content-Length headers"
5782    </t>
5783    <t>
5784      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/109"/>:
5785      "Clarify entity / representation / variant terminology"
5786    </t>
5787    <t>
5788      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/220"/>:
5789      "consider removing the 'changes from 2068' sections"
5790    </t>
5791  </list>
5792</t>
5793<t>
5794  Partly resolved issues:
5795  <list style="symbols"> 
5796    <t>
5797      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/159"/>:
5798      "HTTP(s) URI scheme definitions"
5799    </t>
5800  </list>
5801</t>
5802</section>
5803
5804<section title="Since draft-ietf-httpbis-p1-messaging-11" anchor="changes.since.11">
5805<t>
5806  Closed issues:
5807  <list style="symbols">
5808    <t>
5809      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/193"/>:
5810      "Trailer requirements"
5811    </t>
5812    <t>
5813      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/204"/>:
5814      "Text about clock requirement for caches belongs in p6"
5815    </t>
5816    <t>
5817      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/221"/>:
5818      "effective request URI: handling of missing host in HTTP/1.0"
5819    </t>
5820    <t>
5821      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/248"/>:
5822      "confusing Date requirements for clients"
5823    </t>
5824  </list>
5825</t>
5826<t>
5827  Partly resolved issues:
5828  <list style="symbols"> 
5829    <t>
5830      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/95"/>:
5831      "Handling multiple Content-Length headers"
5832    </t>
5833  </list>
5834</t>
5835</section>
5836
5837<section title="Since draft-ietf-httpbis-p1-messaging-12" anchor="changes.since.12">
5838<t>
5839  Closed issues:
5840  <list style="symbols">
5841    <t>
5842      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/75"/>:
5843      "RFC2145 Normative"
5844    </t>
5845    <t>
5846      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/159"/>:
5847      "HTTP(s) URI scheme definitions" (tune the requirements on userinfo)
5848    </t>
5849    <t>
5850      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/210"/>:
5851      "define 'transparent' proxy"
5852    </t>
5853    <t>
5854      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/224"/>:
5855      "Header Classification"
5856    </t>
5857    <t>
5858      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/233"/>:
5859      "Is * usable as a request-uri for new methods?"
5860    </t>
5861    <t>
5862      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/240"/>:
5863      "Migrate Upgrade details from RFC2817"
5864    </t>
5865    <t>
5866      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
5867      "untangle ABNFs for header fields"
5868    </t>
5869    <t>
5870      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/279"/>:
5871      "update RFC 2109 reference"
5872    </t>
5873  </list>
5874</t>
5875</section>
5876
5877<section title="Since draft-ietf-httpbis-p1-messaging-13" anchor="changes.since.13">
5878<t>
5879  Closed issues:
5880  <list style="symbols">
5881    <t>
5882      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/53"/>:
5883      "Allow is not in 13.5.2"
5884    </t>
5885    <t>
5886      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/95"/>:
5887      "Handling multiple Content-Length headers"
5888    </t>
5889    <t>
5890      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
5891      "untangle ABNFs for header fields"
5892    </t>
5893    <t>
5894      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/286"/>:
5895      "Content-Length ABNF broken"
5896    </t>
5897  </list>
5898</t>
5899</section>
5900
5901<section title="Since draft-ietf-httpbis-p1-messaging-14" anchor="changes.since.14">
5902<t>
5903  Closed issues:
5904  <list style="symbols">
5905    <t>
5906      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/273"/>:
5907      "HTTP-version should be redefined as fixed length pair of DIGIT . DIGIT"
5908    </t>
5909    <t>
5910      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/282"/>:
5911      "Recommend minimum sizes for protocol elements"
5912    </t>
5913    <t>
5914      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/283"/>:
5915      "Set expectations around buffering"
5916    </t>
5917    <t>
5918      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/288"/>:
5919      "Considering messages in isolation"
5920    </t>
5921  </list>
5922</t>
5923</section>
5924
5925<section title="Since draft-ietf-httpbis-p1-messaging-15" anchor="changes.since.15">
5926<t>
5927  Closed issues:
5928  <list style="symbols">
5929    <t>
5930      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/100"/>:
5931      "DNS Spoofing / DNS Binding advice"
5932    </t>
5933    <t>
5934      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/254"/>:
5935      "move RFCs 2145, 2616, 2817 to Historic status"
5936    </t>
5937    <t>
5938      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/270"/>:
5939      "\-escaping in quoted strings"
5940    </t>
5941    <t>
5942      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/305"/>:
5943      "'Close' should be reserved in the HTTP header field registry"
5944    </t>
5945  </list>
5946</t>
5947</section>
5948
5949<section title="Since draft-ietf-httpbis-p1-messaging-16" anchor="changes.since.16">
5950<t>
5951  Closed issues:
5952  <list style="symbols">
5953    <t>
5954      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/186"/>:
5955      "Document HTTP's error-handling philosophy"
5956    </t>
5957    <t>
5958      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/215"/>:
5959      "Explain header registration"
5960    </t>
5961    <t>
5962      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/219"/>:
5963      "Revise Acknowledgements Sections"
5964    </t>
5965    <t>
5966      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/297"/>:
5967      "Retrying Requests"
5968    </t>
5969    <t>
5970      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/318"/>:
5971      "Closing the connection on server error"
5972    </t>
5973  </list>
5974</t>
5975</section>
5976
5977<section title="Since draft-ietf-httpbis-p1-messaging-17" anchor="changes.since.17">
5978<t>
5979  Closed issues:
5980  <list style="symbols">
5981    <t>
5982      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/166"/>:
5983      "Clarify 'User Agent'"
5984    </t>
5985    <t>
5986      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/300"/>:
5987      "Define non-final responses"
5988    </t>
5989    <t>
5990      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/323"/>:
5991      "intended maturity level vs normative references"
5992    </t>
5993    <t>
5994      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/324"/>:
5995      "Intermediary rewriting of queries"
5996    </t>
5997    <t>
5998      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/158"/>:
5999      "Proxy-Connection and Keep-Alive"
6000    </t>
6001  </list>
6002</t>
6003</section>
6004
6005<section title="Since draft-ietf-httpbis-p1-messaging-18" anchor="changes.since.18">
6006<t>
6007  Closed issues:
6008  <list style="symbols">
6009    <t>
6010      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/250"/>:
6011      "message-body in CONNECT response"
6012    </t>
6013    <t>
6014      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/302"/>:
6015      "Misplaced text on connection handling in p2"
6016    </t>
6017    <t>
6018      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/335"/>:
6019      "wording of line folding rule"
6020    </t>
6021    <t>
6022      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/343"/>:
6023      "chunk-extensions"
6024    </t>
6025    <t>
6026      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/346"/>:
6027      "make IANA policy definitions consistent"
6028    </t>
6029  </list>
6030</t>
6031</section>
6032
6033</section>
6034
6035</back>
6036</rfc>
Note: See TracBrowser for help on using the repository browser.