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