source: draft-ietf-httpbis/latest/p3-payload.xml @ 1410

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

updated ABNF appendices (see [1406])

  • Property svn:eol-style set to native
File size: 123.6 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 "August">
16  <!ENTITY ID-YEAR "2011">
17  <!ENTITY mdash "&#8212;">
18  <!ENTITY notation                 "<xref target='Part1' x:rel='#notation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
19  <!ENTITY notation-abnf            "<xref target='Part1' x:rel='#notation.abnf' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
20  <!ENTITY acks                     "<xref target='Part1' x:rel='#acks' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
21  <!ENTITY basic-rules              "<xref target='Part1' x:rel='#basic.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
22  <!ENTITY field-rules              "<xref target='Part1' x:rel='#field.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
23  <!ENTITY caching-neg-resp         "<xref target='Part6' x:rel='#caching.negotiated.responses' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
24  <!ENTITY header-transfer-encoding "<xref target='Part1' x:rel='#header.transfer-encoding' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
25  <!ENTITY header-content-length    "<xref target='Part1' x:rel='#header.content-length' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
26  <!ENTITY header-content-range     "<xref target='Part5' x:rel='#header.content-range' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
27  <!ENTITY header-expires           "<xref target='Part6' x:rel='#header.expires' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
28  <!ENTITY header-last-modified     "<xref target='Part4' x:rel='#header.last-modified' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
29  <!ENTITY header-user-agent        "<xref target='Part2' x:rel='#header.user-agent' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
30  <!ENTITY header-vary              "<xref target='Part6' x:rel='#header.vary' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
31  <!ENTITY message-body             "<xref target='Part1' x:rel='#message.body' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
32  <!ENTITY multipart-byteranges     "<xref target='Part5' x:rel='#internet.media.type.multipart.byteranges' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
33  <!ENTITY full-date                "<xref target='Part1' x:rel='#date.time.formats.full.date' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
34  <!ENTITY qvalue                   "<xref target='Part1' x:rel='#quality.values' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
35  <!ENTITY uri                      "<xref target='Part1' x:rel='#uri' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
36  <!ENTITY effective-request-uri    "<xref target='Part1' x:rel='#effective.request.uri' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
37  <!ENTITY compression-codings      "<xref target='Part1' x:rel='#compression.codings' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
38  <!ENTITY transfer-codings         "<xref target='Part1' x:rel='#transfer.codings' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
39  <!ENTITY compress-coding          "<xref target='Part1' x:rel='#compress.coding' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
40  <!ENTITY deflate-coding           "<xref target='Part1' x:rel='#deflate.coding' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
41  <!ENTITY gzip-coding              "<xref target='Part1' x:rel='#gzip.coding' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
42  <!ENTITY response-representation  "<xref target='Part2' x:rel='#identifying.response.associated.with.representation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
43]>
44<?rfc toc="yes" ?>
45<?rfc symrefs="yes" ?>
46<?rfc sortrefs="yes" ?>
47<?rfc compact="yes"?>
48<?rfc subcompact="no" ?>
49<?rfc linkmailto="no" ?>
50<?rfc editing="no" ?>
51<?rfc comments="yes"?>
52<?rfc inline="yes"?>
53<?rfc rfcedstyle="yes"?>
54<?rfc-ext allow-markup-in-artwork="yes" ?>
55<?rfc-ext include-references-in-index="yes" ?>
56<rfc obsoletes="2616" category="std" x:maturity-level="draft"
57     ipr="pre5378Trust200902" docName="draft-ietf-httpbis-p3-payload-&ID-VERSION;"
58     xmlns:x='http://purl.org/net/xml2rfc/ext'>
59<front>
60
61  <title abbrev="HTTP/1.1, Part 3">HTTP/1.1, part 3: Message Payload and Content Negotiation</title>
62
63  <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
64    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
65    <address>
66      <postal>
67        <street>345 Park Ave</street>
68        <city>San Jose</city>
69        <region>CA</region>
70        <code>95110</code>
71        <country>USA</country>
72      </postal>
73      <email>fielding@gbiv.com</email>
74      <uri>http://roy.gbiv.com/</uri>
75    </address>
76  </author>
77
78  <author initials="J." surname="Gettys" fullname="Jim Gettys">
79    <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
80    <address>
81      <postal>
82        <street>21 Oak Knoll Road</street>
83        <city>Carlisle</city>
84        <region>MA</region>
85        <code>01741</code>
86        <country>USA</country>
87      </postal>
88      <email>jg@freedesktop.org</email>
89      <uri>http://gettys.wordpress.com/</uri>
90    </address>
91  </author>
92 
93  <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
94    <organization abbrev="HP">Hewlett-Packard Company</organization>
95    <address>
96      <postal>
97        <street>HP Labs, Large Scale Systems Group</street>
98        <street>1501 Page Mill Road, MS 1177</street>
99        <city>Palo Alto</city>
100        <region>CA</region>
101        <code>94304</code>
102        <country>USA</country>
103      </postal>
104      <email>JeffMogul@acm.org</email>
105    </address>
106  </author>
107
108  <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
109    <organization abbrev="Microsoft">Microsoft Corporation</organization>
110    <address>
111      <postal>
112        <street>1 Microsoft Way</street>
113        <city>Redmond</city>
114        <region>WA</region>
115        <code>98052</code>
116        <country>USA</country>
117      </postal>
118      <email>henrikn@microsoft.com</email>
119    </address>
120  </author>
121
122  <author initials="L." surname="Masinter" fullname="Larry Masinter">
123    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
124    <address>
125      <postal>
126        <street>345 Park Ave</street>
127        <city>San Jose</city>
128        <region>CA</region>
129        <code>95110</code>
130        <country>USA</country>
131      </postal>
132      <email>LMM@acm.org</email>
133      <uri>http://larry.masinter.net/</uri>
134    </address>
135  </author>
136 
137  <author initials="P." surname="Leach" fullname="Paul J. Leach">
138    <organization abbrev="Microsoft">Microsoft Corporation</organization>
139    <address>
140      <postal>
141        <street>1 Microsoft Way</street>
142        <city>Redmond</city>
143        <region>WA</region>
144        <code>98052</code>
145      </postal>
146      <email>paulle@microsoft.com</email>
147    </address>
148  </author>
149   
150  <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
151    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
152    <address>
153      <postal>
154        <street>MIT Computer Science and Artificial Intelligence Laboratory</street>
155        <street>The Stata Center, Building 32</street>
156        <street>32 Vassar Street</street>
157        <city>Cambridge</city>
158        <region>MA</region>
159        <code>02139</code>
160        <country>USA</country>
161      </postal>
162      <email>timbl@w3.org</email>
163      <uri>http://www.w3.org/People/Berners-Lee/</uri>
164    </address>
165  </author>
166
167  <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
168    <organization abbrev="W3C">World Wide Web Consortium</organization>
169    <address>
170      <postal>
171        <street>W3C / ERCIM</street>
172        <street>2004, rte des Lucioles</street>
173        <city>Sophia-Antipolis</city>
174        <region>AM</region>
175        <code>06902</code>
176        <country>France</country>
177      </postal>
178      <email>ylafon@w3.org</email>
179      <uri>http://www.raubacapeu.net/people/yves/</uri>
180    </address>
181  </author>
182
183  <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
184    <organization abbrev="greenbytes">greenbytes GmbH</organization>
185    <address>
186      <postal>
187        <street>Hafenweg 16</street>
188        <city>Muenster</city><region>NW</region><code>48155</code>
189        <country>Germany</country>
190      </postal>
191      <phone>+49 251 2807760</phone>
192      <facsimile>+49 251 2807761</facsimile>
193      <email>julian.reschke@greenbytes.de</email>
194      <uri>http://greenbytes.de/tech/webdav/</uri>
195    </address>
196  </author>
197
198  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
199  <workgroup>HTTPbis Working Group</workgroup>
200
201<abstract>
202<t>
203   The Hypertext Transfer Protocol (HTTP) is an application-level protocol for
204   distributed, collaborative, hypertext information systems. HTTP has been in
205   use by the World Wide Web global information initiative since 1990. This
206   document is Part 3 of the seven-part specification that defines the protocol
207   referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616.
208</t>
209<t>
210   Part 3 defines HTTP message content, metadata, and content negotiation.
211</t>
212</abstract>
213
214<note title="Editorial Note (To be removed by RFC Editor)">
215  <t>
216    Discussion of this draft should take place on the HTTPBIS working group
217    mailing list (ietf-http-wg@w3.org), which is archived at
218    <eref target="http://lists.w3.org/Archives/Public/ietf-http-wg/"/>.
219  </t>
220  <t>
221    The current issues list is at
222    <eref target="http://tools.ietf.org/wg/httpbis/trac/report/3"/> and related
223    documents (including fancy diffs) can be found at
224    <eref target="http://tools.ietf.org/wg/httpbis/"/>.
225  </t>
226  <t>
227    The changes in this draft are summarized in <xref target="changes.since.16"/>.
228  </t>
229</note>
230</front>
231<middle>
232<section title="Introduction" anchor="introduction">
233<t>
234   This document defines HTTP/1.1 message payloads (a.k.a., content), the
235   associated metadata header fields that define how the payload is intended
236   to be interpreted by a recipient, the request header fields that
237   might influence content selection, and the various selection algorithms
238   that are collectively referred to as HTTP content negotiation.
239</t>
240<t>
241   This document is currently disorganized in order to minimize the changes
242   between drafts and enable reviewers to see the smaller errata changes.
243   A future draft will reorganize the sections to better reflect the content.
244   In particular, the sections on entities will be renamed payload and moved
245   to the first half of the document, while the sections on content negotiation
246   and associated request header fields will be moved to the second half.  The
247   current mess reflects how widely dispersed these topics and associated
248   requirements had become in <xref target="RFC2616"/>.
249</t>
250
251<section title="Terminology" anchor="terminology">
252<t>
253   This specification uses a number of terms to refer to the roles
254   played by participants in, and objects of, the HTTP communication.
255</t>
256<t>
257  <iref item="content negotiation"/>
258  <x:dfn>content negotiation</x:dfn>
259  <list>
260    <t>
261      The mechanism for selecting the appropriate representation when
262      servicing a request. The representation in any response
263      can be negotiated (including error responses).
264    </t>
265  </list>
266</t>
267</section>
268
269<section title="Requirements" anchor="intro.requirements">
270<t>
271   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
272   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
273   document are to be interpreted as described in <xref target="RFC2119"/>.
274</t>
275<t>
276   An implementation is not compliant if it fails to satisfy one or more
277   of the "MUST" or "REQUIRED" level requirements for the protocols it
278   implements. An implementation that satisfies all the "MUST" or "REQUIRED"
279   level and all the "SHOULD" level requirements for its protocols is said
280   to be "unconditionally compliant"; one that satisfies all the "MUST"
281   level requirements but not all the "SHOULD" level requirements for its
282   protocols is said to be "conditionally compliant".
283</t>
284</section>
285
286<section title="Syntax Notation" anchor="notation">
287  <x:anchor-alias value="ALPHA"/>
288  <x:anchor-alias value="CR"/>
289  <x:anchor-alias value="DIGIT"/>
290  <x:anchor-alias value="LF"/>
291  <x:anchor-alias value="OCTET"/>
292  <x:anchor-alias value="VCHAR"/>
293  <x:anchor-alias value="WSP"/>
294<t>
295  This specification uses the ABNF syntax defined in &notation; (which
296  extends the syntax defined in <xref target="RFC5234"/> with a list rule).
297  <xref target="collected.abnf"/> shows the collected ABNF, with the list
298  rule expanded.
299</t>
300<t>
301  The following core rules are included by
302  reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
303  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
304  DIGIT (decimal 0-9), DQUOTE (double quote),
305  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
306  OCTET (any 8-bit sequence of data), SP (space),
307  VCHAR (any visible USASCII character),
308  and WSP (whitespace).
309</t>
310
311<section title="Core Rules" anchor="core.rules">
312  <x:anchor-alias value="token"/>
313  <x:anchor-alias value="word"/>
314  <x:anchor-alias value="OWS"/>
315<t>
316  The core rules below are defined in <xref target="Part1"/>:
317</t>
318<figure><artwork type="abnf2616">
319  <x:ref>OWS</x:ref>            = &lt;OWS, defined in &basic-rules;&gt;
320  <x:ref>token</x:ref>          = &lt;token, defined in &field-rules;&gt;
321  <x:ref>word</x:ref>           = &lt;word, defined in &field-rules;&gt;
322</artwork></figure>
323</section>
324
325<section title="ABNF Rules defined in other Parts of the Specification" anchor="abnf.dependencies">
326  <x:anchor-alias value="absolute-URI"/>
327  <x:anchor-alias value="partial-URI"/>
328  <x:anchor-alias value="qvalue"/>
329<t>
330  The ABNF rules below are defined in other parts:
331</t>
332<figure><!--Part1--><artwork type="abnf2616">
333  <x:ref>absolute-URI</x:ref>   = &lt;absolute-URI, defined in &uri;&gt;
334  <x:ref>partial-URI</x:ref>    = &lt;partial-URI, defined in &uri;&gt;
335  <x:ref>qvalue</x:ref>         = &lt;qvalue, defined in &qvalue;&gt;
336</artwork></figure>
337</section>
338
339</section>
340
341</section>
342
343<section title="Protocol Parameters" anchor="protocol.parameters">
344
345<section title="Character Encodings (charset)" anchor="character.sets">
346<t>
347   HTTP uses charset names to indicate the character encoding of a
348   textual representation.
349</t>
350<t anchor="rule.charset">
351  <x:anchor-alias value="charset"/>
352   A character encoding is identified by a case-insensitive token. The
353   complete set of tokens is defined by the IANA Character Set registry
354   (<eref target="http://www.iana.org/assignments/character-sets"/>).
355</t>
356<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="charset"/>
357  <x:ref>charset</x:ref> = <x:ref>token</x:ref>
358</artwork></figure>
359<t>
360   Although HTTP allows an arbitrary token to be used as a charset
361   value, any token that has a predefined value within the IANA
362   Character Set registry &MUST; represent the character encoding defined
363   by that registry. Applications &SHOULD; limit their use of character
364   encodings to those defined within the IANA registry.
365</t>
366<t>
367   HTTP uses charset in two contexts: within an Accept-Charset request
368   header field (in which the charset value is an unquoted token) and as the
369   value of a parameter in a Content-Type header field (within a request or
370   response), in which case the parameter value of the charset parameter
371   can be quoted.
372</t>
373<t>
374   Implementors need to be aware of IETF character set requirements <xref target="RFC3629"/>
375   <xref target="RFC2277"/>.
376</t>
377</section>
378
379<section title="Content Codings" anchor="content.codings">
380  <x:anchor-alias value="content-coding"/>
381<t>
382   Content coding values indicate an encoding transformation that has
383   been or can be applied to a representation. Content codings are primarily
384   used to allow a representation to be compressed or otherwise usefully
385   transformed without losing the identity of its underlying media type
386   and without loss of information. Frequently, the representation is stored in
387   coded form, transmitted directly, and only decoded by the recipient.
388</t>
389<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="content-coding"/>
390  <x:ref>content-coding</x:ref>   = <x:ref>token</x:ref>
391</artwork></figure>
392<t>
393   All content-coding values are case-insensitive. HTTP/1.1 uses
394   content-coding values in the Accept-Encoding (<xref target="header.accept-encoding"/>) and
395   Content-Encoding (<xref target="header.content-encoding"/>) header fields. Although the value
396   describes the content-coding, what is more important is that it
397   indicates what decoding mechanism will be required to remove the
398   encoding.
399</t>
400<t>
401   compress<iref item="compress (Coding Format)"/><iref item="Coding Format" subitem="compress"/>
402  <list>
403    <t>
404      See &compress-coding;.
405    </t>
406  </list>
407</t>
408<t>
409   deflate<iref item="deflate (Coding Format)"/><iref item="Coding Format" subitem="deflate"/>
410  <list>
411    <t>
412      See &deflate-coding;.
413    </t>
414  </list>
415</t>
416<t>
417   gzip<iref item="gzip (Coding Format)"/><iref item="Coding Format" subitem="gzip"/>
418  <list>
419    <t>
420      See &gzip-coding;.
421    </t>
422  </list>
423</t>
424
425<section title="Content Coding Registry" anchor="content.coding.registry">
426<t>
427   The HTTP Content Coding Registry defines the name space for the content
428   coding names.
429</t>
430<t>
431   Registrations &MUST; include the following fields:
432   <list style="symbols">
433     <t>Name</t>
434     <t>Description</t>
435     <t>Pointer to specification text</t>
436   </list>
437</t>
438<t>
439   Names of content codings &MUST-NOT; overlap with names of transfer codings
440   (&transfer-codings;), unless the encoding transformation is identical (as it
441   is the case for the compression codings defined in
442   &compression-codings;).
443</t>
444<t>
445   Values to be added to this name space require a specification
446   (see "Specification Required" in
447   <xref target="RFC5226" x:fmt="of" x:sec="4.1"/>), and &MUST;
448   conform to the purpose of content coding defined in this section.
449</t>
450<t>
451   The registry itself is maintained at
452   <eref target="http://www.iana.org/assignments/http-parameters"/>.
453</t>
454</section>
455
456</section>
457
458<section title="Media Types" anchor="media.types">
459  <x:anchor-alias value="media-type"/>
460  <x:anchor-alias value="type"/>
461  <x:anchor-alias value="subtype"/>
462<t>
463   HTTP uses Internet Media Types <xref target="RFC2046"/> in the Content-Type (<xref target="header.content-type"/>)
464   and Accept (<xref target="header.accept"/>) header fields in order to provide
465   open and extensible data typing and type negotiation.
466</t>
467<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="media-type"/><iref primary="true" item="Grammar" subitem="type"/><iref primary="true" item="Grammar" subitem="subtype"/>
468  <x:ref>media-type</x:ref> = <x:ref>type</x:ref> "/" <x:ref>subtype</x:ref> *( <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>parameter</x:ref> )
469  <x:ref>type</x:ref>       = <x:ref>token</x:ref>
470  <x:ref>subtype</x:ref>    = <x:ref>token</x:ref>
471</artwork></figure>
472<t anchor="rule.parameter">
473  <x:anchor-alias value="attribute"/>
474  <x:anchor-alias value="parameter"/>
475  <x:anchor-alias value="value"/>
476   The type/subtype &MAY; be followed by parameters in the form of
477   attribute/value pairs.
478</t>
479<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="parameter"/><iref primary="true" item="Grammar" subitem="attribute"/><iref primary="true" item="Grammar" subitem="value"/>
480  <x:ref>parameter</x:ref>      = <x:ref>attribute</x:ref> "=" <x:ref>value</x:ref>
481  <x:ref>attribute</x:ref>      = <x:ref>token</x:ref>
482  <x:ref>value</x:ref>          = <x:ref>word</x:ref>
483</artwork></figure>
484<t>
485   The type, subtype, and parameter attribute names are case-insensitive.
486   Parameter values might or might not be case-sensitive, depending on the
487   semantics of the parameter name.  The presence or absence of a parameter might
488   be significant to the processing of a media-type, depending on its
489   definition within the media type registry.
490</t>
491<t>
492   A parameter value that matches the <x:ref>token</x:ref> production can be
493   transmitted as either a token or within a quoted-string. The quoted and
494   unquoted values are equivalent.
495</t>
496<t>
497   Note that some older HTTP applications do not recognize media type
498   parameters. When sending data to older HTTP applications,
499   implementations &SHOULD; only use media type parameters when they are
500   required by that type/subtype definition.
501</t>
502<t>
503   Media-type values are registered with the Internet Assigned Number
504   Authority (IANA). The media type registration process is
505   outlined in <xref target="RFC4288"/>. Use of non-registered media types is
506   discouraged.
507</t>
508
509<section title="Canonicalization and Text Defaults" anchor="canonicalization.and.text.defaults">
510<t>
511   Internet media types are registered with a canonical form. A
512   representation transferred via HTTP messages &MUST; be in the
513   appropriate canonical form prior to its transmission except for
514   "text" types, as defined in the next paragraph.
515</t>
516<t>
517   When in canonical form, media subtypes of the "text" type use CRLF as
518   the text line break. HTTP relaxes this requirement and allows the
519   transport of text media with plain CR or LF alone representing a line
520   break when it is done consistently for an entire representation. HTTP
521   applications &MUST; accept CRLF, bare CR, and bare LF as indicating
522   a line break in text media received via HTTP. In
523   addition, if the text is in a character encoding that does not
524   use octets 13 and 10 for CR and LF respectively, as is the case for
525   some multi-byte character encodings, HTTP allows the use of whatever octet
526   sequences are defined by that character encoding to represent the
527   equivalent of CR and LF for line breaks. This flexibility regarding
528   line breaks applies only to text media in the payload body; a bare CR
529   or LF &MUST-NOT; be substituted for CRLF within any of the HTTP control
530   structures (such as header fields and multipart boundaries).
531</t>
532<t>
533   If a representation is encoded with a content-coding, the underlying
534   data &MUST; be in a form defined above prior to being encoded.
535</t>
536</section>
537
538<section title="Multipart Types" anchor="multipart.types">
539<t>
540   MIME provides for a number of "multipart" types &mdash; encapsulations of
541   one or more representations within a single message-body. All multipart
542   types share a common syntax, as defined in <xref target="RFC2046" x:sec="5.1.1" x:fmt="of"/>,
543   and &MUST; include a boundary parameter as part of the media type
544   value. The message body is itself a protocol element and &MUST;
545   therefore use only CRLF to represent line breaks between body-parts.
546</t>
547<t>
548   In general, HTTP treats a multipart message-body no differently than
549   any other media type: strictly as payload.  HTTP does not use the
550   multipart boundary as an indicator of message-body length.
551   <!-- jre: re-insert removed text pointing to caching? -->
552   In all other respects, an HTTP user agent &SHOULD; follow the same or similar
553   behavior as a MIME user agent would upon receipt of a multipart type.
554   The MIME header fields within each body-part of a multipart message-body
555   do not have any significance to HTTP beyond that defined by
556   their MIME semantics.
557</t>
558<t>
559   If an application receives an unrecognized multipart subtype, the
560   application &MUST; treat it as being equivalent to "multipart/mixed".
561</t>
562<x:note>
563  <t>
564    <x:h>Note:</x:h> The "multipart/form-data" type has been specifically defined
565    for carrying form data suitable for processing via the POST
566    request method, as described in <xref target="RFC2388"/>.
567  </t>
568</x:note>
569</section>
570</section>
571
572<section title="Language Tags" anchor="language.tags">
573  <x:anchor-alias value="language-tag"/>
574<t>
575   A language tag, as defined in <xref target="RFC5646"/>, identifies a
576   natural language spoken, written, or otherwise conveyed by human beings for
577   communication of information to other human beings. Computer languages are
578   explicitly excluded. HTTP uses language tags within the Accept-Language and
579   Content-Language fields.
580</t>
581<t>
582   In summary, a language tag is composed of one or more parts: A primary
583   language subtag followed by a possibly empty series of subtags:
584</t>
585<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="language-tag"/>
586  <x:ref>language-tag</x:ref> = &lt;Language-Tag, defined in <xref target="RFC5646" x:sec="2.1"/>&gt;
587</artwork></figure>
588<t>
589   White space is not allowed within the tag and all tags are case-insensitive.
590   The name space of language subtags is administered by the IANA (see
591   <eref target="http://www.iana.org/assignments/language-subtag-registry"/>).
592</t>
593<figure>
594  <preamble>Example tags include:</preamble>
595<artwork type="example">
596  en, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN
597</artwork>
598</figure>
599<t>
600   See <xref target="RFC5646"/> for further information.
601</t>
602</section>
603</section>
604
605<section title="Payload" anchor="payload">
606<t>
607   HTTP messages &MAY; transfer a payload if not otherwise restricted by
608   the request method or response status code.  The payload consists of
609   metadata, in the form of header fields, and data, in the form of the
610   sequence of octets in the message-body after any transfer-coding has
611   been decoded.
612</t>
613<iref item="payload"/>
614<t>   
615   A "<x:dfn>payload</x:dfn>" in HTTP is always a partial or complete
616   representation of some resource.  We use separate terms for payload
617   and representation because some messages contain only the associated
618   representation's header fields (e.g., responses to HEAD) or only some
619   part(s) of the representation (e.g., the 206 status code).
620</t>
621<section title="Payload Header Fields" anchor="payload.header.fields">
622  <x:anchor-alias value="payload-header"/>
623<t>
624   HTTP header fields that specifically define the payload, rather than the
625   associated representation, are referred to as "payload header fields".
626   The following payload header fields are defined by HTTP/1.1:
627</t>
628<texttable align="left">
629  <ttcol>Header Field Name</ttcol>
630  <ttcol>Defined in...</ttcol>
631
632  <c>Content-Length</c> <c>&header-content-length;</c>
633  <c>Content-Range</c> <c>&header-content-range;</c>
634</texttable>
635</section>
636
637<section title="Payload Body" anchor="payload.body">
638  <x:anchor-alias value="payload-body"/>
639<t>
640   A payload body is only present in a message when a message-body is
641   present, as described in &message-body;. The payload body is obtained
642   from the message-body by decoding any Transfer-Encoding that might
643   have been applied to ensure safe and proper transfer of the message.
644</t>
645</section>
646</section>
647
648<section title="Representation" anchor="representation">
649<iref item="representation"/>
650<t>
651   A "<x:dfn>representation</x:dfn>" is information in a format that can be readily
652   communicated from one party to another.  A resource representation
653   is information that reflects the state of that resource, as observed
654   at some point in the past (e.g., in a response to GET) or to be
655   desired at some point in the future (e.g., in a PUT request).
656</t>
657<t>
658   Most, but not all, representations transferred via HTTP are intended
659   to be a representation of the target resource (the resource identified
660   by the effective request URI).  The precise semantics of a representation
661   are determined by the type of message (request or response), the request
662   method, the response status code, and the representation metadata.
663   For example, the above semantic is true for the representation in any
664   200 (OK) response to GET and for the representation in any PUT request.
665   A 200 response to PUT, in contrast, contains either a representation
666   that describes the successful action or a representation of the target
667   resource, with the latter indicated by a Content-Location header field
668   with the same value as the effective request URI.  Likewise, response
669   messages with an error status code usually contain a representation that
670   describes the error and what next steps are suggested for resolving it.
671</t>
672
673<section title="Representation Header Fields" anchor="representation.header.fields">
674  <x:anchor-alias value="representation-header"/>
675<t>
676   Representation header fields define metadata about the representation data
677   enclosed in the message-body or, if no message-body is present, about
678   the representation that would have been transferred in a 200 response
679   to a simultaneous GET request with the same effective request URI.
680</t>
681<t>
682   The following header fields are defined as representation metadata:
683</t>
684<texttable align="left">
685  <ttcol>Header Field Name</ttcol>
686  <ttcol>Defined in...</ttcol>
687
688  <c>Content-Encoding</c> <c><xref target="header.content-encoding"/></c>
689  <c>Content-Language</c> <c><xref target="header.content-language"/></c>
690  <c>Content-Location</c> <c><xref target="header.content-location"/></c>
691  <c>Content-Type</c> <c><xref target="header.content-type"/></c>
692  <c>Expires</c> <c>&header-expires;</c>
693  <c>Last-Modified</c> <c>&header-last-modified;</c>
694</texttable>
695</section>
696
697<section title="Representation Data" anchor="representation.data">
698  <x:anchor-alias value="representation-data"/>
699<t>
700   The representation body associated with an HTTP message is
701   either provided as the payload body of the message or
702   referred to by the message semantics and the effective request
703   URI.  The representation data is in a format and encoding defined by
704   the representation metadata header fields.
705</t>
706<t>
707   The data type of the representation data
708   is determined via the header fields Content-Type and Content-Encoding.
709   These define a two-layer, ordered encoding model:
710</t>
711<figure><artwork type="example">
712  representation-data := Content-Encoding( Content-Type( bits ) )
713</artwork></figure>
714<t>
715   Content-Type specifies the media type of the underlying data, which
716   defines both the data format and how that data &SHOULD; be processed
717   by the recipient (within the scope of the request method semantics).
718   Any HTTP/1.1 message containing a payload body &SHOULD; include a
719   Content-Type header field defining the media type of the associated
720   representation unless that metadata is unknown to the sender.
721   If the Content-Type header field is not present, it indicates that
722   the sender does not know the media type of the representation;
723   recipients &MAY; either assume that the media type is
724   "application/octet-stream" (<xref target="RFC2046" x:fmt="," x:sec="4.5.1"/>)
725   or examine the content to determine its type.
726</t>
727<t>
728   In practice, resource owners do not always properly configure their origin
729   server to provide the correct Content-Type for a given representation,
730   with the result that some clients will examine a response body's content
731   and override the specified type.
732   Clients that do so risk drawing incorrect conclusions, which might expose
733   additional security risks (e.g., "privilege escalation").  Furthermore,
734   it is impossible to determine the sender's intent by examining the data
735   format: many data formats match multiple media types that differ only in
736   processing semantics.  Implementers are encouraged to provide a means of
737   disabling such "content sniffing" when it is used.
738</t>
739<t>
740   Content-Encoding is used to indicate any additional content
741   codings applied to the data, usually for the purpose of data
742   compression, that are a property of the representation.  If
743   Content-Encoding is not present, then there is no additional
744   encoding beyond that defined by the Content-Type.
745</t>
746</section>
747</section>
748
749<section title="Content Negotiation" anchor="content.negotiation">
750<t>
751   HTTP responses include a representation which contains information for
752   interpretation, whether by a human user or for further processing.
753   Often, the server has different ways of representing the
754   same information; for example, in different formats, languages,
755   or using different character encodings.
756</t>
757<t>
758   HTTP clients and their users might have different or variable
759   capabilities, characteristics or preferences which would influence
760   which representation, among those available from the server,
761   would be best for the server to deliver. For this reason, HTTP
762   provides mechanisms for "content negotiation" &mdash; a process of
763   allowing selection of a representation of a given resource,
764   when more than one is available.
765</t>
766<t>
767   This specification defines two patterns of content negotiation;
768   "server-driven", where the server selects the representation based
769   upon the client's stated preferences, and "agent-driven" negotiation,
770   where the server provides a list of representations for the client to
771   choose from, based upon their metadata. In addition,  there are
772   other patterns: some applications use an "active content" pattern,
773   where the server returns active content which runs on the client
774   and, based on client available parameters, selects additional
775   resources to invoke. "Transparent Content Negotiation" (<xref target="RFC2295"/>)
776   has also been proposed.
777</t>
778<t>
779   These patterns are all widely used, and have trade-offs in applicability
780   and practicality. In particular, when the number of preferences or
781   capabilities to be expressed by a client are large (such as when many
782   different formats are supported by a user-agent), server-driven
783   negotiation becomes unwieldy, and might not be appropriate. Conversely,
784   when the number of representations to choose from is very large,
785   agent-driven negotiation might not be appropriate.
786</t>
787<t>
788   Note that in all cases, the supplier of representations has the
789   responsibility for determining which representations might be
790   considered to be the "same information".
791</t>
792
793<section title="Server-driven Negotiation" anchor="server-driven.negotiation">
794<t>
795   If the selection of the best representation for a response is made by
796   an algorithm located at the server, it is called server-driven
797   negotiation. Selection is based on the available representations of
798   the response (the dimensions over which it can vary; e.g., language,
799   content-coding, etc.) and the contents of particular header fields in
800   the request message or on other information pertaining to the request
801   (such as the network address of the client).
802</t>
803<t>
804   Server-driven negotiation is advantageous when the algorithm for
805   selecting from among the available representations is difficult to
806   describe to the user agent, or when the server desires to send its
807   "best guess" to the client along with the first response (hoping to
808   avoid the round-trip delay of a subsequent request if the "best
809   guess" is good enough for the user). In order to improve the server's
810   guess, the user agent &MAY; include request header fields (Accept,
811   Accept-Language, Accept-Encoding, etc.) which describe its
812   preferences for such a response.
813</t>
814<t>
815   Server-driven negotiation has disadvantages:
816  <list style="numbers">
817    <t>
818         It is impossible for the server to accurately determine what
819         might be "best" for any given user, since that would require
820         complete knowledge of both the capabilities of the user agent
821         and the intended use for the response (e.g., does the user want
822         to view it on screen or print it on paper?).
823    </t>
824    <t>
825         Having the user agent describe its capabilities in every
826         request can be both very inefficient (given that only a small
827         percentage of responses have multiple representations) and a
828         potential violation of the user's privacy.
829    </t>
830    <t>
831         It complicates the implementation of an origin server and the
832         algorithms for generating responses to a request.
833    </t>
834    <t>
835         It might limit a public cache's ability to use the same response
836         for multiple user's requests.
837    </t>
838  </list>
839</t>
840<t>
841   Server-driven negotiation allows the user agent to specify its preferences,
842   but it cannot expect responses to always honour them. For example, the origin
843   server might not implement server-driven negotiation, or it might decide that
844   sending a response that doesn't conform to them is better than sending a 406
845   (Not Acceptable) response.
846</t>
847<t>
848   Many of the mechanisms for expressing preferences use quality values to
849   declare relative preference. See &qvalue; for more information.
850</t>
851<t>
852   HTTP/1.1 includes the following header fields for enabling
853   server-driven negotiation through description of user agent
854   capabilities and user preferences: Accept (<xref target="header.accept"/>), Accept-Charset
855   (<xref target="header.accept-charset"/>), Accept-Encoding (<xref target="header.accept-encoding"/>), Accept-Language
856   (<xref target="header.accept-language"/>), and User-Agent (&header-user-agent;).
857   However, an origin server is not limited to these dimensions and &MAY; vary
858   the response based on any aspect of the request, including aspects
859   of the connection (e.g., IP address) or information within extension
860   header fields not defined by this specification.
861</t>
862<x:note>
863  <t>
864    <x:h>Note:</x:h> In practice, User-Agent based negotiation is fragile,
865    because new clients might not be recognized.
866  </t>
867</x:note>
868<t>
869   The Vary header field (&header-vary;) can be used to express the parameters the
870   server uses to select a representation that is subject to server-driven
871   negotiation.
872</t>
873</section>
874
875<section title="Agent-driven Negotiation" anchor="agent-driven.negotiation">
876<t>
877   With agent-driven negotiation, selection of the best representation
878   for a response is performed by the user agent after receiving an
879   initial response from the origin server. Selection is based on a list
880   of the available representations of the response included within the
881   header fields or body of the initial response, with each
882   representation identified by its own URI. Selection from among the
883   representations can be performed automatically (if the user agent is
884   capable of doing so) or manually by the user selecting from a
885   generated (possibly hypertext) menu.
886</t>
887<t>
888   Agent-driven negotiation is advantageous when the response would vary
889   over commonly-used dimensions (such as type, language, or encoding),
890   when the origin server is unable to determine a user agent's
891   capabilities from examining the request, and generally when public
892   caches are used to distribute server load and reduce network usage.
893</t>
894<t>
895   Agent-driven negotiation suffers from the disadvantage of needing a
896   second request to obtain the best alternate representation. This
897   second request is only efficient when caching is used. In addition,
898   this specification does not define any mechanism for supporting
899   automatic selection, though it also does not prevent any such
900   mechanism from being developed as an extension and used within
901   HTTP/1.1.
902</t>
903<t>
904   This specification defines the 300 (Multiple Choices) and 406 (Not Acceptable)
905   status codes for enabling agent-driven negotiation when the server is
906   unwilling or unable to provide a varying response using server-driven
907   negotiation.
908</t>
909</section>
910</section>
911
912<section title="Header Field Definitions" anchor="header.fields">
913<t>
914   This section defines the syntax and semantics of HTTP/1.1 header fields
915   related to the payload of messages.
916</t>
917
918<section title="Accept" anchor="header.accept">
919  <iref primary="true" item="Accept header field" x:for-anchor=""/>
920  <iref primary="true" item="Header Fields" subitem="Accept" x:for-anchor=""/>
921  <x:anchor-alias value="Accept"/>
922  <x:anchor-alias value="accept-ext"/>
923  <x:anchor-alias value="accept-params"/>
924  <x:anchor-alias value="media-range"/>
925<t>
926   The "Accept" header field can be used by user agents to specify
927   response media types that are acceptable. Accept header fields can be used to
928   indicate that the request is specifically limited to a small set of desired
929   types, as in the case of a request for an in-line image.
930</t>
931<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept"/><iref primary="true" item="Grammar" subitem="media-range"/><iref primary="true" item="Grammar" subitem="accept-params"/><iref primary="true" item="Grammar" subitem="accept-ext"/>
932  <x:ref>Accept</x:ref> = #( <x:ref>media-range</x:ref> [ <x:ref>accept-params</x:ref> ] )
933 
934  <x:ref>media-range</x:ref>    = ( "*/*"
935                   / ( <x:ref>type</x:ref> "/" "*" )
936                   / ( <x:ref>type</x:ref> "/" <x:ref>subtype</x:ref> )
937                   ) *( <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>parameter</x:ref> )
938  <x:ref>accept-params</x:ref>  = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> "q=" <x:ref>qvalue</x:ref> *( <x:ref>accept-ext</x:ref> )
939  <x:ref>accept-ext</x:ref>     = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>token</x:ref> [ "=" <x:ref>word</x:ref> ]
940</artwork></figure>
941<t>
942   The asterisk "*" character is used to group media types into ranges,
943   with "*/*" indicating all media types and "type/*" indicating all
944   subtypes of that type. The media-range &MAY; include media type
945   parameters that are applicable to that range.
946</t>
947<t>
948   Each media-range &MAY; be followed by one or more accept-params,
949   beginning with the "q" parameter for indicating a relative quality
950   factor. The first "q" parameter (if any) separates the media-range
951   parameter(s) from the accept-params. Quality factors allow the user
952   or user agent to indicate the relative degree of preference for that
953   media-range, using the qvalue scale from 0 to 1 (&qvalue;). The
954   default value is q=1.
955</t>
956<x:note>
957  <t>
958    <x:h>Note:</x:h> Use of the "q" parameter name to separate media type
959    parameters from Accept extension parameters is due to historical
960    practice. Although this prevents any media type parameter named
961    "q" from being used with a media range, such an event is believed
962    to be unlikely given the lack of any "q" parameters in the IANA
963    media type registry and the rare usage of any media type
964    parameters in Accept. Future media types are discouraged from
965    registering any parameter named "q".
966  </t>
967</x:note>
968<t>
969   The example
970</t>
971<figure><artwork type="example">
972  Accept: audio/*; q=0.2, audio/basic
973</artwork></figure>
974<t>
975   &SHOULD; be interpreted as "I prefer audio/basic, but send me any audio
976   type if it is the best available after an 80% mark-down in quality".
977</t>
978<t>
979   A request without any Accept header field implies that the user agent
980   will accept any media type in response.
981   If an Accept header field is present in a request and none of the
982   available representations for the response have a media type that is
983   listed as acceptable, the origin server &MAY; either
984   honor the Accept header field by sending a 406 (Not Acceptable) response
985   or disregard the Accept header field by treating the response as if
986   it is not subject to content negotiation.
987</t>
988<t>
989   A more elaborate example is
990</t>
991<figure><artwork type="example">
992  Accept: text/plain; q=0.5, text/html,
993          text/x-dvi; q=0.8, text/x-c
994</artwork></figure>
995<t>
996   Verbally, this would be interpreted as "text/html and text/x-c are
997   the preferred media types, but if they do not exist, then send the
998   text/x-dvi representation, and if that does not exist, send the text/plain
999   representation".
1000</t>
1001<t>
1002   Media ranges can be overridden by more specific media ranges or
1003   specific media types. If more than one media range applies to a given
1004   type, the most specific reference has precedence. For example,
1005</t>
1006<figure><artwork type="example">
1007  Accept: text/*, text/plain, text/plain;format=flowed, */*
1008</artwork></figure>
1009<t>
1010   have the following precedence:
1011   <list style="numbers">
1012    <t>text/plain;format=flowed</t>
1013    <t>text/plain</t>
1014    <t>text/*</t>
1015    <t>*/*</t>
1016   </list>
1017</t>
1018<t>
1019   The media type quality factor associated with a given type is
1020   determined by finding the media range with the highest precedence
1021   which matches that type. For example,
1022</t>
1023<figure><artwork type="example">
1024  Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1,
1025          text/html;level=2;q=0.4, */*;q=0.5
1026</artwork></figure>
1027<t>
1028   would cause the following values to be associated:
1029</t>
1030<texttable align="left">
1031  <ttcol>Media Type</ttcol><ttcol>Quality Value</ttcol>
1032  <c>text/html;level=1</c>    <c>1</c>
1033  <c>text/html</c>            <c>0.7</c>
1034  <c>text/plain</c>           <c>0.3</c>
1035  <c>image/jpeg</c>           <c>0.5</c>
1036  <c>text/html;level=2</c>    <c>0.4</c>
1037  <c>text/html;level=3</c>    <c>0.7</c>
1038</texttable>
1039<t>
1040      <x:h>Note:</x:h> A user agent might be provided with a default set of quality
1041      values for certain media ranges. However, unless the user agent is
1042      a closed system which cannot interact with other rendering agents,
1043      this default set ought to be configurable by the user.
1044</t>
1045</section>
1046
1047<section title="Accept-Charset" anchor="header.accept-charset">
1048  <iref primary="true" item="Accept-Charset header field" x:for-anchor=""/>
1049  <iref primary="true" item="Header Fields" subitem="Accept-Charset" x:for-anchor=""/>
1050  <x:anchor-alias value="Accept-Charset"/>
1051<t>
1052   The "Accept-Charset" header field can be used by user agents to
1053   indicate what character encodings are acceptable in a response
1054   payload. This field allows
1055   clients capable of understanding more comprehensive or special-purpose
1056   character encodings to signal that capability to a server which is capable of
1057   representing documents in those character encodings.
1058</t>
1059<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Charset"/>
1060  <x:ref>Accept-Charset</x:ref> = 1#( ( <x:ref>charset</x:ref> / "*" )
1061                         [ <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> "q=" <x:ref>qvalue</x:ref> ] )
1062</artwork></figure>
1063<t>
1064   Character encoding values (a.k.a., charsets) are described in
1065   <xref target="character.sets"/>. Each charset &MAY; be given an
1066   associated quality value which represents the user's preference
1067   for that charset. The default value is q=1. An example is
1068</t>
1069<figure><artwork type="example">
1070  Accept-Charset: iso-8859-5, unicode-1-1;q=0.8
1071</artwork></figure>
1072<t>
1073   The special value "*", if present in the Accept-Charset field,
1074   matches every character encoding which is not mentioned elsewhere in the
1075   Accept-Charset field. If no "*" is present in an Accept-Charset field, then
1076   all character encodings not explicitly mentioned get a quality value of 0.
1077</t>
1078<t>
1079   A request without any Accept-Charset header field implies that the user
1080   agent will accept any character encoding in response.
1081   If an Accept-Charset header field is present in a request and none of the
1082   available representations for the response have a character encoding that
1083   is listed as acceptable, the origin server &MAY; either honor the
1084   Accept-Charset header field by sending a 406 (Not Acceptable) response or
1085   disregard the Accept-Charset header field by treating the response as if
1086   it is not subject to content negotiation.
1087</t>
1088</section>
1089
1090<section title="Accept-Encoding" anchor="header.accept-encoding">
1091  <iref primary="true" item="Accept-Encoding header field" x:for-anchor=""/>
1092  <iref primary="true" item="Header Fields" subitem="Accept-Encoding" x:for-anchor=""/>
1093  <x:anchor-alias value="Accept-Encoding"/>
1094  <x:anchor-alias value="codings"/>
1095<t>
1096   The "Accept-Encoding" header field can be used by user agents to
1097   indicate what response content-codings (<xref target="content.codings"/>)
1098   are acceptable in the response.  An "identity" token is used as a synonym
1099   for "no encoding" in order to communicate when no encoding is preferred.
1100</t>
1101<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Encoding"/><iref primary="true" item="Grammar" subitem="codings"/>
1102  <x:ref>Accept-Encoding</x:ref>  = #( <x:ref>codings</x:ref> [ <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> "q=" <x:ref>qvalue</x:ref> ] )
1103  <x:ref>codings</x:ref>          = <x:ref>content-coding</x:ref>
1104                                  / "identity"
1105                                  / "*"
1106</artwork></figure>
1107<t>
1108   Each codings value &MAY; be given an associated quality value which
1109   represents the preference for that encoding. The default value is q=1.
1110</t>
1111<t>
1112   For example,
1113</t>
1114<figure><artwork type="example">
1115  Accept-Encoding: compress, gzip
1116  Accept-Encoding:
1117  Accept-Encoding: *
1118  Accept-Encoding: compress;q=0.5, gzip;q=1.0
1119  Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0
1120</artwork></figure>
1121<t>
1122   A server tests whether a content-coding for a given representation is
1123   acceptable, according to an Accept-Encoding field, using these rules:
1124  <list style="numbers">
1125      <t>The special "*" symbol in an Accept-Encoding field matches any
1126         available content-coding not explicitly listed in the header
1127         field.</t>
1128
1129      <t>If the representation has no content-coding, then it is acceptable
1130         by default unless specifically excluded by the Accept-Encoding field
1131         stating either "identity;q=0" or "*;q=0" without a more specific
1132         entry for "identity".</t>
1133
1134      <t>If the representation's content-coding is one of the content-codings
1135         listed in the Accept-Encoding field, then it is acceptable unless
1136         it is accompanied by a qvalue of 0. (As defined in &qvalue;, a
1137         qvalue of 0 means "not acceptable".)</t>
1138
1139      <t>If multiple content-codings are acceptable, then the acceptable
1140         content-coding with the highest non-zero qvalue is preferred.</t>
1141  </list>
1142</t>
1143<t>
1144   An Accept-Encoding header field with a combined field-value that is empty
1145   implies that the user agent does not want any content-coding in response.
1146   If an Accept-Encoding header field is present in a request and none of the
1147   available representations for the response have a content-coding that
1148   is listed as acceptable, the origin server &SHOULD; send a response
1149   without any content-coding.
1150</t>
1151<t>
1152   A request without an Accept-Encoding header field implies that the user
1153   agent will accept any content-coding in response, but a representation
1154   without content-coding is preferred for compatibility with the widest
1155   variety of user agents.
1156</t>
1157<x:note>
1158  <t>
1159    <x:h>Note:</x:h> Most HTTP/1.0 applications do not recognize or obey qvalues
1160    associated with content-codings. This means that qvalues will not
1161    work and are not permitted with x-gzip or x-compress.
1162  </t>
1163</x:note>
1164</section>
1165
1166<section title="Accept-Language" anchor="header.accept-language">
1167  <iref primary="true" item="Accept-Language header field" x:for-anchor=""/>
1168  <iref primary="true" item="Header Fields" subitem="Accept-Language" x:for-anchor=""/>
1169  <x:anchor-alias value="Accept-Language"/>
1170  <x:anchor-alias value="language-range"/>
1171<t>
1172   The "Accept-Language" header field can be used by user agents to
1173   indicate the set of natural languages that are preferred in the response.
1174   Language tags are defined in <xref target="language.tags"/>.
1175</t>
1176<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Language"/><iref primary="true" item="Grammar" subitem="language-range"/>
1177  <x:ref>Accept-Language</x:ref> =
1178                    1#( <x:ref>language-range</x:ref> [ <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> "q=" <x:ref>qvalue</x:ref> ] )
1179  <x:ref>language-range</x:ref>  =
1180            &lt;language-range, defined in <xref target="RFC4647" x:fmt="," x:sec="2.1"/>&gt;
1181</artwork></figure>
1182<t>
1183   Each language-range can be given an associated quality value which
1184   represents an estimate of the user's preference for the languages
1185   specified by that range. The quality value defaults to "q=1". For
1186   example,
1187</t>
1188<figure><artwork type="example">
1189  Accept-Language: da, en-gb;q=0.8, en;q=0.7
1190</artwork></figure>
1191<t>
1192   would mean: "I prefer Danish, but will accept British English and
1193   other types of English".
1194   (see also <xref target="RFC4647" x:sec="2.3" x:fmt="of"/>)
1195</t>
1196<t>
1197   For matching, <xref target="RFC4647" x:sec="3" x:fmt="of"/> defines
1198   several matching schemes. Implementations can offer the most appropriate
1199   matching scheme for their requirements.
1200</t>
1201<x:note>
1202  <t>
1203    <x:h>Note:</x:h> The "Basic Filtering" scheme (<xref target="RFC4647"
1204    x:fmt="," x:sec="3.3.1"/>) is identical to the matching scheme that was
1205    previously defined in <xref target="RFC2616" x:fmt="of" x:sec="14.4"/>.
1206  </t>
1207</x:note>
1208<t>
1209   It might be contrary to the privacy expectations of the user to send
1210   an Accept-Language header field with the complete linguistic preferences of
1211   the user in every request. For a discussion of this issue, see
1212   <xref target="privacy.issues.connected.to.accept.header.fields"/>.
1213</t>
1214<t>
1215   As intelligibility is highly dependent on the individual user, it is
1216   recommended that client applications make the choice of linguistic
1217   preference available to the user. If the choice is not made
1218   available, then the Accept-Language header field &MUST-NOT; be given in
1219   the request.
1220</t>
1221<x:note>
1222  <t>
1223    <x:h>Note:</x:h> When making the choice of linguistic preference available to
1224    the user, we remind implementors of  the fact that users are not
1225    familiar with the details of language matching as described above,
1226    and ought to be provided appropriate guidance. As an example, users
1227    might assume that on selecting "en-gb", they will be served any
1228    kind of English document if British English is not available. A
1229    user agent might suggest in such a case to add "en" to get the
1230    best matching behavior.
1231  </t>
1232</x:note>
1233</section>
1234
1235<section title="Content-Encoding" anchor="header.content-encoding">
1236  <iref primary="true" item="Content-Encoding header field" x:for-anchor=""/>
1237  <iref primary="true" item="Header Fields" subitem="Content-Encoding" x:for-anchor=""/>
1238  <x:anchor-alias value="Content-Encoding"/>
1239<t>
1240   The "Content-Encoding" header field indicates what content-codings
1241   have been applied to the representation beyond those inherent in the media
1242   type, and thus what decoding mechanisms must be applied in order to obtain
1243   the media-type referenced by the Content-Type header field.
1244   Content-Encoding is primarily used to allow a representation to be
1245   compressed without losing the identity of its underlying media type.
1246</t>
1247<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Encoding"/>
1248  <x:ref>Content-Encoding</x:ref> = 1#<x:ref>content-coding</x:ref>
1249</artwork></figure>
1250<t>
1251   Content codings are defined in <xref target="content.codings"/>. An example of its use is
1252</t>
1253<figure><artwork type="example">
1254  Content-Encoding: gzip
1255</artwork></figure>
1256<t>
1257   The content-coding is a characteristic of the representation.
1258   Typically, the representation body is stored with this
1259   encoding and is only decoded before rendering or analogous usage.
1260   However, a transforming proxy &MAY; modify the content-coding if the
1261   new coding is known to be acceptable to the recipient, unless the
1262   "no-transform" cache-control directive is present in the message.
1263</t>
1264<t>
1265   If the media type includes an inherent encoding, such as a data format
1266   that is always compressed, then that encoding would not be restated as
1267   a Content-Encoding even if it happens to be the same algorithm as one
1268   of the content-codings.  Such a content-coding would only be listed if,
1269   for some bizarre reason, it is applied a second time to form the
1270   representation.  Likewise, an origin server might choose to publish the
1271   same payload data as multiple representations that differ only in whether
1272   the coding is defined as part of Content-Type or Content-Encoding, since
1273   some user agents will behave differently in their handling of each
1274   response (e.g., open a "Save as ..." dialog instead of automatic
1275   decompression and rendering of content).
1276</t>
1277<t>
1278   A representation that has a content-coding applied to it &MUST; include
1279   a Content-Encoding header field (<xref target="header.content-encoding"/>)
1280   that lists the content-coding(s) applied.
1281</t>
1282<t>
1283   If multiple encodings have been applied to a representation, the content
1284   codings &MUST; be listed in the order in which they were applied.
1285   Additional information about the encoding parameters &MAY; be provided
1286   by other header fields not defined by this specification.
1287</t>
1288<t>
1289   If the content-coding of a representation in a request message is not
1290   acceptable to the origin server, the server &SHOULD; respond with a
1291   status code of 415 (Unsupported Media Type).
1292</t>
1293</section>
1294
1295<section title="Content-Language" anchor="header.content-language">
1296  <iref primary="true" item="Content-Language header field" x:for-anchor=""/>
1297  <iref primary="true" item="Header Fields" subitem="Content-Language" x:for-anchor=""/>
1298  <x:anchor-alias value="Content-Language"/>
1299<t>
1300   The "Content-Language" header field describes the natural
1301   language(s) of the intended audience for the representation. Note that this might
1302   not be equivalent to all the languages used within the representation.
1303</t>
1304<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Language"/>
1305  <x:ref>Content-Language</x:ref> = 1#<x:ref>language-tag</x:ref>
1306</artwork></figure>
1307<t>
1308   Language tags are defined in <xref target="language.tags"/>. The primary purpose of
1309   Content-Language is to allow a user to identify and differentiate
1310   representations according to the user's own preferred language. Thus, if the
1311   body content is intended only for a Danish-literate audience, the
1312   appropriate field is
1313</t>
1314<figure><artwork type="example">
1315  Content-Language: da
1316</artwork></figure>
1317<t>
1318   If no Content-Language is specified, the default is that the content
1319   is intended for all language audiences. This might mean that the
1320   sender does not consider it to be specific to any natural language,
1321   or that the sender does not know for which language it is intended.
1322</t>
1323<t>
1324   Multiple languages &MAY; be listed for content that is intended for
1325   multiple audiences. For example, a rendition of the "Treaty of
1326   Waitangi", presented simultaneously in the original Maori and English
1327   versions, would call for
1328</t>
1329<figure><artwork type="example">
1330  Content-Language: mi, en
1331</artwork></figure>
1332<t>
1333   However, just because multiple languages are present within a representation
1334   does not mean that it is intended for multiple linguistic audiences.
1335   An example would be a beginner's language primer, such as "A First
1336   Lesson in Latin", which is clearly intended to be used by an
1337   English-literate audience. In this case, the Content-Language would
1338   properly only include "en".
1339</t>
1340<t>
1341   Content-Language &MAY; be applied to any media type &mdash; it is not
1342   limited to textual documents.
1343</t>
1344</section>
1345
1346<section title="Content-Location" anchor="header.content-location">
1347  <iref primary="true" item="Content-Location header field" x:for-anchor=""/>
1348  <iref primary="true" item="Header Fields" subitem="Content-Location" x:for-anchor=""/>
1349  <x:anchor-alias value="Content-Location"/>
1350<t>
1351   The "Content-Location" header field supplies a URI that can be used
1352   as a specific identifier for the representation in this message.
1353   In other words, if one were to perform a GET on this URI at the time
1354   of this message's generation, then a 200 response would contain the
1355   same representation that is enclosed as payload in this message.
1356</t>
1357<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Location"/>
1358  <x:ref>Content-Location</x:ref> = <x:ref>absolute-URI</x:ref> / <x:ref>partial-URI</x:ref>
1359</artwork></figure>
1360<t>
1361   The Content-Location value is not a replacement for the effective
1362   Request URI (&effective-request-uri;).  It is representation metadata.
1363   It has the same syntax and semantics as the header field of the same name
1364   defined for MIME body parts in <xref target="RFC2557" x:fmt="of" x:sec="4"/>.
1365   However, its appearance in an HTTP message has some special implications
1366   for HTTP recipients.
1367</t>
1368<t>
1369   If Content-Location is included in a response message and its value
1370   is the same as the effective request URI, then the response payload
1371   &SHOULD; be considered the current representation of that resource.
1372   For a GET or HEAD request, this is the same as the default semantics
1373   when no Content-Location is provided by the server.  For a state-changing
1374   request like PUT or POST, it implies that the server's response contains
1375   the new representation of that resource, thereby distinguishing it from
1376   representations that might only report about the action (e.g., "It worked!").
1377   This allows authoring applications to update their local copies without
1378   the need for a subsequent GET request.
1379</t>
1380<t>
1381   If Content-Location is included in a response message and its value
1382   differs from the effective request URI, then the origin server is
1383   informing recipients that this representation has its own, presumably
1384   more specific, identifier.  For a GET or HEAD request, this is an
1385   indication that the effective request URI identifies a resource that
1386   is subject to content negotiation and the representation selected for
1387   this response can also be found at the identified URI.  For other
1388   methods, such a Content-Location indicates that this representation
1389   contains a report on the action's status and the same report is
1390   available (for future access with GET) at the given URI.  For
1391   example, a purchase transaction made via a POST request might
1392   include a receipt document as the payload of the 200 response;
1393   the Content-Location value provides an identifier for retrieving
1394   a copy of that same receipt in the future.
1395</t>
1396<t>
1397   If Content-Location is included in a request message, then it &MAY;
1398   be interpreted by the origin server as an indication of where the
1399   user agent originally obtained the content of the enclosed
1400   representation (prior to any subsequent modification of the content
1401   by that user agent).  In other words, the user agent is providing
1402   the same representation metadata that it received with the original
1403   representation.  However, such interpretation &MUST-NOT; be used to
1404   alter the semantics of the method requested by the client.  For
1405   example, if a client makes a PUT request on a negotiated resource
1406   and the origin server accepts that PUT (without redirection), then the
1407   new set of values for that resource is expected to be consistent with
1408   the one representation supplied in that PUT; the Content-Location
1409   cannot be used as a form of reverse content selection that
1410   identifies only one of the negotiated representations to be updated.
1411   If the user agent had wanted the latter semantics, it would have applied
1412   the PUT directly to the Content-Location URI.
1413</t>
1414<t>
1415   A Content-Location field received in a request message is transitory
1416   information that &SHOULD-NOT; be saved with other representation
1417   metadata for use in later responses.  The Content-Location's value
1418   might be saved for use in other contexts, such as within source links
1419   or other metadata.
1420</t>
1421<t>
1422   A cache cannot assume that a representation with a Content-Location
1423   different from the URI used to retrieve it can be used to respond to
1424   later requests on that Content-Location URI.
1425</t>
1426<t>
1427   If the Content-Location value is a partial URI, the partial URI is
1428   interpreted relative to the effective request URI.
1429</t>
1430</section>
1431
1432<section title="Content-Type" anchor="header.content-type">
1433  <iref primary="true" item="Content-Type header field" x:for-anchor=""/>
1434  <iref primary="true" item="Header Fields" subitem="Content-Type" x:for-anchor=""/>
1435  <x:anchor-alias value="Content-Type"/>
1436<t>
1437   The "Content-Type" header field indicates the media type of the
1438   representation. In the case of responses to the HEAD method, the media type is
1439   that which would have been sent had the request been a GET.
1440</t>
1441<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Type"/>
1442  <x:ref>Content-Type</x:ref> = <x:ref>media-type</x:ref>
1443</artwork></figure>
1444<t>
1445   Media types are defined in <xref target="media.types"/>. An example of the field is
1446</t>
1447<figure><artwork type="example">
1448  Content-Type: text/html; charset=ISO-8859-4
1449</artwork></figure>
1450<t>
1451   Further discussion of Content-Type is provided in <xref target="representation.data"/>.
1452</t>
1453</section>
1454
1455</section>
1456
1457<section title="IANA Considerations" anchor="IANA.considerations">
1458<section title="Header Field Registration" anchor="header.field.registration">
1459<t>
1460   The Message Header Field Registry located at <eref target="http://www.iana.org/assignments/message-headers/message-header-index.html"/> shall be updated
1461   with the permanent registrations below (see <xref target="RFC3864"/>):
1462</t>
1463<?BEGININC p3-payload.iana-headers ?>
1464<!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually-->
1465<texttable align="left" suppress-title="true" anchor="iana.header.registration.table">
1466   <ttcol>Header Field Name</ttcol>
1467   <ttcol>Protocol</ttcol>
1468   <ttcol>Status</ttcol>
1469   <ttcol>Reference</ttcol>
1470
1471   <c>Accept</c>
1472   <c>http</c>
1473   <c>standard</c>
1474   <c>
1475      <xref target="header.accept"/>
1476   </c>
1477   <c>Accept-Charset</c>
1478   <c>http</c>
1479   <c>standard</c>
1480   <c>
1481      <xref target="header.accept-charset"/>
1482   </c>
1483   <c>Accept-Encoding</c>
1484   <c>http</c>
1485   <c>standard</c>
1486   <c>
1487      <xref target="header.accept-encoding"/>
1488   </c>
1489   <c>Accept-Language</c>
1490   <c>http</c>
1491   <c>standard</c>
1492   <c>
1493      <xref target="header.accept-language"/>
1494   </c>
1495   <c>Content-Encoding</c>
1496   <c>http</c>
1497   <c>standard</c>
1498   <c>
1499      <xref target="header.content-encoding"/>
1500   </c>
1501   <c>Content-Language</c>
1502   <c>http</c>
1503   <c>standard</c>
1504   <c>
1505      <xref target="header.content-language"/>
1506   </c>
1507   <c>Content-Location</c>
1508   <c>http</c>
1509   <c>standard</c>
1510   <c>
1511      <xref target="header.content-location"/>
1512   </c>
1513   <c>Content-Type</c>
1514   <c>http</c>
1515   <c>standard</c>
1516   <c>
1517      <xref target="header.content-type"/>
1518   </c>
1519   <c>MIME-Version</c>
1520   <c>http</c>
1521   <c>standard</c>
1522   <c>
1523      <xref target="mime-version"/>
1524   </c>
1525</texttable>
1526<!--(END)-->
1527<?ENDINC p3-payload.iana-headers ?>
1528<t>
1529   The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".
1530</t>
1531</section>
1532
1533<section title="Content Coding Registry" anchor="content.coding.registration">
1534<t>
1535   The registration procedure for HTTP Content Codings is now defined
1536   by <xref target="content.coding.registry"/> of this document.
1537</t>
1538<t>
1539   The HTTP Content Codings Registry located at <eref target="http://www.iana.org/assignments/http-parameters"/>
1540   shall be updated with the registration below:
1541</t>
1542<texttable align="left" suppress-title="true" anchor="iana.content.coding.registration.table">
1543   <ttcol>Name</ttcol>
1544   <ttcol>Description</ttcol>
1545   <ttcol>Reference</ttcol>
1546   <c>compress</c>
1547   <c>UNIX "compress" program method</c>
1548   <c>
1549      &compress-coding;
1550   </c>
1551   <c>deflate</c>
1552   <c>"deflate" compression mechanism (<xref target="RFC1951"/>) used inside
1553   the "zlib" data format (<xref target="RFC1950"/>)
1554   </c>
1555   <c>
1556      &deflate-coding;
1557   </c>
1558   <c>gzip</c>
1559   <c>Same as GNU zip <xref target="RFC1952"/></c>
1560   <c>
1561      &gzip-coding;
1562   </c>
1563</texttable>
1564</section>
1565
1566</section>
1567
1568<section title="Security Considerations" anchor="security.considerations">
1569<t>
1570   This section is meant to inform application developers, information
1571   providers, and users of the security limitations in HTTP/1.1 as
1572   described by this document. The discussion does not include
1573   definitive solutions to the problems revealed, though it does make
1574   some suggestions for reducing security risks.
1575</t>
1576
1577<section title="Privacy Issues Connected to Accept Header Fields" anchor="privacy.issues.connected.to.accept.header.fields">
1578<t>
1579   Accept headers fields can reveal information about the user to all
1580   servers which are accessed. The Accept-Language header field in particular
1581   can reveal information the user would consider to be of a private
1582   nature, because the understanding of particular languages is often
1583   strongly correlated to the membership of a particular ethnic group.
1584   User agents which offer the option to configure the contents of an
1585   Accept-Language header field to be sent in every request are strongly
1586   encouraged to let the configuration process include a message which
1587   makes the user aware of the loss of privacy involved.
1588</t>
1589<t>
1590   An approach that limits the loss of privacy would be for a user agent
1591   to omit the sending of Accept-Language header fields by default, and to ask
1592   the user whether or not to start sending Accept-Language header fields to a
1593   server if it detects, by looking for any Vary header fields
1594   generated by the server, that such sending could improve the quality
1595   of service.
1596</t>
1597<t>
1598   Elaborate user-customized accept header fields sent in every request,
1599   in particular if these include quality values, can be used by servers
1600   as relatively reliable and long-lived user identifiers. Such user
1601   identifiers would allow content providers to do click-trail tracking,
1602   and would allow collaborating content providers to match cross-server
1603   click-trails or form submissions of individual users. Note that for
1604   many users not behind a proxy, the network address of the host
1605   running the user agent will also serve as a long-lived user
1606   identifier. In environments where proxies are used to enhance
1607   privacy, user agents ought to be conservative in offering accept
1608   header configuration options to end users. As an extreme privacy
1609   measure, proxies could filter the accept header fields in relayed requests.
1610   General purpose user agents which provide a high degree of header
1611   configurability &SHOULD; warn users about the loss of privacy which can
1612   be involved.
1613</t>
1614</section>
1615
1616</section>
1617
1618<section title="Acknowledgments" anchor="acks">
1619<t>
1620  See &acks;.
1621</t>
1622</section>
1623</middle>
1624<back>
1625
1626<references title="Normative References">
1627
1628<reference anchor="Part1">
1629  <front>
1630    <title abbrev="HTTP/1.1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title>
1631    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1632      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1633      <address><email>fielding@gbiv.com</email></address>
1634    </author>
1635    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1636      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1637      <address><email>jg@freedesktop.org</email></address>
1638    </author>
1639    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1640      <organization abbrev="HP">Hewlett-Packard Company</organization>
1641      <address><email>JeffMogul@acm.org</email></address>
1642    </author>
1643    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1644      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1645      <address><email>henrikn@microsoft.com</email></address>
1646    </author>
1647    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1648      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1649      <address><email>LMM@acm.org</email></address>
1650    </author>
1651    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1652      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1653      <address><email>paulle@microsoft.com</email></address>
1654    </author>
1655    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1656      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1657      <address><email>timbl@w3.org</email></address>
1658    </author>
1659    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1660      <organization abbrev="W3C">World Wide Web Consortium</organization>
1661      <address><email>ylafon@w3.org</email></address>
1662    </author>
1663    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1664      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1665      <address><email>julian.reschke@greenbytes.de</email></address>
1666    </author>
1667    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1668  </front>
1669  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;"/>
1670  <x:source href="p1-messaging.xml" basename="p1-messaging"/>
1671</reference>
1672
1673<reference anchor="Part2">
1674  <front>
1675    <title abbrev="HTTP/1.1">HTTP/1.1, part 2: Message Semantics</title>
1676    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1677      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1678      <address><email>fielding@gbiv.com</email></address>
1679    </author>
1680    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1681      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1682      <address><email>jg@freedesktop.org</email></address>
1683    </author>
1684    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1685      <organization abbrev="HP">Hewlett-Packard Company</organization>
1686      <address><email>JeffMogul@acm.org</email></address>
1687    </author>
1688    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1689      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1690      <address><email>henrikn@microsoft.com</email></address>
1691    </author>
1692    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1693      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1694      <address><email>LMM@acm.org</email></address>
1695    </author>
1696    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1697      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1698      <address><email>paulle@microsoft.com</email></address>
1699    </author>
1700    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1701      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1702      <address><email>timbl@w3.org</email></address>
1703    </author>
1704    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1705      <organization abbrev="W3C">World Wide Web Consortium</organization>
1706      <address><email>ylafon@w3.org</email></address>
1707    </author>
1708    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1709      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1710      <address><email>julian.reschke@greenbytes.de</email></address>
1711    </author>
1712    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1713  </front>
1714  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;"/>
1715  <x:source href="p2-semantics.xml" basename="p2-semantics"/>
1716</reference>
1717
1718<reference anchor="Part4">
1719  <front>
1720    <title abbrev="HTTP/1.1">HTTP/1.1, part 4: Conditional Requests</title>
1721    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1722      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1723      <address><email>fielding@gbiv.com</email></address>
1724    </author>
1725    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1726      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1727      <address><email>jg@freedesktop.org</email></address>
1728    </author>
1729    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1730      <organization abbrev="HP">Hewlett-Packard Company</organization>
1731      <address><email>JeffMogul@acm.org</email></address>
1732    </author>
1733    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1734      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1735      <address><email>henrikn@microsoft.com</email></address>
1736    </author>
1737    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1738      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1739      <address><email>LMM@acm.org</email></address>
1740    </author>
1741    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1742      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1743      <address><email>paulle@microsoft.com</email></address>
1744    </author>
1745    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1746      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1747      <address><email>timbl@w3.org</email></address>
1748    </author>
1749    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1750      <organization abbrev="W3C">World Wide Web Consortium</organization>
1751      <address><email>ylafon@w3.org</email></address>
1752    </author>
1753    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1754      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1755      <address><email>julian.reschke@greenbytes.de</email></address>
1756    </author>
1757    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1758  </front>
1759  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p4-conditional-&ID-VERSION;"/>
1760  <x:source href="p4-conditional.xml" basename="p4-conditional"/>
1761</reference>
1762
1763<reference anchor="Part5">
1764  <front>
1765    <title abbrev="HTTP/1.1">HTTP/1.1, part 5: Range Requests and Partial Responses</title>
1766    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1767      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1768      <address><email>fielding@gbiv.com</email></address>
1769    </author>
1770    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1771      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1772      <address><email>jg@freedesktop.org</email></address>
1773    </author>
1774    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1775      <organization abbrev="HP">Hewlett-Packard Company</organization>
1776      <address><email>JeffMogul@acm.org</email></address>
1777    </author>
1778    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1779      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1780      <address><email>henrikn@microsoft.com</email></address>
1781    </author>
1782    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1783      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1784      <address><email>LMM@acm.org</email></address>
1785    </author>
1786    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1787      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1788      <address><email>paulle@microsoft.com</email></address>
1789    </author>
1790    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1791      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1792      <address><email>timbl@w3.org</email></address>
1793    </author>
1794    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1795      <organization abbrev="W3C">World Wide Web Consortium</organization>
1796      <address><email>ylafon@w3.org</email></address>
1797    </author>
1798    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1799      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1800      <address><email>julian.reschke@greenbytes.de</email></address>
1801    </author>
1802    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1803  </front>
1804  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p5-range-&ID-VERSION;"/>
1805  <x:source href="p5-range.xml" basename="p5-range"/>
1806</reference>
1807
1808<reference anchor="Part6">
1809  <front>
1810    <title abbrev="HTTP/1.1">HTTP/1.1, part 6: Caching</title>
1811    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1812      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1813      <address><email>fielding@gbiv.com</email></address>
1814    </author>
1815    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1816      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1817      <address><email>jg@freedesktop.org</email></address>
1818    </author>
1819    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1820      <organization abbrev="HP">Hewlett-Packard Company</organization>
1821      <address><email>JeffMogul@acm.org</email></address>
1822    </author>
1823    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1824      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1825      <address><email>henrikn@microsoft.com</email></address>
1826    </author>
1827    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1828      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1829      <address><email>LMM@acm.org</email></address>
1830    </author>
1831    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1832      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1833      <address><email>paulle@microsoft.com</email></address>
1834    </author>
1835    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1836      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1837      <address><email>timbl@w3.org</email></address>
1838    </author>
1839    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1840      <organization abbrev="W3C">World Wide Web Consortium</organization>
1841      <address><email>ylafon@w3.org</email></address>
1842    </author>
1843    <author initials="M." surname="Nottingham" fullname="Mark Nottingham" role="editor">
1844      <address><email>mnot@mnot.net</email></address>
1845    </author>
1846    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1847      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1848      <address><email>julian.reschke@greenbytes.de</email></address>
1849    </author>
1850    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1851  </front>
1852  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p6-cache-&ID-VERSION;"/>
1853  <x:source href="p6-cache.xml" basename="p6-cache"/>
1854</reference>
1855
1856<reference anchor="RFC1950">
1857  <front>
1858    <title>ZLIB Compressed Data Format Specification version 3.3</title>
1859    <author initials="L.P." surname="Deutsch" fullname="L. Peter Deutsch">
1860      <organization>Aladdin Enterprises</organization>
1861      <address><email>ghost@aladdin.com</email></address>
1862    </author>
1863    <author initials="J-L." surname="Gailly" fullname="Jean-Loup Gailly"/>
1864    <date month="May" year="1996"/>
1865  </front>
1866  <seriesInfo name="RFC" value="1950"/>
1867  <annotation>
1868    RFC 1950 is an Informational RFC, thus it might be less stable than
1869    this specification. On the other hand, this downward reference was
1870    present since the publication of RFC 2068 in 1997 (<xref target="RFC2068"/>),
1871    therefore it is unlikely to cause problems in practice. See also
1872    <xref target="BCP97"/>.
1873  </annotation>
1874</reference>
1875
1876<reference anchor="RFC1951">
1877  <front>
1878    <title>DEFLATE Compressed Data Format Specification version 1.3</title>
1879    <author initials="P." surname="Deutsch" fullname="L. Peter Deutsch">
1880      <organization>Aladdin Enterprises</organization>
1881      <address><email>ghost@aladdin.com</email></address>
1882    </author>
1883    <date month="May" year="1996"/>
1884  </front>
1885  <seriesInfo name="RFC" value="1951"/>
1886  <annotation>
1887    RFC 1951 is an Informational RFC, thus it might be less stable than
1888    this specification. On the other hand, this downward reference was
1889    present since the publication of RFC 2068 in 1997 (<xref target="RFC2068"/>),
1890    therefore it is unlikely to cause problems in practice. See also
1891    <xref target="BCP97"/>.
1892  </annotation>
1893</reference>
1894
1895<reference anchor="RFC1952">
1896  <front>
1897    <title>GZIP file format specification version 4.3</title>
1898    <author initials="P." surname="Deutsch" fullname="L. Peter Deutsch">
1899      <organization>Aladdin Enterprises</organization>
1900      <address><email>ghost@aladdin.com</email></address>
1901    </author>
1902    <author initials="J-L." surname="Gailly" fullname="Jean-Loup Gailly">
1903      <address><email>gzip@prep.ai.mit.edu</email></address>
1904    </author>
1905    <author initials="M." surname="Adler" fullname="Mark Adler">
1906      <address><email>madler@alumni.caltech.edu</email></address>
1907    </author>
1908    <author initials="L.P." surname="Deutsch" fullname="L. Peter Deutsch">
1909      <address><email>ghost@aladdin.com</email></address>
1910    </author>
1911    <author initials="G." surname="Randers-Pehrson" fullname="Glenn Randers-Pehrson">
1912      <address><email>randeg@alumni.rpi.edu</email></address>
1913    </author>
1914    <date month="May" year="1996"/>
1915  </front>
1916  <seriesInfo name="RFC" value="1952"/>
1917  <annotation>
1918    RFC 1952 is an Informational RFC, thus it might be less stable than
1919    this specification. On the other hand, this downward reference was
1920    present since the publication of RFC 2068 in 1997 (<xref target="RFC2068"/>),
1921    therefore it is unlikely to cause problems in practice. See also
1922    <xref target="BCP97"/>.
1923  </annotation>
1924</reference>
1925
1926<reference anchor="RFC2045">
1927  <front>
1928    <title abbrev="Internet Message Bodies">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</title>
1929    <author initials="N." surname="Freed" fullname="Ned Freed">
1930      <organization>Innosoft International, Inc.</organization>
1931      <address><email>ned@innosoft.com</email></address>
1932    </author>
1933    <author initials="N.S." surname="Borenstein" fullname="Nathaniel S. Borenstein">
1934      <organization>First Virtual Holdings</organization>
1935      <address><email>nsb@nsb.fv.com</email></address>
1936    </author>
1937    <date month="November" year="1996"/>
1938  </front>
1939  <seriesInfo name="RFC" value="2045"/>
1940</reference>
1941
1942<reference anchor="RFC2046">
1943  <front>
1944    <title abbrev="Media Types">Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</title>
1945    <author initials="N." surname="Freed" fullname="Ned Freed">
1946      <organization>Innosoft International, Inc.</organization>
1947      <address><email>ned@innosoft.com</email></address>
1948    </author>
1949    <author initials="N." surname="Borenstein" fullname="Nathaniel S. Borenstein">
1950      <organization>First Virtual Holdings</organization>
1951      <address><email>nsb@nsb.fv.com</email></address>
1952    </author>
1953    <date month="November" year="1996"/>
1954  </front>
1955  <seriesInfo name="RFC" value="2046"/>
1956</reference>
1957
1958<reference anchor="RFC2119">
1959  <front>
1960    <title>Key words for use in RFCs to Indicate Requirement Levels</title>
1961    <author initials="S." surname="Bradner" fullname="Scott Bradner">
1962      <organization>Harvard University</organization>
1963      <address><email>sob@harvard.edu</email></address>
1964    </author>
1965    <date month="March" year="1997"/>
1966  </front>
1967  <seriesInfo name="BCP" value="14"/>
1968  <seriesInfo name="RFC" value="2119"/>
1969</reference>
1970
1971<reference anchor='RFC4647'>
1972  <front>
1973    <title>Matching of Language Tags</title>
1974    <author initials='A.' surname='Phillips' fullname='Addison Phillips' role="editor">
1975      <organization>Yahoo! Inc.</organization>
1976      <address><email>addison@inter-locale.com</email></address>
1977    </author>
1978    <author initials='M.' surname='Davis' fullname='Mark Davis' role="editor">
1979      <organization>Google</organization>
1980      <address><email>mark.davis@macchiato.com</email></address>
1981    </author>
1982    <date year='2006' month='September' />
1983  </front>
1984  <seriesInfo name='BCP' value='47' />
1985  <seriesInfo name='RFC' value='4647' />
1986</reference>
1987
1988<reference anchor="RFC5234">
1989  <front>
1990    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
1991    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
1992      <organization>Brandenburg InternetWorking</organization>
1993      <address>
1994        <email>dcrocker@bbiw.net</email>
1995      </address> 
1996    </author>
1997    <author initials="P." surname="Overell" fullname="Paul Overell">
1998      <organization>THUS plc.</organization>
1999      <address>
2000        <email>paul.overell@thus.net</email>
2001      </address>
2002    </author>
2003    <date month="January" year="2008"/>
2004  </front>
2005  <seriesInfo name="STD" value="68"/>
2006  <seriesInfo name="RFC" value="5234"/>
2007</reference>
2008
2009<reference anchor='RFC5646'>
2010  <front>
2011    <title>Tags for Identifying Languages</title>
2012    <author initials='A.' surname='Phillips' fullname='Addison Phillips' role='editor'>
2013      <organization>Lab126</organization>
2014      <address><email>addison@inter-locale.com</email></address>
2015    </author>
2016    <author initials='M.' surname='Davis' fullname='Mark Davis' role='editor'>
2017      <organization>Google</organization>
2018      <address><email>mark.davis@google.com</email></address>
2019    </author>
2020    <date month='September' year='2009' />
2021  </front>
2022  <seriesInfo name='BCP' value='47' />
2023  <seriesInfo name='RFC' value='5646' />
2024</reference>
2025
2026</references>
2027
2028<references title="Informative References">
2029
2030<reference anchor="RFC1945">
2031  <front>
2032    <title abbrev="HTTP/1.0">Hypertext Transfer Protocol -- HTTP/1.0</title>
2033    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
2034      <organization>MIT, Laboratory for Computer Science</organization>
2035      <address><email>timbl@w3.org</email></address>
2036    </author>
2037    <author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
2038      <organization>University of California, Irvine, Department of Information and Computer Science</organization>
2039      <address><email>fielding@ics.uci.edu</email></address>
2040    </author>
2041    <author initials="H.F." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
2042      <organization>W3 Consortium, MIT Laboratory for Computer Science</organization>
2043      <address><email>frystyk@w3.org</email></address>
2044    </author>
2045    <date month="May" year="1996"/>
2046  </front>
2047  <seriesInfo name="RFC" value="1945"/>
2048</reference>
2049
2050<reference anchor="RFC2049">
2051  <front>
2052    <title abbrev="MIME Conformance">Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples</title>
2053    <author initials="N." surname="Freed" fullname="Ned Freed">
2054      <organization>Innosoft International, Inc.</organization>
2055      <address><email>ned@innosoft.com</email></address>
2056    </author>
2057    <author initials="N.S." surname="Borenstein" fullname="Nathaniel S. Borenstein">
2058      <organization>First Virtual Holdings</organization>
2059      <address><email>nsb@nsb.fv.com</email></address>
2060    </author>
2061    <date month="November" year="1996"/>
2062  </front>
2063  <seriesInfo name="RFC" value="2049"/>
2064</reference>
2065
2066<reference anchor="RFC2068">
2067  <front>
2068    <title abbrev="HTTP/1.1">Hypertext Transfer Protocol -- HTTP/1.1</title>
2069    <author initials="R." surname="Fielding" fullname="Roy T. Fielding">
2070      <organization>University of California, Irvine, Department of Information and Computer Science</organization>
2071      <address><email>fielding@ics.uci.edu</email></address>
2072    </author>
2073    <author initials="J." surname="Gettys" fullname="Jim Gettys">
2074      <organization>MIT Laboratory for Computer Science</organization>
2075      <address><email>jg@w3.org</email></address>
2076    </author>
2077    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
2078      <organization>Digital Equipment Corporation, Western Research Laboratory</organization>
2079      <address><email>mogul@wrl.dec.com</email></address>
2080    </author>
2081    <author initials="H." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
2082      <organization>MIT Laboratory for Computer Science</organization>
2083      <address><email>frystyk@w3.org</email></address>
2084    </author>
2085    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
2086      <organization>MIT Laboratory for Computer Science</organization>
2087      <address><email>timbl@w3.org</email></address>
2088    </author>
2089    <date month="January" year="1997"/>
2090  </front>
2091  <seriesInfo name="RFC" value="2068"/>
2092</reference>
2093
2094<reference anchor="RFC2076">
2095  <front>
2096    <title abbrev="Internet Message Headers">Common Internet Message Headers</title>
2097    <author initials="J." surname="Palme" fullname="Jacob Palme">
2098      <organization>Stockholm University/KTH</organization>
2099      <address><email>jpalme@dsv.su.se</email></address>
2100    </author>
2101    <date month="February" year="1997"/>
2102  </front>
2103  <seriesInfo name="RFC" value="2076"/>
2104</reference>
2105
2106<reference anchor="RFC2277">
2107  <front>
2108    <title abbrev="Charset Policy">IETF Policy on Character Sets and Languages</title>
2109    <author initials="H.T." surname="Alvestrand" fullname="Harald Tveit Alvestrand">
2110      <organization>UNINETT</organization>
2111      <address><email>Harald.T.Alvestrand@uninett.no</email></address>
2112    </author>
2113    <date month="January" year="1998"/>
2114  </front>
2115  <seriesInfo name="BCP" value="18"/>
2116  <seriesInfo name="RFC" value="2277"/>
2117</reference>
2118
2119<reference anchor='RFC2295'>
2120  <front>
2121    <title abbrev='HTTP Content Negotiation'>Transparent Content Negotiation in HTTP</title>
2122    <author initials='K.' surname='Holtman' fullname='Koen Holtman'>
2123      <organization>Technische Universiteit Eindhoven</organization>
2124      <address>
2125        <email>koen@win.tue.nl</email>
2126      </address>
2127    </author>
2128    <author initials='A.H.' surname='Mutz' fullname='Andrew H. Mutz'>
2129      <organization>Hewlett-Packard Company</organization>
2130      <address>
2131        <email>mutz@hpl.hp.com</email>
2132      </address>
2133    </author>
2134    <date year='1998' month='March'/>
2135  </front>
2136  <seriesInfo name='RFC' value='2295'/>
2137</reference>
2138
2139<reference anchor="RFC2388">
2140  <front>
2141    <title abbrev="multipart/form-data">Returning Values from Forms:  multipart/form-data</title>
2142    <author initials="L." surname="Masinter" fullname="Larry Masinter">
2143      <organization>Xerox Palo Alto Research Center</organization>
2144      <address><email>masinter@parc.xerox.com</email></address>
2145    </author>
2146    <date year="1998" month="August"/>
2147  </front>
2148  <seriesInfo name="RFC" value="2388"/>
2149</reference>
2150
2151<reference anchor="RFC2557">
2152  <front>
2153    <title abbrev="MIME Encapsulation of Aggregate Documents">MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)</title>
2154    <author initials="F." surname="Palme" fullname="Jacob Palme">
2155      <organization>Stockholm University and KTH</organization>
2156      <address><email>jpalme@dsv.su.se</email></address>
2157    </author>
2158    <author initials="A." surname="Hopmann" fullname="Alex Hopmann">
2159      <organization>Microsoft Corporation</organization>
2160      <address><email>alexhop@microsoft.com</email></address>
2161    </author>
2162    <author initials="N." surname="Shelness" fullname="Nick Shelness">
2163      <organization>Lotus Development Corporation</organization>
2164      <address><email>Shelness@lotus.com</email></address>
2165    </author>
2166    <author initials="E." surname="Stefferud" fullname="Einar Stefferud">
2167      <address><email>stef@nma.com</email></address>
2168    </author>
2169    <date year="1999" month="March"/>
2170  </front>
2171  <seriesInfo name="RFC" value="2557"/>
2172</reference>
2173
2174<reference anchor="RFC2616">
2175  <front>
2176    <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
2177    <author initials="R." surname="Fielding" fullname="R. Fielding">
2178      <organization>University of California, Irvine</organization>
2179      <address><email>fielding@ics.uci.edu</email></address>
2180    </author>
2181    <author initials="J." surname="Gettys" fullname="J. Gettys">
2182      <organization>W3C</organization>
2183      <address><email>jg@w3.org</email></address>
2184    </author>
2185    <author initials="J." surname="Mogul" fullname="J. Mogul">
2186      <organization>Compaq Computer Corporation</organization>
2187      <address><email>mogul@wrl.dec.com</email></address>
2188    </author>
2189    <author initials="H." surname="Frystyk" fullname="H. Frystyk">
2190      <organization>MIT Laboratory for Computer Science</organization>
2191      <address><email>frystyk@w3.org</email></address>
2192    </author>
2193    <author initials="L." surname="Masinter" fullname="L. Masinter">
2194      <organization>Xerox Corporation</organization>
2195      <address><email>masinter@parc.xerox.com</email></address>
2196    </author>
2197    <author initials="P." surname="Leach" fullname="P. Leach">
2198      <organization>Microsoft Corporation</organization>
2199      <address><email>paulle@microsoft.com</email></address>
2200    </author>
2201    <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
2202      <organization>W3C</organization>
2203      <address><email>timbl@w3.org</email></address>
2204    </author>
2205    <date month="June" year="1999"/>
2206  </front>
2207  <seriesInfo name="RFC" value="2616"/>
2208</reference>
2209
2210<reference anchor="RFC3629">
2211  <front>
2212    <title>UTF-8, a transformation format of ISO 10646</title>
2213    <author initials="F." surname="Yergeau" fullname="F. Yergeau">
2214      <organization>Alis Technologies</organization>
2215      <address><email>fyergeau@alis.com</email></address>
2216    </author>
2217    <date month="November" year="2003"/>
2218  </front>
2219  <seriesInfo name="STD" value="63"/>
2220  <seriesInfo name="RFC" value="3629"/>
2221</reference>
2222
2223<reference anchor='RFC3864'>
2224  <front>
2225    <title>Registration Procedures for Message Header Fields</title>
2226    <author initials='G.' surname='Klyne' fullname='G. Klyne'>
2227      <organization>Nine by Nine</organization>
2228      <address><email>GK-IETF@ninebynine.org</email></address>
2229    </author>
2230    <author initials='M.' surname='Nottingham' fullname='M. Nottingham'>
2231      <organization>BEA Systems</organization>
2232      <address><email>mnot@pobox.com</email></address>
2233    </author>
2234    <author initials='J.' surname='Mogul' fullname='J. Mogul'>
2235      <organization>HP Labs</organization>
2236      <address><email>JeffMogul@acm.org</email></address>
2237    </author>
2238    <date year='2004' month='September' />
2239  </front>
2240  <seriesInfo name='BCP' value='90' />
2241  <seriesInfo name='RFC' value='3864' />
2242</reference>
2243
2244<reference anchor="RFC4288">
2245  <front>
2246    <title>Media Type Specifications and Registration Procedures</title>
2247    <author initials="N." surname="Freed" fullname="N. Freed">
2248      <organization>Sun Microsystems</organization>
2249      <address>
2250        <email>ned.freed@mrochek.com</email>
2251      </address>
2252    </author>
2253    <author initials="J." surname="Klensin" fullname="J. Klensin">
2254      <address>
2255        <email>klensin+ietf@jck.com</email>
2256      </address>
2257    </author>
2258    <date year="2005" month="December"/>
2259  </front>
2260  <seriesInfo name="BCP" value="13"/>
2261  <seriesInfo name="RFC" value="4288"/>
2262</reference>
2263
2264<reference anchor='RFC5226'>
2265  <front>
2266    <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
2267    <author initials='T.' surname='Narten' fullname='T. Narten'>
2268      <organization>IBM</organization>
2269      <address><email>narten@us.ibm.com</email></address>
2270    </author>
2271    <author initials='H.' surname='Alvestrand' fullname='H. Alvestrand'>
2272      <organization>Google</organization>
2273      <address><email>Harald@Alvestrand.no</email></address>
2274    </author>
2275    <date year='2008' month='May' />
2276  </front>
2277  <seriesInfo name='BCP' value='26' />
2278  <seriesInfo name='RFC' value='5226' />
2279</reference>
2280
2281<reference anchor="RFC5322">
2282  <front>
2283    <title>Internet Message Format</title>
2284    <author initials="P." surname="Resnick" fullname="P. Resnick">
2285      <organization>Qualcomm Incorporated</organization>
2286    </author>
2287    <date year="2008" month="October"/>
2288  </front> 
2289  <seriesInfo name="RFC" value="5322"/>
2290</reference>
2291
2292<reference anchor="RFC6151">
2293  <front>
2294    <title>Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms</title>
2295    <author initials="S." surname="Turner" fullname="S. Turner"/>
2296    <author initials="L." surname="Chen" fullname="L. Chen"/>
2297    <date year="2011" month="March" />
2298  </front>
2299  <seriesInfo name="RFC" value="6151" />
2300</reference>
2301
2302<reference anchor='BCP97'>
2303  <front>
2304    <title>Handling Normative References to Standards-Track Documents</title>
2305    <author initials='J.' surname='Klensin' fullname='J. Klensin'>
2306      <address>
2307        <email>klensin+ietf@jck.com</email>
2308      </address>
2309    </author>
2310    <author initials='S.' surname='Hartman' fullname='S. Hartman'>
2311      <organization>MIT</organization>
2312      <address>
2313        <email>hartmans-ietf@mit.edu</email>
2314      </address>
2315    </author>
2316    <date year='2007' month='June' />
2317  </front>
2318  <seriesInfo name='BCP' value='97' />
2319  <seriesInfo name='RFC' value='4897' />
2320</reference>
2321
2322<reference anchor="RFC6266">
2323  <front>
2324    <title abbrev="Content-Disposition in HTTP">Use of the Content-Disposition Header Field
2325    in the Hypertext Transfer Protocol (HTTP)</title>
2326    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
2327      <organization abbrev="greenbytes">greenbytes GmbH</organization>
2328      <address>
2329        <email>julian.reschke@greenbytes.de</email>
2330      </address>
2331    </author>
2332    <date month="June" year="2011"/>
2333  </front>
2334  <seriesInfo name='RFC' value='6266' />
2335</reference>
2336
2337</references>
2338
2339<section title="Differences between HTTP and MIME" anchor="differences.between.http.and.mime">
2340<t>
2341   HTTP/1.1 uses many of the constructs defined for Internet Mail (<xref target="RFC5322"/>) and the Multipurpose Internet Mail Extensions (MIME <xref target="RFC2045"/>) to
2342   allow a message-body to be transmitted in an open variety of
2343   representations and with extensible mechanisms. However, RFC 2045
2344   discusses mail, and HTTP has a few features that are different from
2345   those described in MIME. These differences were carefully chosen
2346   to optimize performance over binary connections, to allow greater
2347   freedom in the use of new media types, to make date comparisons
2348   easier, and to acknowledge the practice of some early HTTP servers
2349   and clients.
2350</t>
2351<t>
2352   This appendix describes specific areas where HTTP differs from MIME.
2353   Proxies and gateways to strict MIME environments &SHOULD; be
2354   aware of these differences and provide the appropriate conversions
2355   where necessary. Proxies and gateways from MIME environments to HTTP
2356   also need to be aware of the differences because some conversions
2357   might be required.
2358</t>
2359
2360<section title="MIME-Version" anchor="mime-version">
2361  <iref primary="true" item="MIME-Version header field" x:for-anchor=""/>
2362  <iref primary="true" item="Header Fields" subitem="MIME-Version" x:for-anchor=""/>
2363  <x:anchor-alias value="MIME-Version"/>
2364<t>
2365   HTTP is not a MIME-compliant protocol. However, HTTP/1.1 messages &MAY;
2366   include a single MIME-Version header field to indicate what
2367   version of the MIME protocol was used to construct the message. Use
2368   of the MIME-Version header field indicates that the message is in
2369   full compliance with the MIME protocol (as defined in <xref target="RFC2045"/>).
2370   Proxies/gateways are responsible for ensuring full compliance (where
2371   possible) when exporting HTTP messages to strict MIME environments.
2372</t>
2373<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="MIME-Version"/>
2374  <x:ref>MIME-Version</x:ref> = 1*<x:ref>DIGIT</x:ref> "." 1*<x:ref>DIGIT</x:ref>
2375</artwork></figure>
2376<t>
2377   MIME version "1.0" is the default for use in HTTP/1.1. However,
2378   HTTP/1.1 message parsing and semantics are defined by this document
2379   and not the MIME specification.
2380</t>
2381</section>
2382
2383<section title="Conversion to Canonical Form" anchor="conversion.to.canonical.form">
2384<t>
2385   MIME requires that an Internet mail body-part be converted to
2386   canonical form prior to being transferred, as described in <xref target="RFC2049" x:fmt="of" x:sec="4"/>.
2387   <xref target="canonicalization.and.text.defaults"/> of this document describes the forms
2388   allowed for subtypes of the "text" media type when transmitted over
2389   HTTP. <xref target="RFC2046"/> requires that content with a type of "text" represent
2390   line breaks as CRLF and forbids the use of CR or LF outside of line
2391   break sequences. HTTP allows CRLF, bare CR, and bare LF to indicate a
2392   line break within text content when a message is transmitted over
2393   HTTP.
2394</t>
2395<t>
2396   Where it is possible, a proxy or gateway from HTTP to a strict MIME
2397   environment &SHOULD; translate all line breaks within the text media
2398   types described in <xref target="canonicalization.and.text.defaults"/>
2399   of this document to the RFC 2049
2400   canonical form of CRLF. Note, however, that this might be complicated
2401   by the presence of a Content-Encoding and by the fact that HTTP
2402   allows the use of some character encodings which do not use octets 13 and
2403   10 to represent CR and LF, respectively, as is the case for some multi-byte
2404   character encodings.
2405</t>
2406<t>
2407   Conversion will break any cryptographic
2408   checksums applied to the original content unless the original content
2409   is already in canonical form. Therefore, the canonical form is
2410   recommended for any content that uses such checksums in HTTP.
2411</t>
2412</section>
2413
2414
2415<section title="Conversion of Date Formats" anchor="conversion.of.date.formats">
2416<t>
2417   HTTP/1.1 uses a restricted set of date formats (&full-date;) to
2418   simplify the process of date comparison. Proxies and gateways from
2419   other protocols &SHOULD; ensure that any Date header field present in a
2420   message conforms to one of the HTTP/1.1 formats and rewrite the date
2421   if necessary.
2422</t>
2423</section>
2424
2425<section title="Introduction of Content-Encoding" anchor="introduction.of.content-encoding">
2426<t>
2427   MIME does not include any concept equivalent to HTTP/1.1's
2428   Content-Encoding header field. Since this acts as a modifier on the
2429   media type, proxies and gateways from HTTP to MIME-compliant
2430   protocols &MUST; either change the value of the Content-Type header
2431   field or decode the representation before forwarding the message. (Some
2432   experimental applications of Content-Type for Internet mail have used
2433   a media-type parameter of ";conversions=&lt;content-coding&gt;" to perform
2434   a function equivalent to Content-Encoding. However, this parameter is
2435   not part of the MIME standards).
2436</t>
2437</section>
2438
2439<section title="No Content-Transfer-Encoding" anchor="no.content-transfer-encoding">
2440<t>
2441   HTTP does not use the Content-Transfer-Encoding field of MIME.
2442   Proxies and gateways from MIME-compliant protocols to HTTP &MUST;
2443   remove any Content-Transfer-Encoding
2444   prior to delivering the response message to an HTTP client.
2445</t>
2446<t>
2447   Proxies and gateways from HTTP to MIME-compliant protocols are
2448   responsible for ensuring that the message is in the correct format
2449   and encoding for safe transport on that protocol, where "safe
2450   transport" is defined by the limitations of the protocol being used.
2451   Such a proxy or gateway &SHOULD; label the data with an appropriate
2452   Content-Transfer-Encoding if doing so will improve the likelihood of
2453   safe transport over the destination protocol.
2454</t>
2455</section>
2456
2457<section title="Introduction of Transfer-Encoding" anchor="introduction.of.transfer-encoding">
2458<t>
2459   HTTP/1.1 introduces the Transfer-Encoding header field (&header-transfer-encoding;).
2460   Proxies/gateways &MUST; remove any transfer-coding prior to
2461   forwarding a message via a MIME-compliant protocol.
2462</t>
2463</section>
2464
2465<section title="MHTML and Line Length Limitations" anchor="mhtml.line.length">
2466<t>
2467   HTTP implementations which share code with MHTML <xref target="RFC2557"/> implementations
2468   need to be aware of MIME line length limitations. Since HTTP does not
2469   have this limitation, HTTP does not fold long lines. MHTML messages
2470   being transported by HTTP follow all conventions of MHTML, including
2471   line length limitations and folding, canonicalization, etc., since
2472   HTTP transports all message-bodies as payload (see <xref target="multipart.types"/>) and
2473   does not interpret the content or any MIME header lines that might be
2474   contained therein.
2475</t>
2476</section>
2477</section>
2478
2479<section title="Additional Features" anchor="additional.features">
2480<t>
2481   <xref target="RFC1945"/> and <xref target="RFC2068"/> document protocol elements used by some
2482   existing HTTP implementations, but not consistently and correctly
2483   across most HTTP/1.1 applications. Implementors are advised to be
2484   aware of these features, but cannot rely upon their presence in, or
2485   interoperability with, other HTTP/1.1 applications. Some of these
2486   describe proposed experimental features, and some describe features
2487   that experimental deployment found lacking that are now addressed in
2488   the base HTTP/1.1 specification.
2489</t>
2490<t>
2491   A number of other header fields, such as Content-Disposition and Title,
2492   from SMTP and MIME are also often implemented (see <xref target="RFC6266"/>
2493   and <xref target="RFC2076"/>).
2494</t>
2495</section>
2496
2497<section title="Changes from RFC 2616" anchor="changes.from.rfc.2616">
2498<t>
2499  Clarify contexts that charset is used in.
2500  (<xref target="character.sets"/>)
2501</t>
2502<t>
2503  Remove the default character encoding for text media types; the default
2504  now is whatever the media type definition says.
2505  (<xref target="canonicalization.and.text.defaults"/>)
2506</t>
2507<t>
2508  Change ABNF productions for header fields to only define the field value.
2509  (<xref target="header.fields"/>)
2510</t>
2511<t>
2512  Remove definition of Content-MD5 header field because it was inconsistently
2513  implemented with respect to partial responses, and also because of known
2514  deficiencies in the hash algorithm itself (see <xref target="RFC6151"/> for details).
2515  (<xref target="header.fields"/>)
2516</t>
2517<t>
2518  Remove ISO-8859-1 special-casing in Accept-Charset.
2519  (<xref target="header.accept-charset"/>)
2520</t>
2521<t>
2522  Remove base URI setting semantics for Content-Location due to poor
2523  implementation support, which was caused by too many broken servers emitting
2524  bogus Content-Location header fields, and also the potentially undesirable effect
2525  of potentially breaking relative links in content-negotiated resources.
2526  (<xref target="header.content-location"/>)
2527</t>
2528<t>
2529  Remove discussion of Content-Disposition header field, it is now defined
2530  by <xref target="RFC6266"/>.
2531  (<xref target="additional.features"/>)
2532</t>
2533<t>
2534  Remove reference to non-existant identity transfer-coding value tokens.
2535  (<xref target="no.content-transfer-encoding"/>)
2536</t>
2537</section>
2538
2539<?BEGININC p3-payload.abnf-appendix ?>
2540<section xmlns:x="http://purl.org/net/xml2rfc/ext" title="Collected ABNF" anchor="collected.abnf">
2541<figure>
2542<artwork type="abnf" name="p3-payload.parsed-abnf">
2543<x:ref>Accept</x:ref> = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [
2544 OWS media-range [ accept-params ] ] ) ]
2545<x:ref>Accept-Charset</x:ref> = *( "," OWS ) ( charset / "*" ) [ OWS ";" OWS "q="
2546 qvalue ] *( OWS "," [ OWS ( charset / "*" ) [ OWS ";" OWS "q="
2547 qvalue ] ] )
2548<x:ref>Accept-Encoding</x:ref> = [ ( "," / ( codings [ OWS ";" OWS "q=" qvalue ] ) )
2549 *( OWS "," [ OWS codings [ OWS ";" OWS "q=" qvalue ] ] ) ]
2550<x:ref>Accept-Language</x:ref> = *( "," OWS ) language-range [ OWS ";" OWS "q="
2551 qvalue ] *( OWS "," [ OWS language-range [ OWS ";" OWS "q=" qvalue ]
2552 ] )
2553
2554<x:ref>Content-Encoding</x:ref> = *( "," OWS ) content-coding *( OWS "," [ OWS
2555 content-coding ] )
2556<x:ref>Content-Language</x:ref> = *( "," OWS ) language-tag *( OWS "," [ OWS
2557 language-tag ] )
2558<x:ref>Content-Location</x:ref> = absolute-URI / partial-URI
2559<x:ref>Content-Type</x:ref> = media-type
2560
2561<x:ref>MIME-Version</x:ref> = 1*DIGIT "." 1*DIGIT
2562
2563<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
2564
2565<x:ref>absolute-URI</x:ref> = &lt;absolute-URI, defined in [Part1], Section 2.7&gt;
2566<x:ref>accept-ext</x:ref> = OWS ";" OWS token [ "=" word ]
2567<x:ref>accept-params</x:ref> = OWS ";" OWS "q=" qvalue *accept-ext
2568<x:ref>attribute</x:ref> = token
2569
2570<x:ref>charset</x:ref> = token
2571<x:ref>codings</x:ref> = content-coding / "identity" / "*"
2572<x:ref>content-coding</x:ref> = token
2573
2574<x:ref>language-range</x:ref> = &lt;language-range, defined in [RFC4647], Section 2.1&gt;
2575<x:ref>language-tag</x:ref> = &lt;Language-Tag, defined in [RFC5646], Section 2.1&gt;
2576
2577<x:ref>media-range</x:ref> = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS
2578 ";" OWS parameter )
2579<x:ref>media-type</x:ref> = type "/" subtype *( OWS ";" OWS parameter )
2580
2581<x:ref>parameter</x:ref> = attribute "=" value
2582<x:ref>partial-URI</x:ref> = &lt;partial-URI, defined in [Part1], Section 2.7&gt;
2583
2584<x:ref>qvalue</x:ref> = &lt;qvalue, defined in [Part1], Section 6.4&gt;
2585
2586<x:ref>subtype</x:ref> = token
2587
2588<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.3&gt;
2589<x:ref>type</x:ref> = token
2590
2591<x:ref>value</x:ref> = word
2592
2593<x:ref>word</x:ref> = &lt;word, defined in [Part1], Section 3.2.3&gt;
2594</artwork>
2595</figure>
2596<figure><preamble>ABNF diagnostics:</preamble><artwork type="inline">
2597; Accept defined but not used
2598; Accept-Charset defined but not used
2599; Accept-Encoding defined but not used
2600; Accept-Language defined but not used
2601; Content-Encoding defined but not used
2602; Content-Language defined but not used
2603; Content-Location defined but not used
2604; Content-Type defined but not used
2605; MIME-Version defined but not used
2606</artwork></figure></section>
2607<?ENDINC p3-payload.abnf-appendix ?>
2608
2609<section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log">
2610
2611<section title="Since RFC 2616">
2612<t>
2613  Extracted relevant partitions from <xref target="RFC2616"/>.
2614</t>
2615</section>
2616
2617<section title="Since draft-ietf-httpbis-p3-payload-00">
2618<t>
2619  Closed issues:
2620  <list style="symbols"> 
2621    <t>
2622      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/8"/>:
2623      "Media Type Registrations"
2624      (<eref target="http://purl.org/NET/http-errata#media-reg"/>)
2625    </t>
2626    <t>
2627      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/14"/>:
2628      "Clarification regarding quoting of charset values"
2629      (<eref target="http://purl.org/NET/http-errata#charactersets"/>)
2630    </t>
2631    <t>
2632      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/16"/>:
2633      "Remove 'identity' token references"
2634      (<eref target="http://purl.org/NET/http-errata#identity"/>)
2635    </t>
2636    <t>
2637      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/25"/>:
2638      "Accept-Encoding BNF"
2639    </t>
2640    <t>
2641      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/35"/>:
2642      "Normative and Informative references"
2643    </t>
2644    <t>
2645      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/46"/>:
2646      "RFC1700 references"
2647    </t>
2648    <t>
2649      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/55"/>:
2650      "Updating to RFC4288"
2651    </t>
2652    <t>
2653      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/65"/>:
2654      "Informative references"
2655    </t>
2656    <t>
2657      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/66"/>:
2658      "ISO-8859-1 Reference"
2659    </t>
2660    <t>
2661      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/68"/>:
2662      "Encoding References Normative"
2663    </t>
2664    <t>
2665      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/86"/>:
2666      "Normative up-to-date references"
2667    </t>
2668  </list>
2669</t>
2670</section>
2671
2672<section title="Since draft-ietf-httpbis-p3-payload-01">
2673<t>
2674  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
2675  <list style="symbols"> 
2676    <t>
2677      Add explicit references to BNF syntax and rules imported from other parts of the specification.
2678    </t>
2679  </list>
2680</t>
2681</section>
2682
2683<section title="Since draft-ietf-httpbis-p3-payload-02" anchor="changes.since.02">
2684<t>
2685  Closed issues:
2686  <list style="symbols"> 
2687    <t>
2688      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/67"/>:
2689      "Quoting Charsets"
2690    </t>
2691    <t>
2692      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/105"/>:
2693      "Classification for Allow header"
2694    </t>
2695    <t>
2696      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/115"/>:
2697      "missing default for qvalue in description of Accept-Encoding"
2698    </t>
2699  </list>
2700</t>
2701<t>
2702  Ongoing work on IANA Message Header Field Registration (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/40"/>):
2703  <list style="symbols"> 
2704    <t>
2705      Reference RFC 3984, and update header field registrations for headers defined
2706      in this document.
2707    </t>
2708  </list>
2709</t>
2710</section>
2711
2712<section title="Since draft-ietf-httpbis-p3-payload-03" anchor="changes.since.03">
2713<t>
2714  Closed issues:
2715  <list style="symbols"> 
2716    <t>
2717      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/67"/>:
2718      "Quoting Charsets"
2719    </t>
2720    <t>
2721      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/113"/>:
2722      "language tag matching (Accept-Language) vs RFC4647"
2723    </t>
2724    <t>
2725      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/121"/>:
2726      "RFC 1806 has been replaced by RFC2183"
2727    </t>
2728  </list>
2729</t>
2730<t>
2731  Other changes:
2732  <list style="symbols"> 
2733    <t>
2734      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/68"/>:
2735      "Encoding References Normative" &mdash; rephrase the annotation and reference
2736      <xref target="BCP97"/>.
2737    </t>
2738  </list>
2739</t>
2740 </section>
2741
2742<section title="Since draft-ietf-httpbis-p3-payload-04" anchor="changes.since.04">
2743<t>
2744  Closed issues:
2745  <list style="symbols"> 
2746    <t>
2747      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/132"/>:
2748      "RFC 2822 is updated by RFC 5322"
2749    </t>
2750  </list>
2751</t>
2752<t>
2753  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
2754  <list style="symbols"> 
2755    <t>
2756      Use "/" instead of "|" for alternatives.
2757    </t>
2758    <t>
2759      Introduce new ABNF rules for "bad" whitespace ("BWS"), optional
2760      whitespace ("OWS") and required whitespace ("RWS").
2761    </t>
2762    <t>
2763      Rewrite ABNFs to spell out whitespace rules, factor out
2764      header field value format definitions.
2765    </t>
2766  </list>
2767</t>
2768</section>
2769
2770<section title="Since draft-ietf-httpbis-p3-payload-05" anchor="changes.since.05">
2771<t>
2772  Closed issues:
2773  <list style="symbols"> 
2774    <t>
2775      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/118"/>:
2776      "Join "Differences Between HTTP Entities and RFC 2045 Entities"?"
2777    </t>
2778  </list>
2779</t>
2780<t>
2781  Final work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
2782  <list style="symbols"> 
2783    <t>
2784      Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.
2785    </t>
2786  </list>
2787</t>
2788<t>
2789  Other changes:
2790  <list style="symbols"> 
2791    <t>
2792      Move definition of quality values into Part 1.
2793    </t>
2794  </list>
2795</t>
2796</section>
2797
2798<section title="Since draft-ietf-httpbis-p3-payload-06" anchor="changes.since.06">
2799<t>
2800  Closed issues:
2801  <list style="symbols"> 
2802    <t>
2803      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/80"/>:
2804      "Content-Location isn't special"
2805    </t>
2806    <t>
2807      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/155"/>:
2808      "Content Sniffing"
2809    </t>
2810  </list>
2811</t>
2812</section>
2813
2814<section title="Since draft-ietf-httpbis-p3-payload-07" anchor="changes.since.07">
2815<t>
2816  Closed issues:
2817  <list style="symbols"> 
2818    <t>
2819      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/13"/>:
2820      "Updated reference for language tags"
2821    </t>
2822    <t>
2823      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/110"/>:
2824      "Clarify rules for determining what entities a response carries"
2825    </t>
2826    <t>
2827      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/154"/>:
2828      "Content-Location base-setting problems"
2829    </t>
2830    <t>
2831      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/155"/>:
2832      "Content Sniffing"
2833    </t>
2834    <t>
2835      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/188"/>:
2836      "pick IANA policy (RFC5226) for Transfer Coding / Content Coding"
2837    </t>
2838    <t>
2839      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/189"/>:
2840      "move definitions of gzip/deflate/compress to part 1"
2841    </t>
2842  </list>
2843</t>
2844<t>
2845  Partly resolved issues:
2846  <list style="symbols"> 
2847    <t>
2848      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/148"/>:
2849      "update IANA requirements wrt Transfer-Coding values" (add the
2850      IANA Considerations subsection)
2851    </t>
2852    <t>
2853      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/149"/>:
2854      "update IANA requirements wrt Content-Coding values" (add the
2855      IANA Considerations subsection)
2856    </t>
2857  </list>
2858</t>
2859</section>
2860
2861<section title="Since draft-ietf-httpbis-p3-payload-08" anchor="changes.since.08">
2862<t>
2863  Closed issues:
2864  <list style="symbols"> 
2865    <t>
2866      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/81"/>:
2867      "Content Negotiation for media types"
2868    </t>
2869    <t>
2870      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/181"/>:
2871      "Accept-Language: which RFC4647 filtering?"
2872    </t>
2873  </list>
2874</t>
2875</section>
2876
2877<section title="Since draft-ietf-httpbis-p3-payload-09" anchor="changes.since.09">
2878<t>
2879  Closed issues:
2880  <list style="symbols"> 
2881    <t>
2882      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/122"/>:
2883      "MIME-Version not listed in P1, general header fields"
2884    </t>
2885    <t>
2886      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/143"/>:
2887      "IANA registry for content/transfer encodings"
2888    </t>
2889    <t>
2890      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/155"/>:
2891      "Content Sniffing"
2892    </t>
2893    <t>
2894      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/200"/>:
2895      "use of term "word" when talking about header structure"
2896    </t>
2897  </list>
2898</t>
2899<t>
2900  Partly resolved issues:
2901  <list style="symbols"> 
2902    <t>
2903      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/196"/>:
2904      "Term for the requested resource's URI"
2905    </t>
2906  </list>
2907</t>
2908</section>
2909
2910<section title="Since draft-ietf-httpbis-p3-payload-10" anchor="changes.since.10">
2911<t>
2912  Closed issues:
2913  <list style="symbols"> 
2914    <t>
2915      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/69"/>:
2916      "Clarify 'Requested Variant'"
2917    </t>
2918    <t>
2919      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/80"/>:
2920      "Content-Location isn't special"
2921    </t>
2922    <t>
2923      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/90"/>:
2924      "Delimiting messages with multipart/byteranges"
2925    </t>
2926    <t>
2927      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/109"/>:
2928      "Clarify entity / representation / variant terminology"
2929    </t>
2930    <t>
2931      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/136"/>:
2932      "confusing req. language for Content-Location"
2933    </t>
2934    <t>
2935      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/167"/>:
2936      "Content-Location on 304 responses"
2937    </t>
2938    <t>
2939      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/183"/>:
2940      "'requested resource' in content-encoding definition"
2941    </t>
2942    <t>
2943      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/220"/>:
2944      "consider removing the 'changes from 2068' sections"
2945    </t>
2946  </list>
2947</t>
2948<t>
2949  Partly resolved issues:
2950  <list style="symbols"> 
2951    <t>
2952      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/178"/>:
2953      "Content-MD5 and partial responses"
2954    </t>
2955  </list>
2956</t>
2957</section>
2958
2959<section title="Since draft-ietf-httpbis-p3-payload-11" anchor="changes.since.11">
2960<t>
2961  Closed issues:
2962  <list style="symbols"> 
2963    <t>
2964      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/123"/>:
2965      "Factor out Content-Disposition"
2966    </t>
2967  </list>
2968</t>
2969</section>
2970
2971<section title="Since draft-ietf-httpbis-p3-payload-12" anchor="changes.since.12">
2972<t>
2973  Closed issues:
2974  <list style="symbols"> 
2975    <t>
2976      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/224"/>:
2977      "Header Classification"
2978    </t>
2979    <t>
2980      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
2981      "untangle ABNFs for header fields"
2982    </t>
2983    <t>
2984      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/277"/>:
2985      "potentially misleading MAY in media-type def"
2986    </t>
2987  </list>
2988</t>
2989</section>
2990
2991<section title="Since draft-ietf-httpbis-p3-payload-13" anchor="changes.since.13">
2992<t>
2993  Closed issues:
2994  <list style="symbols"> 
2995    <t>
2996      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/20"/>:
2997      "Default charsets for text media types"
2998    </t>
2999    <t>
3000      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/178"/>:
3001      "Content-MD5 and partial responses"
3002    </t>
3003    <t>
3004      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
3005      "untangle ABNFs for header fields"
3006    </t>
3007    <t>
3008      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/281"/>:
3009      "confusing undefined parameter in media range example"
3010    </t>
3011  </list>
3012</t>
3013</section>
3014
3015<section title="Since draft-ietf-httpbis-p3-payload-14" anchor="changes.since.14">
3016<t>
3017  None.
3018</t>
3019</section>
3020
3021<section title="Since draft-ietf-httpbis-p3-payload-15" anchor="changes.since.15">
3022<t>
3023  Closed issues:
3024  <list style="symbols"> 
3025    <t>
3026      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/285"/>:
3027      "Strength of requirements on Accept re: 406"
3028    </t>
3029  </list>
3030</t>
3031</section>
3032
3033<section title="Since draft-ietf-httpbis-p3-payload-16" anchor="changes.since.16">
3034<t>
3035  None yet.
3036</t>
3037</section>
3038
3039</section>
3040
3041</back>
3042</rfc>
Note: See TracBrowser for help on using the repository browser.