1 | <!DOCTYPE html |
---|
2 | PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
---|
3 | <html lang="en"> |
---|
4 | <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/"> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
6 | <title>HTTP/1.1, part 3: Message Payload and Content Negotiation</title><style type="text/css" title="Xml2Rfc (sans serif)"> |
---|
7 | a { |
---|
8 | text-decoration: none; |
---|
9 | } |
---|
10 | a.smpl { |
---|
11 | color: black; |
---|
12 | } |
---|
13 | a:hover { |
---|
14 | text-decoration: underline; |
---|
15 | } |
---|
16 | a:active { |
---|
17 | text-decoration: underline; |
---|
18 | } |
---|
19 | address { |
---|
20 | margin-top: 1em; |
---|
21 | margin-left: 2em; |
---|
22 | font-style: normal; |
---|
23 | } |
---|
24 | body { |
---|
25 | color: black; |
---|
26 | font-family: verdana, helvetica, arial, sans-serif; |
---|
27 | font-size: 10pt; |
---|
28 | } |
---|
29 | cite { |
---|
30 | font-style: normal; |
---|
31 | } |
---|
32 | div.note { |
---|
33 | margin-left: 2em; |
---|
34 | } |
---|
35 | dd { |
---|
36 | margin-right: 2em; |
---|
37 | } |
---|
38 | dl { |
---|
39 | margin-left: 2em; |
---|
40 | } |
---|
41 | |
---|
42 | ul.empty { |
---|
43 | list-style-type: none; |
---|
44 | } |
---|
45 | ul.empty li { |
---|
46 | margin-top: .5em; |
---|
47 | } |
---|
48 | dl p { |
---|
49 | margin-left: 0em; |
---|
50 | } |
---|
51 | dt { |
---|
52 | margin-top: .5em; |
---|
53 | } |
---|
54 | h1 { |
---|
55 | font-size: 14pt; |
---|
56 | line-height: 21pt; |
---|
57 | page-break-after: avoid; |
---|
58 | } |
---|
59 | h1.np { |
---|
60 | page-break-before: always; |
---|
61 | } |
---|
62 | h1 a { |
---|
63 | color: #333333; |
---|
64 | } |
---|
65 | h2 { |
---|
66 | font-size: 12pt; |
---|
67 | line-height: 15pt; |
---|
68 | page-break-after: avoid; |
---|
69 | } |
---|
70 | h3, h4, h5, h6 { |
---|
71 | font-size: 10pt; |
---|
72 | page-break-after: avoid; |
---|
73 | } |
---|
74 | h2 a, h3 a, h4 a, h5 a, h6 a { |
---|
75 | color: black; |
---|
76 | } |
---|
77 | img { |
---|
78 | margin-left: 3em; |
---|
79 | } |
---|
80 | li { |
---|
81 | margin-left: 2em; |
---|
82 | margin-right: 2em; |
---|
83 | } |
---|
84 | ol { |
---|
85 | margin-left: 2em; |
---|
86 | margin-right: 2em; |
---|
87 | } |
---|
88 | ol p { |
---|
89 | margin-left: 0em; |
---|
90 | } |
---|
91 | p { |
---|
92 | margin-left: 2em; |
---|
93 | margin-right: 2em; |
---|
94 | } |
---|
95 | pre { |
---|
96 | margin-left: 3em; |
---|
97 | background-color: lightyellow; |
---|
98 | padding: .25em; |
---|
99 | } |
---|
100 | pre.text2 { |
---|
101 | border-style: dotted; |
---|
102 | border-width: 1px; |
---|
103 | background-color: #f0f0f0; |
---|
104 | width: 69em; |
---|
105 | } |
---|
106 | pre.inline { |
---|
107 | background-color: white; |
---|
108 | padding: 0em; |
---|
109 | } |
---|
110 | pre.text { |
---|
111 | border-style: dotted; |
---|
112 | border-width: 1px; |
---|
113 | background-color: #f8f8f8; |
---|
114 | width: 69em; |
---|
115 | } |
---|
116 | pre.drawing { |
---|
117 | border-style: solid; |
---|
118 | border-width: 1px; |
---|
119 | background-color: #f8f8f8; |
---|
120 | padding: 2em; |
---|
121 | } |
---|
122 | table { |
---|
123 | margin-left: 2em; |
---|
124 | } |
---|
125 | table.tt { |
---|
126 | vertical-align: top; |
---|
127 | } |
---|
128 | table.full { |
---|
129 | border-style: outset; |
---|
130 | border-width: 1px; |
---|
131 | } |
---|
132 | table.headers { |
---|
133 | border-style: outset; |
---|
134 | border-width: 1px; |
---|
135 | } |
---|
136 | table.tt td { |
---|
137 | vertical-align: top; |
---|
138 | } |
---|
139 | table.full td { |
---|
140 | border-style: inset; |
---|
141 | border-width: 1px; |
---|
142 | } |
---|
143 | table.tt th { |
---|
144 | vertical-align: top; |
---|
145 | } |
---|
146 | table.full th { |
---|
147 | border-style: inset; |
---|
148 | border-width: 1px; |
---|
149 | } |
---|
150 | table.headers th { |
---|
151 | border-style: none none inset none; |
---|
152 | border-width: 1px; |
---|
153 | } |
---|
154 | table.left { |
---|
155 | margin-right: auto; |
---|
156 | } |
---|
157 | table.right { |
---|
158 | margin-left: auto; |
---|
159 | } |
---|
160 | table.center { |
---|
161 | margin-left: auto; |
---|
162 | margin-right: auto; |
---|
163 | } |
---|
164 | caption { |
---|
165 | caption-side: bottom; |
---|
166 | font-weight: bold; |
---|
167 | font-size: 9pt; |
---|
168 | margin-top: .5em; |
---|
169 | } |
---|
170 | |
---|
171 | table.header { |
---|
172 | border-spacing: 1px; |
---|
173 | width: 95%; |
---|
174 | font-size: 10pt; |
---|
175 | color: white; |
---|
176 | } |
---|
177 | td.top { |
---|
178 | vertical-align: top; |
---|
179 | } |
---|
180 | td.topnowrap { |
---|
181 | vertical-align: top; |
---|
182 | white-space: nowrap; |
---|
183 | } |
---|
184 | table.header td { |
---|
185 | background-color: gray; |
---|
186 | width: 50%; |
---|
187 | } |
---|
188 | table.header a { |
---|
189 | color: white; |
---|
190 | } |
---|
191 | td.reference { |
---|
192 | vertical-align: top; |
---|
193 | white-space: nowrap; |
---|
194 | padding-right: 1em; |
---|
195 | } |
---|
196 | thead { |
---|
197 | display:table-header-group; |
---|
198 | } |
---|
199 | ul.toc { |
---|
200 | list-style: none; |
---|
201 | margin-left: 1.5em; |
---|
202 | margin-right: 0em; |
---|
203 | padding-left: 0em; |
---|
204 | } |
---|
205 | li.tocline0 { |
---|
206 | line-height: 150%; |
---|
207 | font-weight: bold; |
---|
208 | font-size: 10pt; |
---|
209 | margin-left: 0em; |
---|
210 | margin-right: 0em; |
---|
211 | } |
---|
212 | li.tocline1 { |
---|
213 | line-height: normal; |
---|
214 | font-weight: normal; |
---|
215 | font-size: 9pt; |
---|
216 | margin-left: 0em; |
---|
217 | margin-right: 0em; |
---|
218 | } |
---|
219 | li.tocline2 { |
---|
220 | font-size: 0pt; |
---|
221 | } |
---|
222 | ul p { |
---|
223 | margin-left: 0em; |
---|
224 | } |
---|
225 | ul.ind { |
---|
226 | list-style: none; |
---|
227 | margin-left: 1.5em; |
---|
228 | margin-right: 0em; |
---|
229 | padding-left: 0em; |
---|
230 | page-break-before: avoid; |
---|
231 | } |
---|
232 | li.indline0 { |
---|
233 | font-weight: bold; |
---|
234 | line-height: 200%; |
---|
235 | margin-left: 0em; |
---|
236 | margin-right: 0em; |
---|
237 | } |
---|
238 | li.indline1 { |
---|
239 | font-weight: normal; |
---|
240 | line-height: 150%; |
---|
241 | margin-left: 0em; |
---|
242 | margin-right: 0em; |
---|
243 | } |
---|
244 | .avoidbreak { |
---|
245 | page-break-inside: avoid; |
---|
246 | } |
---|
247 | .bcp14 { |
---|
248 | font-style: normal; |
---|
249 | text-transform: lowercase; |
---|
250 | font-variant: small-caps; |
---|
251 | } |
---|
252 | .comment { |
---|
253 | background-color: yellow; |
---|
254 | } |
---|
255 | .center { |
---|
256 | text-align: center; |
---|
257 | } |
---|
258 | .error { |
---|
259 | color: red; |
---|
260 | font-style: italic; |
---|
261 | font-weight: bold; |
---|
262 | } |
---|
263 | .figure { |
---|
264 | font-weight: bold; |
---|
265 | text-align: center; |
---|
266 | font-size: 9pt; |
---|
267 | } |
---|
268 | .filename { |
---|
269 | color: #333333; |
---|
270 | font-weight: bold; |
---|
271 | font-size: 12pt; |
---|
272 | line-height: 21pt; |
---|
273 | text-align: center; |
---|
274 | } |
---|
275 | .fn { |
---|
276 | font-weight: bold; |
---|
277 | } |
---|
278 | .hidden { |
---|
279 | display: none; |
---|
280 | } |
---|
281 | .left { |
---|
282 | text-align: left; |
---|
283 | } |
---|
284 | .right { |
---|
285 | text-align: right; |
---|
286 | } |
---|
287 | .title { |
---|
288 | color: #990000; |
---|
289 | font-size: 18pt; |
---|
290 | line-height: 18pt; |
---|
291 | font-weight: bold; |
---|
292 | text-align: center; |
---|
293 | margin-top: 36pt; |
---|
294 | } |
---|
295 | .vcardline { |
---|
296 | display: block; |
---|
297 | } |
---|
298 | .warning { |
---|
299 | font-size: 14pt; |
---|
300 | background-color: yellow; |
---|
301 | } |
---|
302 | |
---|
303 | |
---|
304 | @media print { |
---|
305 | .noprint { |
---|
306 | display: none; |
---|
307 | } |
---|
308 | |
---|
309 | a { |
---|
310 | color: black; |
---|
311 | text-decoration: none; |
---|
312 | } |
---|
313 | |
---|
314 | table.header { |
---|
315 | width: 90%; |
---|
316 | } |
---|
317 | |
---|
318 | td.header { |
---|
319 | width: 50%; |
---|
320 | color: black; |
---|
321 | background-color: white; |
---|
322 | vertical-align: top; |
---|
323 | font-size: 12pt; |
---|
324 | } |
---|
325 | |
---|
326 | ul.toc a::after { |
---|
327 | content: leader('.') target-counter(attr(href), page); |
---|
328 | } |
---|
329 | |
---|
330 | a.iref { |
---|
331 | content: target-counter(attr(href), page); |
---|
332 | } |
---|
333 | |
---|
334 | .print2col { |
---|
335 | column-count: 2; |
---|
336 | -moz-column-count: 2; |
---|
337 | column-fill: auto; |
---|
338 | } |
---|
339 | } |
---|
340 | |
---|
341 | @page { |
---|
342 | @top-left { |
---|
343 | content: "Internet-Draft"; |
---|
344 | } |
---|
345 | @top-right { |
---|
346 | content: "July 2010"; |
---|
347 | } |
---|
348 | @top-center { |
---|
349 | content: "HTTP/1.1, Part 3"; |
---|
350 | } |
---|
351 | @bottom-left { |
---|
352 | content: "Fielding, et al."; |
---|
353 | } |
---|
354 | @bottom-center { |
---|
355 | content: "Standards Track"; |
---|
356 | } |
---|
357 | @bottom-right { |
---|
358 | content: "[Page " counter(page) "]"; |
---|
359 | } |
---|
360 | } |
---|
361 | |
---|
362 | @page:first { |
---|
363 | @top-left { |
---|
364 | content: normal; |
---|
365 | } |
---|
366 | @top-right { |
---|
367 | content: normal; |
---|
368 | } |
---|
369 | @top-center { |
---|
370 | content: normal; |
---|
371 | } |
---|
372 | } |
---|
373 | </style><link rel="Contents" href="#rfc.toc"> |
---|
374 | <link rel="Author" href="#rfc.authors"> |
---|
375 | <link rel="Copyright" href="#rfc.copyrightnotice"> |
---|
376 | <link rel="Index" href="#rfc.index"> |
---|
377 | <link rel="Chapter" title="1 Introduction" href="#rfc.section.1"> |
---|
378 | <link rel="Chapter" title="2 Protocol Parameters" href="#rfc.section.2"> |
---|
379 | <link rel="Chapter" title="3 Representation" href="#rfc.section.3"> |
---|
380 | <link rel="Chapter" title="4 Content Negotiation" href="#rfc.section.4"> |
---|
381 | <link rel="Chapter" title="5 Header Field Definitions" href="#rfc.section.5"> |
---|
382 | <link rel="Chapter" title="6 IANA Considerations" href="#rfc.section.6"> |
---|
383 | <link rel="Chapter" title="7 Security Considerations" href="#rfc.section.7"> |
---|
384 | <link rel="Chapter" title="8 Acknowledgments" href="#rfc.section.8"> |
---|
385 | <link rel="Chapter" href="#rfc.section.9" title="9 References"> |
---|
386 | <link rel="Appendix" title="A Differences between HTTP and MIME" href="#rfc.section.A"> |
---|
387 | <link rel="Appendix" title="B Additional Features" href="#rfc.section.B"> |
---|
388 | <link rel="Appendix" title="C Compatibility with Previous Versions" href="#rfc.section.C"> |
---|
389 | <link rel="Appendix" title="D Collected ABNF" href="#rfc.section.D"> |
---|
390 | <link rel="Appendix" title="E Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.E"> |
---|
391 | <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.518, 2010-06-27 12:07:31, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/"> |
---|
392 | <link rel="schema.dct" href="http://purl.org/dc/terms/"> |
---|
393 | <meta name="dct.creator" content="Fielding, R."> |
---|
394 | <meta name="dct.creator" content="Gettys, J."> |
---|
395 | <meta name="dct.creator" content="Mogul, J."> |
---|
396 | <meta name="dct.creator" content="Frystyk, H."> |
---|
397 | <meta name="dct.creator" content="Masinter, L."> |
---|
398 | <meta name="dct.creator" content="Leach, P."> |
---|
399 | <meta name="dct.creator" content="Berners-Lee, T."> |
---|
400 | <meta name="dct.creator" content="Lafon, Y."> |
---|
401 | <meta name="dct.creator" content="Reschke, J. F."> |
---|
402 | <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p3-payload-latest"> |
---|
403 | <meta name="dct.issued" scheme="ISO8601" content="2010-07-22"> |
---|
404 | <meta name="dct.replaces" content="urn:ietf:rfc:2616"> |
---|
405 | <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part 3 defines HTTP message content, metadata, and content negotiation."> |
---|
406 | <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part 3 defines HTTP message content, metadata, and content negotiation."> |
---|
407 | </head> |
---|
408 | <body> |
---|
409 | <table class="header"> |
---|
410 | <tbody> |
---|
411 | <tr> |
---|
412 | <td class="left">HTTPbis Working Group</td> |
---|
413 | <td class="right">R. Fielding, Editor</td> |
---|
414 | </tr> |
---|
415 | <tr> |
---|
416 | <td class="left">Internet-Draft</td> |
---|
417 | <td class="right">Day Software</td> |
---|
418 | </tr> |
---|
419 | <tr> |
---|
420 | <td class="left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved) |
---|
421 | </td> |
---|
422 | <td class="right">J. Gettys</td> |
---|
423 | </tr> |
---|
424 | <tr> |
---|
425 | <td class="left">Intended status: Standards Track</td> |
---|
426 | <td class="right">Alcatel-Lucent</td> |
---|
427 | </tr> |
---|
428 | <tr> |
---|
429 | <td class="left">Expires: January 23, 2011</td> |
---|
430 | <td class="right">J. Mogul</td> |
---|
431 | </tr> |
---|
432 | <tr> |
---|
433 | <td class="left"></td> |
---|
434 | <td class="right">HP</td> |
---|
435 | </tr> |
---|
436 | <tr> |
---|
437 | <td class="left"></td> |
---|
438 | <td class="right">H. Frystyk</td> |
---|
439 | </tr> |
---|
440 | <tr> |
---|
441 | <td class="left"></td> |
---|
442 | <td class="right">Microsoft</td> |
---|
443 | </tr> |
---|
444 | <tr> |
---|
445 | <td class="left"></td> |
---|
446 | <td class="right">L. Masinter</td> |
---|
447 | </tr> |
---|
448 | <tr> |
---|
449 | <td class="left"></td> |
---|
450 | <td class="right">Adobe Systems</td> |
---|
451 | </tr> |
---|
452 | <tr> |
---|
453 | <td class="left"></td> |
---|
454 | <td class="right">P. Leach</td> |
---|
455 | </tr> |
---|
456 | <tr> |
---|
457 | <td class="left"></td> |
---|
458 | <td class="right">Microsoft</td> |
---|
459 | </tr> |
---|
460 | <tr> |
---|
461 | <td class="left"></td> |
---|
462 | <td class="right">T. Berners-Lee</td> |
---|
463 | </tr> |
---|
464 | <tr> |
---|
465 | <td class="left"></td> |
---|
466 | <td class="right">W3C/MIT</td> |
---|
467 | </tr> |
---|
468 | <tr> |
---|
469 | <td class="left"></td> |
---|
470 | <td class="right">Y. Lafon, Editor</td> |
---|
471 | </tr> |
---|
472 | <tr> |
---|
473 | <td class="left"></td> |
---|
474 | <td class="right">W3C</td> |
---|
475 | </tr> |
---|
476 | <tr> |
---|
477 | <td class="left"></td> |
---|
478 | <td class="right">J. Reschke, Editor</td> |
---|
479 | </tr> |
---|
480 | <tr> |
---|
481 | <td class="left"></td> |
---|
482 | <td class="right">greenbytes</td> |
---|
483 | </tr> |
---|
484 | <tr> |
---|
485 | <td class="left"></td> |
---|
486 | <td class="right">July 22, 2010</td> |
---|
487 | </tr> |
---|
488 | </tbody> |
---|
489 | </table> |
---|
490 | <p class="title">HTTP/1.1, part 3: Message Payload and Content Negotiation<br><span class="filename">draft-ietf-httpbis-p3-payload-latest</span></p> |
---|
491 | <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> |
---|
492 | <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information |
---|
493 | systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the |
---|
494 | seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part |
---|
495 | 3 defines HTTP message content, metadata, and content negotiation. |
---|
496 | </p> |
---|
497 | <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1> |
---|
498 | <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues |
---|
499 | list is at <<a href="http://tools.ietf.org/wg/httpbis/trac/report/3">http://tools.ietf.org/wg/httpbis/trac/report/3</a>> and related documents (including fancy diffs) can be found at <<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>>. |
---|
500 | </p> |
---|
501 | <p>The changes in this draft are summarized in <a href="#changes.since.10" title="Since draft-ietf-httpbis-p3-payload-10">Appendix E.12</a>. |
---|
502 | </p> |
---|
503 | <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1> |
---|
504 | <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p> |
---|
505 | <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute |
---|
506 | working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>. |
---|
507 | </p> |
---|
508 | <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other |
---|
509 | documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work |
---|
510 | in progress”. |
---|
511 | </p> |
---|
512 | <p>This Internet-Draft will expire in January 23, 2011.</p> |
---|
513 | <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1> |
---|
514 | <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p> |
---|
515 | <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights |
---|
516 | and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License |
---|
517 | text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified |
---|
518 | BSD License. |
---|
519 | </p> |
---|
520 | <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November |
---|
521 | 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to |
---|
522 | allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) |
---|
523 | controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative |
---|
524 | works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate |
---|
525 | it into languages other than English. |
---|
526 | </p> |
---|
527 | <hr class="noprint"> |
---|
528 | <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1> |
---|
529 | <ul class="toc"> |
---|
530 | <li class="tocline0">1. <a href="#introduction">Introduction</a><ul class="toc"> |
---|
531 | <li class="tocline1">1.1 <a href="#terminology">Terminology</a></li> |
---|
532 | <li class="tocline1">1.2 <a href="#intro.requirements">Requirements</a></li> |
---|
533 | <li class="tocline1">1.3 <a href="#notation">Syntax Notation</a><ul class="toc"> |
---|
534 | <li class="tocline1">1.3.1 <a href="#core.rules">Core Rules</a></li> |
---|
535 | <li class="tocline1">1.3.2 <a href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></li> |
---|
536 | </ul> |
---|
537 | </li> |
---|
538 | </ul> |
---|
539 | </li> |
---|
540 | <li class="tocline0">2. <a href="#protocol.parameters">Protocol Parameters</a><ul class="toc"> |
---|
541 | <li class="tocline1">2.1 <a href="#character.sets">Character Sets</a><ul class="toc"> |
---|
542 | <li class="tocline1">2.1.1 <a href="#missing.charset">Missing Charset</a></li> |
---|
543 | </ul> |
---|
544 | </li> |
---|
545 | <li class="tocline1">2.2 <a href="#content.codings">Content Codings</a><ul class="toc"> |
---|
546 | <li class="tocline1">2.2.1 <a href="#content.coding.registry">Content Coding Registry</a></li> |
---|
547 | </ul> |
---|
548 | </li> |
---|
549 | <li class="tocline1">2.3 <a href="#media.types">Media Types</a><ul class="toc"> |
---|
550 | <li class="tocline1">2.3.1 <a href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></li> |
---|
551 | <li class="tocline1">2.3.2 <a href="#multipart.types">Multipart Types</a></li> |
---|
552 | </ul> |
---|
553 | </li> |
---|
554 | <li class="tocline1">2.4 <a href="#language.tags">Language Tags</a></li> |
---|
555 | </ul> |
---|
556 | </li> |
---|
557 | <li class="tocline0">3. <a href="#representation">Representation</a><ul class="toc"> |
---|
558 | <li class="tocline1">3.1 <a href="#entity.header.fields">Entity Header Fields</a></li> |
---|
559 | <li class="tocline1">3.2 <a href="#payload.body">Payload Body</a><ul class="toc"> |
---|
560 | <li class="tocline1">3.2.1 <a href="#type">Type</a></li> |
---|
561 | </ul> |
---|
562 | </li> |
---|
563 | </ul> |
---|
564 | </li> |
---|
565 | <li class="tocline0">4. <a href="#content.negotiation">Content Negotiation</a><ul class="toc"> |
---|
566 | <li class="tocline1">4.1 <a href="#server-driven.negotiation">Server-driven Negotiation</a></li> |
---|
567 | <li class="tocline1">4.2 <a href="#agent-driven.negotiation">Agent-driven Negotiation</a></li> |
---|
568 | </ul> |
---|
569 | </li> |
---|
570 | <li class="tocline0">5. <a href="#header.fields">Header Field Definitions</a><ul class="toc"> |
---|
571 | <li class="tocline1">5.1 <a href="#header.accept">Accept</a></li> |
---|
572 | <li class="tocline1">5.2 <a href="#header.accept-charset">Accept-Charset</a></li> |
---|
573 | <li class="tocline1">5.3 <a href="#header.accept-encoding">Accept-Encoding</a></li> |
---|
574 | <li class="tocline1">5.4 <a href="#header.accept-language">Accept-Language</a></li> |
---|
575 | <li class="tocline1">5.5 <a href="#header.content-encoding">Content-Encoding</a></li> |
---|
576 | <li class="tocline1">5.6 <a href="#header.content-language">Content-Language</a></li> |
---|
577 | <li class="tocline1">5.7 <a href="#header.content-location">Content-Location</a></li> |
---|
578 | <li class="tocline1">5.8 <a href="#header.content-md5">Content-MD5</a></li> |
---|
579 | <li class="tocline1">5.9 <a href="#header.content-type">Content-Type</a></li> |
---|
580 | </ul> |
---|
581 | </li> |
---|
582 | <li class="tocline0">6. <a href="#IANA.considerations">IANA Considerations</a><ul class="toc"> |
---|
583 | <li class="tocline1">6.1 <a href="#message.header.registration">Message Header Registration</a></li> |
---|
584 | <li class="tocline1">6.2 <a href="#content.coding.registration">Content Coding Registry</a></li> |
---|
585 | </ul> |
---|
586 | </li> |
---|
587 | <li class="tocline0">7. <a href="#security.considerations">Security Considerations</a><ul class="toc"> |
---|
588 | <li class="tocline1">7.1 <a href="#privacy.issues.connected.to.accept.headers">Privacy Issues Connected to Accept Headers</a></li> |
---|
589 | <li class="tocline1">7.2 <a href="#content-disposition.issues">Content-Disposition Issues</a></li> |
---|
590 | </ul> |
---|
591 | </li> |
---|
592 | <li class="tocline0">8. <a href="#ack">Acknowledgments</a></li> |
---|
593 | <li class="tocline0">9. <a href="#rfc.references">References</a><ul class="toc"> |
---|
594 | <li class="tocline1">9.1 <a href="#rfc.references.1">Normative References</a></li> |
---|
595 | <li class="tocline1">9.2 <a href="#rfc.references.2">Informative References</a></li> |
---|
596 | </ul> |
---|
597 | </li> |
---|
598 | <li class="tocline0"><a href="#rfc.authors">Authors' Addresses</a></li> |
---|
599 | <li class="tocline0">A. <a href="#differences.between.http.and.mime">Differences between HTTP and MIME</a><ul class="toc"> |
---|
600 | <li class="tocline1">A.1 <a href="#mime-version">MIME-Version</a></li> |
---|
601 | <li class="tocline1">A.2 <a href="#conversion.to.canonical.form">Conversion to Canonical Form</a></li> |
---|
602 | <li class="tocline1">A.3 <a href="#conversion.of.date.formats">Conversion of Date Formats</a></li> |
---|
603 | <li class="tocline1">A.4 <a href="#introduction.of.content-encoding">Introduction of Content-Encoding</a></li> |
---|
604 | <li class="tocline1">A.5 <a href="#no.content-transfer-encoding">No Content-Transfer-Encoding</a></li> |
---|
605 | <li class="tocline1">A.6 <a href="#introduction.of.transfer-encoding">Introduction of Transfer-Encoding</a></li> |
---|
606 | <li class="tocline1">A.7 <a href="#mhtml.line.length">MHTML and Line Length Limitations</a></li> |
---|
607 | </ul> |
---|
608 | </li> |
---|
609 | <li class="tocline0">B. <a href="#additional.features">Additional Features</a><ul class="toc"> |
---|
610 | <li class="tocline1">B.1 <a href="#content-disposition">Content-Disposition</a></li> |
---|
611 | </ul> |
---|
612 | </li> |
---|
613 | <li class="tocline0">C. <a href="#compatibility">Compatibility with Previous Versions</a><ul class="toc"> |
---|
614 | <li class="tocline1">C.1 <a href="#changes.from.rfc.2068">Changes from RFC 2068</a></li> |
---|
615 | <li class="tocline1">C.2 <a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li> |
---|
616 | </ul> |
---|
617 | </li> |
---|
618 | <li class="tocline0">D. <a href="#collected.abnf">Collected ABNF</a></li> |
---|
619 | <li class="tocline0">E. <a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc"> |
---|
620 | <li class="tocline1">E.1 <a href="#rfc.section.E.1">Since RFC2616</a></li> |
---|
621 | <li class="tocline1">E.2 <a href="#rfc.section.E.2">Since draft-ietf-httpbis-p3-payload-00</a></li> |
---|
622 | <li class="tocline1">E.3 <a href="#rfc.section.E.3">Since draft-ietf-httpbis-p3-payload-01</a></li> |
---|
623 | <li class="tocline1">E.4 <a href="#changes.since.02">Since draft-ietf-httpbis-p3-payload-02</a></li> |
---|
624 | <li class="tocline1">E.5 <a href="#changes.since.03">Since draft-ietf-httpbis-p3-payload-03</a></li> |
---|
625 | <li class="tocline1">E.6 <a href="#changes.since.04">Since draft-ietf-httpbis-p3-payload-04</a></li> |
---|
626 | <li class="tocline1">E.7 <a href="#changes.since.05">Since draft-ietf-httpbis-p3-payload-05</a></li> |
---|
627 | <li class="tocline1">E.8 <a href="#changes.since.06">Since draft-ietf-httpbis-p3-payload-06</a></li> |
---|
628 | <li class="tocline1">E.9 <a href="#changes.since.07">Since draft-ietf-httpbis-p3-payload-07</a></li> |
---|
629 | <li class="tocline1">E.10 <a href="#changes.since.08">Since draft-ietf-httpbis-p3-payload-08</a></li> |
---|
630 | <li class="tocline1">E.11 <a href="#changes.since.09">Since draft-ietf-httpbis-p3-payload-09</a></li> |
---|
631 | <li class="tocline1">E.12 <a href="#changes.since.10">Since draft-ietf-httpbis-p3-payload-10</a></li> |
---|
632 | </ul> |
---|
633 | </li> |
---|
634 | <li class="tocline0"><a href="#rfc.index">Index</a></li> |
---|
635 | </ul> |
---|
636 | <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="introduction" href="#introduction">Introduction</a></h1> |
---|
637 | <p id="rfc.section.1.p.1">This document defines HTTP/1.1 message payloads (a.k.a., content), the associated metadata header fields that define how the |
---|
638 | payload is intended to be interpreted by a recipient, the request header fields that may influence content selection, and |
---|
639 | the various selection algorithms that are collectively referred to as HTTP content negotiation. |
---|
640 | </p> |
---|
641 | <p id="rfc.section.1.p.2">This document is currently disorganized in order to minimize the changes between drafts and enable reviewers to see the smaller |
---|
642 | errata changes. The next draft will reorganize the sections to better reflect the content. In particular, the sections on |
---|
643 | entities will be renamed payload and moved to the first half of the document, while the sections on content negotiation and |
---|
644 | associated request header fields will be moved to the second half. The current mess reflects how widely dispersed these topics |
---|
645 | and associated requirements had become in <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. |
---|
646 | </p> |
---|
647 | <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> <a id="terminology" href="#terminology">Terminology</a></h2> |
---|
648 | <p id="rfc.section.1.1.p.1">This specification uses a number of terms to refer to the roles played by participants in, and objects of, the HTTP communication.</p> |
---|
649 | <p id="rfc.section.1.1.p.2"> <span id="rfc.iref.c.1"></span> <dfn>content negotiation</dfn> |
---|
650 | </p> |
---|
651 | <ul class="empty"> |
---|
652 | <li>The mechanism for selecting the appropriate representation when servicing a request. The representation in any response can |
---|
653 | be negotiated (including error responses). |
---|
654 | </li> |
---|
655 | </ul> |
---|
656 | <p id="rfc.section.1.1.p.3"> <span id="rfc.iref.p.1"></span> <dfn>payload</dfn> |
---|
657 | </p> |
---|
658 | <ul class="empty"> |
---|
659 | <li>The information transferred within a given message is called the payload, consisting of optional payload metadata and an optional |
---|
660 | payload body. The payload in HTTP is always a partial or complete representation of some resource, though which resource is |
---|
661 | represented is dependent on the type of message (request or response), the request method, and the response status code. |
---|
662 | </li> |
---|
663 | </ul> |
---|
664 | <p id="rfc.section.1.1.p.4"> <span id="rfc.iref.r.1"></span> <dfn>representation</dfn> |
---|
665 | </p> |
---|
666 | <ul class="empty"> |
---|
667 | <li>A representation is information in a format that can be readily communicated from one party to another. For our purposes, |
---|
668 | a representation is binary data and its associated metadata. A representation of a resource is information that reflects the |
---|
669 | state of that resource, as observed at some point in the past or to be desired at some point in the future. |
---|
670 | </li> |
---|
671 | </ul> |
---|
672 | <h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> <a id="intro.requirements" href="#intro.requirements">Requirements</a></h2> |
---|
673 | <p id="rfc.section.1.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" |
---|
674 | in this document are to be interpreted as described in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>. |
---|
675 | </p> |
---|
676 | <p id="rfc.section.1.2.p.2">An implementation is not compliant if it fails to satisfy one or more of the "MUST" or "REQUIRED" level requirements for the |
---|
677 | protocols it implements. An implementation that satisfies all the "MUST" or "REQUIRED" level and all the "SHOULD" level requirements |
---|
678 | for its protocols is said to be "unconditionally compliant"; one that satisfies all the "MUST" level requirements but not |
---|
679 | all the "SHOULD" level requirements for its protocols is said to be "conditionally compliant". |
---|
680 | </p> |
---|
681 | <h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="notation" href="#notation">Syntax Notation</a></h2> |
---|
682 | <p id="rfc.section.1.3.p.1">This specification uses the ABNF syntax defined in <a href="p1-messaging.html#notation" title="Syntax Notation">Section 1.2</a> of <a href="#Part1" id="rfc.xref.Part1.1"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> (which extends the syntax defined in <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a> with a list rule). <a href="#collected.abnf" title="Collected ABNF">Appendix D</a> shows the collected ABNF, with the list rule expanded. |
---|
683 | </p> |
---|
684 | <p id="rfc.section.1.3.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG |
---|
685 | (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character), |
---|
686 | and WSP (whitespace). |
---|
687 | </p> |
---|
688 | <h3 id="rfc.section.1.3.1"><a href="#rfc.section.1.3.1">1.3.1</a> <a id="core.rules" href="#core.rules">Core Rules</a></h3> |
---|
689 | <p id="rfc.section.1.3.1.p.1">The core rules below are defined in <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.2"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>: |
---|
690 | </p> |
---|
691 | <div id="rfc.figure.u.1"></div><pre class="inline"> <a href="#core.rules" class="smpl">quoted-string</a> = <quoted-string, defined in <a href="#Part1" id="rfc.xref.Part1.3"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>> |
---|
692 | <a href="#core.rules" class="smpl">token</a> = <token, defined in <a href="#Part1" id="rfc.xref.Part1.4"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>> |
---|
693 | <a href="#core.rules" class="smpl">word</a> = <word, defined in <a href="#Part1" id="rfc.xref.Part1.5"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>> |
---|
694 | <a href="#core.rules" class="smpl">OWS</a> = <OWS, defined in <a href="#Part1" id="rfc.xref.Part1.6"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>> |
---|
695 | </pre><h3 id="rfc.section.1.3.2"><a href="#rfc.section.1.3.2">1.3.2</a> <a id="abnf.dependencies" href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></h3> |
---|
696 | <p id="rfc.section.1.3.2.p.1">The ABNF rules below are defined in other parts:</p> |
---|
697 | <div id="rfc.figure.u.2"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">absolute-URI</a> = <absolute-URI, defined in <a href="#Part1" id="rfc.xref.Part1.7"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#uri" title="Uniform Resource Identifiers">Section 2.6</a>> |
---|
698 | <a href="#abnf.dependencies" class="smpl">Content-Length</a> = <Content-Length, defined in <a href="#Part1" id="rfc.xref.Part1.8"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#header.content-length" title="Content-Length">Section 9.2</a>> |
---|
699 | <a href="#abnf.dependencies" class="smpl">header-field</a> = <header-field, defined in <a href="#Part1" id="rfc.xref.Part1.9"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#header.fields" title="Header Fields">Section 3.2</a>> |
---|
700 | <a href="#abnf.dependencies" class="smpl">partial-URI</a> = <partial-URI, defined in <a href="#Part1" id="rfc.xref.Part1.10"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#uri" title="Uniform Resource Identifiers">Section 2.6</a>> |
---|
701 | <a href="#abnf.dependencies" class="smpl">qvalue</a> = <qvalue, defined in <a href="#Part1" id="rfc.xref.Part1.11"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#quality.values" title="Quality Values">Section 6.4</a>> |
---|
702 | </pre><div id="rfc.figure.u.3"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">Last-Modified</a> = <Last-Modified, defined in <a href="#Part4" id="rfc.xref.Part4.1"><cite title="HTTP/1.1, part 4: Conditional Requests">[Part4]</cite></a>, <a href="p4-conditional.html#header.last-modified" title="Last-Modified">Section 6.6</a>> |
---|
703 | </pre><div id="rfc.figure.u.4"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">Content-Range</a> = <Content-Range, defined in <a href="#Part5" id="rfc.xref.Part5.1"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>, <a href="p5-range.html#header.content-range" title="Content-Range">Section 5.2</a>> |
---|
704 | </pre><div id="rfc.figure.u.5"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">Expires</a> = <Expires, defined in <a href="#Part6" id="rfc.xref.Part6.1"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>, <a href="p6-cache.html#header.expires" title="Expires">Section 3.3</a>> |
---|
705 | </pre><h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a> <a id="protocol.parameters" href="#protocol.parameters">Protocol Parameters</a></h1> |
---|
706 | <h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> <a id="character.sets" href="#character.sets">Character Sets</a></h2> |
---|
707 | <p id="rfc.section.2.1.p.1">HTTP uses the same definition of the term "character set" as that described for MIME:</p> |
---|
708 | <p id="rfc.section.2.1.p.2">The term "character set" is used in this document to refer to a method used with one or more tables to convert a sequence |
---|
709 | of octets into a sequence of characters. Note that unconditional conversion in the other direction is not required, in that |
---|
710 | not all characters may be available in a given character set and a character set may provide more than one sequence of octets |
---|
711 | to represent a particular character. This definition is intended to allow various kinds of character encoding, from simple |
---|
712 | single-table mappings such as US-ASCII to complex table switching methods such as those that use ISO-2022's techniques. However, |
---|
713 | the definition associated with a MIME character set name <em class="bcp14">MUST</em> fully specify the mapping to be performed from octets to characters. In particular, use of external profiling information |
---|
714 | to determine the exact mapping is not permitted. |
---|
715 | </p> |
---|
716 | <div class="note" id="rfc.section.2.1.p.3"> |
---|
717 | <p> <b>Note:</b> This use of the term "character set" is more commonly referred to as a "character encoding." However, since HTTP and MIME |
---|
718 | share the same registry, it is important that the terminology also be shared. |
---|
719 | </p> |
---|
720 | </div> |
---|
721 | <div id="rule.charset"> |
---|
722 | <p id="rfc.section.2.1.p.4"> HTTP character sets are identified by case-insensitive tokens. The complete set of tokens is defined by the IANA Character |
---|
723 | Set registry (<<a href="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</a>>). |
---|
724 | </p> |
---|
725 | </div> |
---|
726 | <div id="rfc.figure.u.6"></div><pre class="inline"><span id="rfc.iref.g.1"></span> <a href="#rule.charset" class="smpl">charset</a> = <a href="#core.rules" class="smpl">token</a> |
---|
727 | </pre><p id="rfc.section.2.1.p.6">Although HTTP allows an arbitrary token to be used as a charset value, any token that has a predefined value within the IANA |
---|
728 | Character Set registry <em class="bcp14">MUST</em> represent the character set defined by that registry. Applications <em class="bcp14">SHOULD</em> limit their use of character sets to those defined by the IANA registry. |
---|
729 | </p> |
---|
730 | <p id="rfc.section.2.1.p.7">HTTP uses charset in two contexts: within an Accept-Charset request header (in which the charset value is an unquoted token) |
---|
731 | and as the value of a parameter in a Content-Type header (within a request or response), in which case the parameter value |
---|
732 | of the charset parameter may be quoted. |
---|
733 | </p> |
---|
734 | <p id="rfc.section.2.1.p.8">Implementors should be aware of IETF character set requirements <a href="#RFC3629" id="rfc.xref.RFC3629.1"><cite title="UTF-8, a transformation format of ISO 10646">[RFC3629]</cite></a> <a href="#RFC2277" id="rfc.xref.RFC2277.1"><cite title="IETF Policy on Character Sets and Languages">[RFC2277]</cite></a>. |
---|
735 | </p> |
---|
736 | <h3 id="rfc.section.2.1.1"><a href="#rfc.section.2.1.1">2.1.1</a> <a id="missing.charset" href="#missing.charset">Missing Charset</a></h3> |
---|
737 | <p id="rfc.section.2.1.1.p.1">Some HTTP/1.0 software has interpreted a Content-Type header without charset parameter incorrectly to mean "recipient should |
---|
738 | guess." Senders wishing to defeat this behavior <em class="bcp14">MAY</em> include a charset parameter even when the charset is ISO-8859-1 (<a href="#ISO-8859-1" id="rfc.xref.ISO-8859-1.1"><cite title="Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1">[ISO-8859-1]</cite></a>) and <em class="bcp14">SHOULD</em> do so when it is known that it will not confuse the recipient. |
---|
739 | </p> |
---|
740 | <p id="rfc.section.2.1.1.p.2">Unfortunately, some older HTTP/1.0 clients did not deal properly with an explicit charset parameter. HTTP/1.1 recipients <em class="bcp14">MUST</em> respect the charset label provided by the sender; and those user agents that have a provision to "guess" a charset <em class="bcp14">MUST</em> use the charset from the content-type field if they support that charset, rather than the recipient's preference, when initially |
---|
741 | displaying a document. See <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 2.3.1</a>. |
---|
742 | </p> |
---|
743 | <h2 id="rfc.section.2.2"><a href="#rfc.section.2.2">2.2</a> <a id="content.codings" href="#content.codings">Content Codings</a></h2> |
---|
744 | <p id="rfc.section.2.2.p.1">Content coding values indicate an encoding transformation that has been or can be applied to a representation. Content codings |
---|
745 | are primarily used to allow a representation to be compressed or otherwise usefully transformed without losing the identity |
---|
746 | of its underlying media type and without loss of information. Frequently, the representation is stored in coded form, transmitted |
---|
747 | directly, and only decoded by the recipient. |
---|
748 | </p> |
---|
749 | <div id="rfc.figure.u.7"></div><pre class="inline"><span id="rfc.iref.g.2"></span> <a href="#content.codings" class="smpl">content-coding</a> = <a href="#core.rules" class="smpl">token</a> |
---|
750 | </pre><p id="rfc.section.2.2.p.3">All content-coding values are case-insensitive. HTTP/1.1 uses content-coding values in the Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.1" title="Accept-Encoding">Section 5.3</a>) and Content-Encoding (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.1" title="Content-Encoding">Section 5.5</a>) header fields. Although the value describes the content-coding, what is more important is that it indicates what decoding |
---|
751 | mechanism will be required to remove the encoding. |
---|
752 | </p> |
---|
753 | <p id="rfc.section.2.2.p.4">compress<span id="rfc.iref.c.2"></span><span id="rfc.iref.c.3"></span> |
---|
754 | </p> |
---|
755 | <ul class="empty"> |
---|
756 | <li>See <a href="p1-messaging.html#compress.coding" title="Compress Coding">Section 6.2.2.1</a> of <a href="#Part1" id="rfc.xref.Part1.12"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. |
---|
757 | </li> |
---|
758 | </ul> |
---|
759 | <p id="rfc.section.2.2.p.5">deflate<span id="rfc.iref.d.1"></span><span id="rfc.iref.c.4"></span> |
---|
760 | </p> |
---|
761 | <ul class="empty"> |
---|
762 | <li>See <a href="p1-messaging.html#deflate.coding" title="Deflate Coding">Section 6.2.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.13"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. |
---|
763 | </li> |
---|
764 | </ul> |
---|
765 | <p id="rfc.section.2.2.p.6">gzip<span id="rfc.iref.g.3"></span><span id="rfc.iref.c.5"></span> |
---|
766 | </p> |
---|
767 | <ul class="empty"> |
---|
768 | <li>See <a href="p1-messaging.html#gzip.coding" title="Gzip Coding">Section 6.2.2.3</a> of <a href="#Part1" id="rfc.xref.Part1.14"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. |
---|
769 | </li> |
---|
770 | </ul> |
---|
771 | <p id="rfc.section.2.2.p.7">identity<span id="rfc.iref.i.1"></span><span id="rfc.iref.c.6"></span> |
---|
772 | </p> |
---|
773 | <ul class="empty"> |
---|
774 | <li>The default (identity) encoding; the use of no transformation whatsoever. This content-coding is used only in the Accept-Encoding |
---|
775 | header, and <em class="bcp14">SHOULD NOT</em> be used in the Content-Encoding header. |
---|
776 | </li> |
---|
777 | </ul> |
---|
778 | <h3 id="rfc.section.2.2.1"><a href="#rfc.section.2.2.1">2.2.1</a> <a id="content.coding.registry" href="#content.coding.registry">Content Coding Registry</a></h3> |
---|
779 | <p id="rfc.section.2.2.1.p.1">The HTTP Content Coding Registry defines the name space for the content coding names.</p> |
---|
780 | <p id="rfc.section.2.2.1.p.2">Registrations <em class="bcp14">MUST</em> include the following fields: |
---|
781 | </p> |
---|
782 | <ul> |
---|
783 | <li>Name</li> |
---|
784 | <li>Description</li> |
---|
785 | <li>Pointer to specification text</li> |
---|
786 | </ul> |
---|
787 | <p id="rfc.section.2.2.1.p.3">Names of content codings <em class="bcp14">MUST NOT</em> overlap with names of transfer codings (<a href="p1-messaging.html#transfer.codings" title="Transfer Codings">Section 6.2</a> of <a href="#Part1" id="rfc.xref.Part1.15"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>), unless the encoding transformation is identical (as it is the case for the compression codings defined in <a href="p1-messaging.html#compression.codings" title="Compression Codings">Section 6.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.16"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). |
---|
788 | </p> |
---|
789 | <p id="rfc.section.2.2.1.p.4">Values to be added to this name space require expert review and a specification (see "Expert Review" and "Specification Required" |
---|
790 | in <a href="http://tools.ietf.org/html/rfc5226#section-4.1">Section 4.1</a> of <a href="#RFC5226" id="rfc.xref.RFC5226.1"><cite title="Guidelines for Writing an IANA Considerations Section in RFCs">[RFC5226]</cite></a>), and <em class="bcp14">MUST</em> conform to the purpose of content coding defined in this section. |
---|
791 | </p> |
---|
792 | <p id="rfc.section.2.2.1.p.5">The registry itself is maintained at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>>. |
---|
793 | </p> |
---|
794 | <h2 id="rfc.section.2.3"><a href="#rfc.section.2.3">2.3</a> <a id="media.types" href="#media.types">Media Types</a></h2> |
---|
795 | <p id="rfc.section.2.3.p.1">HTTP uses Internet Media Types <a href="#RFC2046" id="rfc.xref.RFC2046.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> in the Content-Type (<a href="#header.content-type" id="rfc.xref.header.content-type.1" title="Content-Type">Section 5.9</a>) and Accept (<a href="#header.accept" id="rfc.xref.header.accept.1" title="Accept">Section 5.1</a>) header fields in order to provide open and extensible data typing and type negotiation. |
---|
796 | </p> |
---|
797 | <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.4"></span><span id="rfc.iref.g.5"></span><span id="rfc.iref.g.6"></span> <a href="#media.types" class="smpl">media-type</a> = <a href="#media.types" class="smpl">type</a> "/" <a href="#media.types" class="smpl">subtype</a> *( <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#rule.parameter" class="smpl">parameter</a> ) |
---|
798 | <a href="#media.types" class="smpl">type</a> = <a href="#core.rules" class="smpl">token</a> |
---|
799 | <a href="#media.types" class="smpl">subtype</a> = <a href="#core.rules" class="smpl">token</a> |
---|
800 | </pre><div id="rule.parameter"> |
---|
801 | <p id="rfc.section.2.3.p.3"> Parameters <em class="bcp14">MAY</em> follow the type/subtype in the form of attribute/value pairs. |
---|
802 | </p> |
---|
803 | </div> |
---|
804 | <div id="rfc.figure.u.9"></div><pre class="inline"><span id="rfc.iref.g.7"></span><span id="rfc.iref.g.8"></span><span id="rfc.iref.g.9"></span> <a href="#rule.parameter" class="smpl">parameter</a> = <a href="#rule.parameter" class="smpl">attribute</a> "=" <a href="#rule.parameter" class="smpl">value</a> |
---|
805 | <a href="#rule.parameter" class="smpl">attribute</a> = <a href="#core.rules" class="smpl">token</a> |
---|
806 | <a href="#rule.parameter" class="smpl">value</a> = <a href="#core.rules" class="smpl">word</a> |
---|
807 | </pre><p id="rfc.section.2.3.p.5">The type, subtype, and parameter attribute names are case-insensitive. Parameter values might or might not be case-sensitive, |
---|
808 | depending on the semantics of the parameter name. The presence or absence of a parameter might be significant to the processing |
---|
809 | of a media-type, depending on its definition within the media type registry. |
---|
810 | </p> |
---|
811 | <p id="rfc.section.2.3.p.6">A parameter value that matches the <a href="#core.rules" class="smpl">token</a> production may be transmitted as either a token or within a quoted-string. The quoted and unquoted values are equivalent. |
---|
812 | </p> |
---|
813 | <p id="rfc.section.2.3.p.7">Note that some older HTTP applications do not recognize media type parameters. When sending data to older HTTP applications, |
---|
814 | implementations <em class="bcp14">SHOULD</em> only use media type parameters when they are required by that type/subtype definition. |
---|
815 | </p> |
---|
816 | <p id="rfc.section.2.3.p.8">Media-type values are registered with the Internet Assigned Number Authority (IANA). The media type registration process is |
---|
817 | outlined in <a href="#RFC4288" id="rfc.xref.RFC4288.1"><cite title="Media Type Specifications and Registration Procedures">[RFC4288]</cite></a>. Use of non-registered media types is discouraged. |
---|
818 | </p> |
---|
819 | <h3 id="rfc.section.2.3.1"><a href="#rfc.section.2.3.1">2.3.1</a> <a id="canonicalization.and.text.defaults" href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></h3> |
---|
820 | <p id="rfc.section.2.3.1.p.1">Internet media types are registered with a canonical form. A representation transferred via HTTP messages <em class="bcp14">MUST</em> be in the appropriate canonical form prior to its transmission except for "text" types, as defined in the next paragraph. |
---|
821 | </p> |
---|
822 | <p id="rfc.section.2.3.1.p.2">When in canonical form, media subtypes of the "text" type use CRLF as the text line break. HTTP relaxes this requirement and |
---|
823 | allows the transport of text media with plain CR or LF alone representing a line break when it is done consistently for an |
---|
824 | entire representation. HTTP applications <em class="bcp14">MUST</em> accept CRLF, bare CR, and bare LF as indicating a line break in text media received via HTTP. In addition, if the text is |
---|
825 | in a character encoding that does not use octets 13 and 10 for CR and LF respectively, as is the case for some multi-byte |
---|
826 | character encodings, HTTP allows the use of whatever octet sequences are defined by that character encoding to represent the |
---|
827 | equivalent of CR and LF for line breaks. This flexibility regarding line breaks applies only to text media in the payload |
---|
828 | body; a bare CR or LF <em class="bcp14">MUST NOT</em> be substituted for CRLF within any of the HTTP control structures (such as header fields and multipart boundaries). |
---|
829 | </p> |
---|
830 | <p id="rfc.section.2.3.1.p.3">If a representation is encoded with a content-coding, the underlying data <em class="bcp14">MUST</em> be in a form defined above prior to being encoded. |
---|
831 | </p> |
---|
832 | <p id="rfc.section.2.3.1.p.4">The "charset" parameter is used with some media types to define the character encoding (<a href="#character.sets" title="Character Sets">Section 2.1</a>) of the data. When no explicit charset parameter is provided by the sender, media subtypes of the "text" type are defined |
---|
833 | to have a default charset value of "ISO-8859-1" when received via HTTP. Data in character encodings other than "ISO-8859-1" |
---|
834 | or its subsets <em class="bcp14">MUST</em> be labeled with an appropriate charset value. See <a href="#missing.charset" title="Missing Charset">Section 2.1.1</a> for compatibility problems. |
---|
835 | </p> |
---|
836 | <h3 id="rfc.section.2.3.2"><a href="#rfc.section.2.3.2">2.3.2</a> <a id="multipart.types" href="#multipart.types">Multipart Types</a></h3> |
---|
837 | <p id="rfc.section.2.3.2.p.1">MIME provides for a number of "multipart" types -- encapsulations of one or more representations within a single message-body. |
---|
838 | All multipart types share a common syntax, as defined in <a href="http://tools.ietf.org/html/rfc2046#section-5.1.1">Section 5.1.1</a> of <a href="#RFC2046" id="rfc.xref.RFC2046.2"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a>, and <em class="bcp14">MUST</em> include a boundary parameter as part of the media type value. The message body is itself a protocol element and <em class="bcp14">MUST</em> therefore use only CRLF to represent line breaks between body-parts. |
---|
839 | </p> |
---|
840 | <p id="rfc.section.2.3.2.p.2">In general, HTTP treats a multipart message-body no differently than any other media type: strictly as payload. HTTP does |
---|
841 | not use the multipart boundary as an indicator of message-body length. In all other respects, an HTTP user agent <em class="bcp14">SHOULD</em> follow the same or similar behavior as a MIME user agent would upon receipt of a multipart type. The MIME header fields within |
---|
842 | each body-part of a multipart message-body do not have any significance to HTTP beyond that defined by their MIME semantics. |
---|
843 | </p> |
---|
844 | <p id="rfc.section.2.3.2.p.3">If an application receives an unrecognized multipart subtype, the application <em class="bcp14">MUST</em> treat it as being equivalent to "multipart/mixed". |
---|
845 | </p> |
---|
846 | <div class="note" id="rfc.section.2.3.2.p.4"> |
---|
847 | <p> <b>Note:</b> The "multipart/form-data" type has been specifically defined for carrying form data suitable for processing via the POST request |
---|
848 | method, as described in <a href="#RFC2388" id="rfc.xref.RFC2388.1"><cite title="Returning Values from Forms: multipart/form-data">[RFC2388]</cite></a>. |
---|
849 | </p> |
---|
850 | </div> |
---|
851 | <h2 id="rfc.section.2.4"><a href="#rfc.section.2.4">2.4</a> <a id="language.tags" href="#language.tags">Language Tags</a></h2> |
---|
852 | <p id="rfc.section.2.4.p.1">A language tag, as defined in <a href="#RFC5646" id="rfc.xref.RFC5646.1"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a>, identifies a natural language spoken, written, or otherwise conveyed by human beings for communication of information to |
---|
853 | other human beings. Computer languages are explicitly excluded. HTTP uses language tags within the Accept-Language and Content-Language |
---|
854 | fields. |
---|
855 | </p> |
---|
856 | <p id="rfc.section.2.4.p.2">In summary, a language tag is composed of one or more parts: A primary language subtag followed by a possibly empty series |
---|
857 | of subtags: |
---|
858 | </p> |
---|
859 | <div id="rfc.figure.u.10"></div><pre class="inline"><span id="rfc.iref.g.10"></span> <a href="#language.tags" class="smpl">language-tag</a> = <Language-Tag, defined in <a href="#RFC5646" id="rfc.xref.RFC5646.2"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a>, <a href="http://tools.ietf.org/html/rfc5646#section-2.1">Section 2.1</a>> |
---|
860 | </pre><p id="rfc.section.2.4.p.4">White space is not allowed within the tag and all tags are case-insensitive. The name space of language subtags is administered |
---|
861 | by the IANA (see <<a href="http://www.iana.org/assignments/language-subtag-registry">http://www.iana.org/assignments/language-subtag-registry</a>>). |
---|
862 | </p> |
---|
863 | <div id="rfc.figure.u.11"></div> |
---|
864 | <p>Example tags include:</p> <pre class="text"> en, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN |
---|
865 | </pre> <p id="rfc.section.2.4.p.6">See <a href="#RFC5646" id="rfc.xref.RFC5646.3"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a> for further information. |
---|
866 | </p> |
---|
867 | <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a> <a id="representation" href="#representation">Representation</a></h1> |
---|
868 | <p id="rfc.section.3.p.1">Request and Response messages <em class="bcp14">MAY</em> transfer a representation if not otherwise restricted by the request method or response status code. A representation consists |
---|
869 | of entity-header fields and a representation body, although some responses will only include the entity-headers. |
---|
870 | </p> |
---|
871 | <p id="rfc.section.3.p.2">In this section, both sender and recipient refer to either the client or the server, depending on who sends and who receives |
---|
872 | the message. |
---|
873 | </p> |
---|
874 | <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> <a id="entity.header.fields" href="#entity.header.fields">Entity Header Fields</a></h2> |
---|
875 | <p id="rfc.section.3.1.p.1">Entity-header fields define metadata about the representation data enclosed in the message-body or, if no message-body is |
---|
876 | present, about the representation that would have been transferred in a 200 response to a simultaneous GET request on the |
---|
877 | Effective Request URI. |
---|
878 | </p> |
---|
879 | <div id="rfc.figure.u.12"></div><pre class="inline"><span id="rfc.iref.g.11"></span><span id="rfc.iref.g.12"></span> <a href="#entity.header.fields" class="smpl">entity-header</a> = <a href="#header.content-encoding" class="smpl">Content-Encoding</a> ; <a href="#header.content-encoding" id="rfc.xref.header.content-encoding.2" title="Content-Encoding">Section 5.5</a> |
---|
880 | / <a href="#header.content-language" class="smpl">Content-Language</a> ; <a href="#header.content-language" id="rfc.xref.header.content-language.1" title="Content-Language">Section 5.6</a> |
---|
881 | / <a href="#abnf.dependencies" class="smpl">Content-Length</a> ; <a href="#Part1" id="rfc.xref.Part1.17"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#header.content-length" title="Content-Length">Section 9.2</a> |
---|
882 | / <a href="#header.content-location" class="smpl">Content-Location</a> ; <a href="#header.content-location" id="rfc.xref.header.content-location.1" title="Content-Location">Section 5.7</a> |
---|
883 | / <a href="#header.content-md5" class="smpl">Content-MD5</a> ; <a href="#header.content-md5" id="rfc.xref.header.content-md5.1" title="Content-MD5">Section 5.8</a> |
---|
884 | / <a href="#abnf.dependencies" class="smpl">Content-Range</a> ; <a href="#Part5" id="rfc.xref.Part5.2"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>, <a href="p5-range.html#header.content-range" title="Content-Range">Section 5.2</a> |
---|
885 | / <a href="#header.content-type" class="smpl">Content-Type</a> ; <a href="#header.content-type" id="rfc.xref.header.content-type.2" title="Content-Type">Section 5.9</a> |
---|
886 | / <a href="#abnf.dependencies" class="smpl">Expires</a> ; <a href="#Part6" id="rfc.xref.Part6.2"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>, <a href="p6-cache.html#header.expires" title="Expires">Section 3.3</a> |
---|
887 | / <a href="#abnf.dependencies" class="smpl">Last-Modified</a> ; <a href="#Part4" id="rfc.xref.Part4.2"><cite title="HTTP/1.1, part 4: Conditional Requests">[Part4]</cite></a>, <a href="p4-conditional.html#header.last-modified" title="Last-Modified">Section 6.6</a> |
---|
888 | / <a href="#entity.header.fields" class="smpl">extension-header</a> |
---|
889 | |
---|
890 | <a href="#entity.header.fields" class="smpl">extension-header</a> = <a href="#abnf.dependencies" class="smpl">header-field</a> |
---|
891 | </pre><p id="rfc.section.3.1.p.3">The extension-header mechanism allows additional entity-header fields to be defined without changing the protocol, but these |
---|
892 | fields cannot be assumed to be recognizable by the recipient. Unrecognized header fields <em class="bcp14">SHOULD</em> be ignored by the recipient and <em class="bcp14">MUST</em> be forwarded by transparent proxies. |
---|
893 | </p> |
---|
894 | <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> <a id="payload.body" href="#payload.body">Payload Body</a></h2> |
---|
895 | <p id="rfc.section.3.2.p.1">The payload body (if any) sent with an HTTP request or response is in a format and encoding defined by the entity-header fields.</p> |
---|
896 | <p id="rfc.section.3.2.p.2">A payload body is only present in a message when a message-body is present, as described in <a href="p1-messaging.html#message.body" title="Message Body">Section 3.3</a> of <a href="#Part1" id="rfc.xref.Part1.18"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. The payload body is obtained from the message-body by decoding any Transfer-Encoding that might have been applied to ensure |
---|
897 | safe and proper transfer of the message. |
---|
898 | </p> |
---|
899 | <h3 id="rfc.section.3.2.1"><a href="#rfc.section.3.2.1">3.2.1</a> <a id="type" href="#type">Type</a></h3> |
---|
900 | <p id="rfc.section.3.2.1.p.1">When a payload body is included with a message, the data type of that body is determined via the header fields Content-Type |
---|
901 | and Content-Encoding. These define a two-layer, ordered encoding model: |
---|
902 | </p> |
---|
903 | <div id="rfc.figure.u.13"></div><pre class="text"> payload-body := Content-Encoding( Content-Type( data ) ) |
---|
904 | </pre><p id="rfc.section.3.2.1.p.3">Content-Type specifies the media type of the underlying data. Any HTTP/1.1 message containing a payload body <em class="bcp14">SHOULD</em> include a Content-Type header field defining the media type of that body, unless that information is unknown. |
---|
905 | </p> |
---|
906 | <p id="rfc.section.3.2.1.p.4">If the Content-Type header field is not present, it indicates that the sender does not know the media type of the data; recipients <em class="bcp14">MAY</em> either assume that it is "application/octet-stream" (<a href="#RFC2046" id="rfc.xref.RFC2046.3"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a>, <a href="http://tools.ietf.org/html/rfc2046#section-4.5.1">Section 4.5.1</a>) or examine the content to determine its type. |
---|
907 | </p> |
---|
908 | <p id="rfc.section.3.2.1.p.5">In practice, currently-deployed servers sometimes provide a Content-Type header which does not correctly convey the intended |
---|
909 | interpretation of the content sent, with the result that some clients will examine the response body's content and override |
---|
910 | the specified type. |
---|
911 | </p> |
---|
912 | <p id="rfc.section.3.2.1.p.6">Clients that do so risk drawing incorrect conclusions, which may expose additional security risks (e.g., "privilege escalation"). |
---|
913 | Implementers are encouraged to provide a means of disabling such "content sniffing" when it is used. |
---|
914 | </p> |
---|
915 | <p id="rfc.section.3.2.1.p.7">Content-Encoding may be used to indicate any additional content codings applied to the data, usually for the purpose of data |
---|
916 | compression, that are a property of the representation. There is no default encoding. |
---|
917 | </p> |
---|
918 | <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a> <a id="content.negotiation" href="#content.negotiation">Content Negotiation</a></h1> |
---|
919 | <p id="rfc.section.4.p.1">HTTP responses include a representation which contains information for interpretation, whether by a human user or for further |
---|
920 | processing. Often, the server has different ways of representing the same information; for example, in different formats, |
---|
921 | languages, or using different character encodings. |
---|
922 | </p> |
---|
923 | <p id="rfc.section.4.p.2">HTTP clients and their users might have different or variable capabilities, characteristics or preferences which would influence |
---|
924 | which representation, among those available from the server, would be best for the server to deliver. For this reason, HTTP |
---|
925 | provides mechanisms for "content negotiation" -- a process of allowing selection of a representation of a given resource, |
---|
926 | when more than one is available. |
---|
927 | </p> |
---|
928 | <p id="rfc.section.4.p.3">This specification defines two patterns of content negotiation; "server-driven", where the server selects the representation |
---|
929 | based upon the client's stated preferences, and "agent-driven" negotiation, where the server provides a list of representations |
---|
930 | for the client to choose from, based upon their metadata. In addition, there are other patterns: some applications use an |
---|
931 | "active content" pattern, where the server returns active content which runs on the client and, based on client available |
---|
932 | parameters, selects additional resources to invoke. "Transparent Content Negotiation" (<a href="#RFC2295" id="rfc.xref.RFC2295.1"><cite title="Transparent Content Negotiation in HTTP">[RFC2295]</cite></a>) has also been proposed. |
---|
933 | </p> |
---|
934 | <p id="rfc.section.4.p.4">These patterns are all widely used, and have trade-offs in applicability and practicality. In particular, when the number |
---|
935 | of preferences or capabilities to be expressed by a client are large (such as when many different formats are supported by |
---|
936 | a user-agent), server-driven negotiation becomes unwieldy, and may not be appropriate. Conversely, when the number of representations |
---|
937 | to choose from is very large, agent-driven negotiation may not be appropriate. |
---|
938 | </p> |
---|
939 | <p id="rfc.section.4.p.5">Note that in all cases, the supplier of representations has the responsibility for determining which representations might |
---|
940 | be considered to be the "same information". |
---|
941 | </p> |
---|
942 | <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> <a id="server-driven.negotiation" href="#server-driven.negotiation">Server-driven Negotiation</a></h2> |
---|
943 | <p id="rfc.section.4.1.p.1">If the selection of the best representation for a response is made by an algorithm located at the server, it is called server-driven |
---|
944 | negotiation. Selection is based on the available representations of the response (the dimensions over which it can vary; e.g., |
---|
945 | language, content-coding, etc.) and the contents of particular header fields in the request message or on other information |
---|
946 | pertaining to the request (such as the network address of the client). |
---|
947 | </p> |
---|
948 | <p id="rfc.section.4.1.p.2">Server-driven negotiation is advantageous when the algorithm for selecting from among the available representations is difficult |
---|
949 | to describe to the user agent, or when the server desires to send its "best guess" to the client along with the first response |
---|
950 | (hoping to avoid the round-trip delay of a subsequent request if the "best guess" is good enough for the user). In order to |
---|
951 | improve the server's guess, the user agent <em class="bcp14">MAY</em> include request header fields (Accept, Accept-Language, Accept-Encoding, etc.) which describe its preferences for such a response. |
---|
952 | </p> |
---|
953 | <p id="rfc.section.4.1.p.3">Server-driven negotiation has disadvantages: </p> |
---|
954 | <ol> |
---|
955 | <li>It is impossible for the server to accurately determine what might be "best" for any given user, since that would require |
---|
956 | complete knowledge of both the capabilities of the user agent and the intended use for the response (e.g., does the user want |
---|
957 | to view it on screen or print it on paper?). |
---|
958 | </li> |
---|
959 | <li>Having the user agent describe its capabilities in every request can be both very inefficient (given that only a small percentage |
---|
960 | of responses have multiple representations) and a potential violation of the user's privacy. |
---|
961 | </li> |
---|
962 | <li>It complicates the implementation of an origin server and the algorithms for generating responses to a request.</li> |
---|
963 | <li>It may limit a public cache's ability to use the same response for multiple user's requests.</li> |
---|
964 | </ol> |
---|
965 | <p id="rfc.section.4.1.p.4">HTTP/1.1 includes the following request-header fields for enabling server-driven negotiation through description of user agent |
---|
966 | capabilities and user preferences: Accept (<a href="#header.accept" id="rfc.xref.header.accept.2" title="Accept">Section 5.1</a>), Accept-Charset (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.1" title="Accept-Charset">Section 5.2</a>), Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.2" title="Accept-Encoding">Section 5.3</a>), Accept-Language (<a href="#header.accept-language" id="rfc.xref.header.accept-language.1" title="Accept-Language">Section 5.4</a>), and User-Agent (<a href="p2-semantics.html#header.user-agent" title="User-Agent">Section 9.9</a> of <a href="#Part2" id="rfc.xref.Part2.1"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>). However, an origin server is not limited to these dimensions and <em class="bcp14">MAY</em> vary the response based on any aspect of the request, including information outside the request-header fields or within extension |
---|
967 | header fields not defined by this specification. |
---|
968 | </p> |
---|
969 | <div class="note" id="rfc.section.4.1.p.5"> |
---|
970 | <p> <b>Note:</b> In practice, User-Agent based negotiation is fragile, because new clients might not be recognized. |
---|
971 | </p> |
---|
972 | </div> |
---|
973 | <p id="rfc.section.4.1.p.6">The Vary header field (<a href="p6-cache.html#header.vary" title="Vary">Section 3.5</a> of <a href="#Part6" id="rfc.xref.Part6.3"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) can be used to express the parameters the server uses to select a representation that is subject to server-driven negotiation. |
---|
974 | </p> |
---|
975 | <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a> <a id="agent-driven.negotiation" href="#agent-driven.negotiation">Agent-driven Negotiation</a></h2> |
---|
976 | <p id="rfc.section.4.2.p.1">With agent-driven negotiation, selection of the best representation for a response is performed by the user agent after receiving |
---|
977 | an initial response from the origin server. Selection is based on a list of the available representations of the response |
---|
978 | included within the header fields or body of the initial response, with each representation identified by its own URI. Selection |
---|
979 | from among the representations may be performed automatically (if the user agent is capable of doing so) or manually by the |
---|
980 | user selecting from a generated (possibly hypertext) menu. |
---|
981 | </p> |
---|
982 | <p id="rfc.section.4.2.p.2">Agent-driven negotiation is advantageous when the response would vary over commonly-used dimensions (such as type, language, |
---|
983 | or encoding), when the origin server is unable to determine a user agent's capabilities from examining the request, and generally |
---|
984 | when public caches are used to distribute server load and reduce network usage. |
---|
985 | </p> |
---|
986 | <p id="rfc.section.4.2.p.3">Agent-driven negotiation suffers from the disadvantage of needing a second request to obtain the best alternate representation. |
---|
987 | This second request is only efficient when caching is used. In addition, this specification does not define any mechanism |
---|
988 | for supporting automatic selection, though it also does not prevent any such mechanism from being developed as an extension |
---|
989 | and used within HTTP/1.1. |
---|
990 | </p> |
---|
991 | <p id="rfc.section.4.2.p.4">This specification defines the 300 (Multiple Choices) and 406 (Not Acceptable) status codes for enabling agent-driven negotiation |
---|
992 | when the server is unwilling or unable to provide a varying response using server-driven negotiation. |
---|
993 | </p> |
---|
994 | <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a> <a id="header.fields" href="#header.fields">Header Field Definitions</a></h1> |
---|
995 | <p id="rfc.section.5.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to the payload of messages.</p> |
---|
996 | <p id="rfc.section.5.p.2">For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who |
---|
997 | receives the message. |
---|
998 | </p> |
---|
999 | <div id="rfc.iref.a.1"></div> |
---|
1000 | <div id="rfc.iref.h.1"></div> |
---|
1001 | <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> <a id="header.accept" href="#header.accept">Accept</a></h2> |
---|
1002 | <p id="rfc.section.5.1.p.1">The "Accept" request-header field can be used by user agents to specify response media types that are acceptable. Accept headers |
---|
1003 | can be used to indicate that the request is specifically limited to a small set of desired types, as in the case of a request |
---|
1004 | for an in-line image. |
---|
1005 | </p> |
---|
1006 | <div id="rfc.figure.u.14"></div><pre class="inline"><span id="rfc.iref.g.13"></span><span id="rfc.iref.g.14"></span><span id="rfc.iref.g.15"></span><span id="rfc.iref.g.16"></span><span id="rfc.iref.g.17"></span> <a href="#header.accept" class="smpl">Accept</a> = "Accept" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.accept" class="smpl">Accept-v</a> |
---|
1007 | <a href="#header.accept" class="smpl">Accept-v</a> = #( <a href="#header.accept" class="smpl">media-range</a> [ <a href="#header.accept" class="smpl">accept-params</a> ] ) |
---|
1008 | |
---|
1009 | <a href="#header.accept" class="smpl">media-range</a> = ( "*/*" |
---|
1010 | / ( <a href="#media.types" class="smpl">type</a> "/" "*" ) |
---|
1011 | / ( <a href="#media.types" class="smpl">type</a> "/" <a href="#media.types" class="smpl">subtype</a> ) |
---|
1012 | ) *( <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#rule.parameter" class="smpl">parameter</a> ) |
---|
1013 | <a href="#header.accept" class="smpl">accept-params</a> = <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> *( <a href="#header.accept" class="smpl">accept-ext</a> ) |
---|
1014 | <a href="#header.accept" class="smpl">accept-ext</a> = <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#core.rules" class="smpl">token</a> |
---|
1015 | [ "=" <a href="#core.rules" class="smpl">word</a> ] |
---|
1016 | </pre><p id="rfc.section.5.1.p.3">The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "type/*" indicating |
---|
1017 | all subtypes of that type. The media-range <em class="bcp14">MAY</em> include media type parameters that are applicable to that range. |
---|
1018 | </p> |
---|
1019 | <p id="rfc.section.5.1.p.4">Each media-range <em class="bcp14">MAY</em> be followed by one or more accept-params, beginning with the "q" parameter for indicating a relative quality factor. The first |
---|
1020 | "q" parameter (if any) separates the media-range parameter(s) from the accept-params. Quality factors allow the user or user |
---|
1021 | agent to indicate the relative degree of preference for that media-range, using the qvalue scale from 0 to 1 (<a href="p1-messaging.html#quality.values" title="Quality Values">Section 6.4</a> of <a href="#Part1" id="rfc.xref.Part1.19"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). The default value is q=1. |
---|
1022 | </p> |
---|
1023 | <div class="note" id="rfc.section.5.1.p.5"> |
---|
1024 | <p> <b>Note:</b> Use of the "q" parameter name to separate media type parameters from Accept extension parameters is due to historical practice. |
---|
1025 | Although this prevents any media type parameter named "q" from being used with a media range, such an event is believed to |
---|
1026 | be unlikely given the lack of any "q" parameters in the IANA media type registry and the rare usage of any media type parameters |
---|
1027 | in Accept. Future media types are discouraged from registering any parameter named "q". |
---|
1028 | </p> |
---|
1029 | </div> |
---|
1030 | <p id="rfc.section.5.1.p.6">The example</p> |
---|
1031 | <div id="rfc.figure.u.15"></div><pre class="text"> Accept: audio/*; q=0.2, audio/basic |
---|
1032 | </pre><p id="rfc.section.5.1.p.8"> <em class="bcp14">SHOULD</em> be interpreted as "I prefer audio/basic, but send me any audio type if it is the best available after an 80% mark-down in |
---|
1033 | quality." |
---|
1034 | </p> |
---|
1035 | <p id="rfc.section.5.1.p.9">If no Accept header field is present, then it is assumed that the client accepts all media types. If an Accept header field |
---|
1036 | is present, and if the server cannot send a response which is acceptable according to the combined Accept field value, then |
---|
1037 | the server <em class="bcp14">SHOULD</em> send a 406 (Not Acceptable) response. |
---|
1038 | </p> |
---|
1039 | <p id="rfc.section.5.1.p.10">A more elaborate example is</p> |
---|
1040 | <div id="rfc.figure.u.16"></div><pre class="text"> Accept: text/plain; q=0.5, text/html, |
---|
1041 | text/x-dvi; q=0.8, text/x-c |
---|
1042 | </pre><p id="rfc.section.5.1.p.12">Verbally, this would be interpreted as "text/html and text/x-c are the preferred media types, but if they do not exist, then |
---|
1043 | send the text/x-dvi representation, and if that does not exist, send the text/plain representation." |
---|
1044 | </p> |
---|
1045 | <p id="rfc.section.5.1.p.13">Media ranges can be overridden by more specific media ranges or specific media types. If more than one media range applies |
---|
1046 | to a given type, the most specific reference has precedence. For example, |
---|
1047 | </p> |
---|
1048 | <div id="rfc.figure.u.17"></div><pre class="text"> Accept: text/*, text/html, text/html;level=1, */* |
---|
1049 | </pre><p id="rfc.section.5.1.p.15">have the following precedence: </p> |
---|
1050 | <ol> |
---|
1051 | <li>text/html;level=1</li> |
---|
1052 | <li>text/html</li> |
---|
1053 | <li>text/*</li> |
---|
1054 | <li>*/*</li> |
---|
1055 | </ol> |
---|
1056 | <p id="rfc.section.5.1.p.16">The media type quality factor associated with a given type is determined by finding the media range with the highest precedence |
---|
1057 | which matches that type. For example, |
---|
1058 | </p> |
---|
1059 | <div id="rfc.figure.u.18"></div><pre class="text"> Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1, |
---|
1060 | text/html;level=2;q=0.4, */*;q=0.5 |
---|
1061 | </pre><p id="rfc.section.5.1.p.18">would cause the following values to be associated:</p> |
---|
1062 | <div id="rfc.table.u.1"> |
---|
1063 | <table class="tt full left" cellpadding="3" cellspacing="0"> |
---|
1064 | <thead> |
---|
1065 | <tr> |
---|
1066 | <th>Media Type</th> |
---|
1067 | <th>Quality Value</th> |
---|
1068 | </tr> |
---|
1069 | </thead> |
---|
1070 | <tbody> |
---|
1071 | <tr> |
---|
1072 | <td class="left">text/html;level=1</td> |
---|
1073 | <td class="left">1</td> |
---|
1074 | </tr> |
---|
1075 | <tr> |
---|
1076 | <td class="left">text/html</td> |
---|
1077 | <td class="left">0.7</td> |
---|
1078 | </tr> |
---|
1079 | <tr> |
---|
1080 | <td class="left">text/plain</td> |
---|
1081 | <td class="left">0.3</td> |
---|
1082 | </tr> |
---|
1083 | <tr> |
---|
1084 | <td class="left">image/jpeg</td> |
---|
1085 | <td class="left">0.5</td> |
---|
1086 | </tr> |
---|
1087 | <tr> |
---|
1088 | <td class="left">text/html;level=2</td> |
---|
1089 | <td class="left">0.4</td> |
---|
1090 | </tr> |
---|
1091 | <tr> |
---|
1092 | <td class="left">text/html;level=3</td> |
---|
1093 | <td class="left">0.7</td> |
---|
1094 | </tr> |
---|
1095 | </tbody> |
---|
1096 | </table> |
---|
1097 | </div> |
---|
1098 | <p id="rfc.section.5.1.p.19"> <b>Note:</b> A user agent might be provided with a default set of quality values for certain media ranges. However, unless the user agent |
---|
1099 | is a closed system which cannot interact with other rendering agents, this default set ought to be configurable by the user. |
---|
1100 | </p> |
---|
1101 | <div id="rfc.iref.a.2"></div> |
---|
1102 | <div id="rfc.iref.h.2"></div> |
---|
1103 | <h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="header.accept-charset" href="#header.accept-charset">Accept-Charset</a></h2> |
---|
1104 | <p id="rfc.section.5.2.p.1">The "Accept-Charset" request-header field can be used by user agents to indicate what response character sets are acceptable. |
---|
1105 | This field allows clients capable of understanding more comprehensive or special-purpose character sets to signal that capability |
---|
1106 | to a server which is capable of representing documents in those character sets. |
---|
1107 | </p> |
---|
1108 | <div id="rfc.figure.u.19"></div><pre class="inline"><span id="rfc.iref.g.18"></span><span id="rfc.iref.g.19"></span> <a href="#header.accept-charset" class="smpl">Accept-Charset</a> = "Accept-Charset" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
1109 | <a href="#header.accept-charset" class="smpl">Accept-Charset-v</a> |
---|
1110 | <a href="#header.accept-charset" class="smpl">Accept-Charset-v</a> = 1#( ( <a href="#rule.charset" class="smpl">charset</a> / "*" ) |
---|
1111 | [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) |
---|
1112 | </pre><p id="rfc.section.5.2.p.3">Character set values are described in <a href="#character.sets" title="Character Sets">Section 2.1</a>. Each charset <em class="bcp14">MAY</em> be given an associated quality value which represents the user's preference for that charset. The default value is q=1. An |
---|
1113 | example is |
---|
1114 | </p> |
---|
1115 | <div id="rfc.figure.u.20"></div><pre class="text"> Accept-Charset: iso-8859-5, unicode-1-1;q=0.8 |
---|
1116 | </pre><p id="rfc.section.5.2.p.5">The special value "*", if present in the Accept-Charset field, matches every character set (including ISO-8859-1) which is |
---|
1117 | not mentioned elsewhere in the Accept-Charset field. If no "*" is present in an Accept-Charset field, then all character sets |
---|
1118 | not explicitly mentioned get a quality value of 0, except for ISO-8859-1, which gets a quality value of 1 if not explicitly |
---|
1119 | mentioned. |
---|
1120 | </p> |
---|
1121 | <p id="rfc.section.5.2.p.6">If no Accept-Charset header is present, the default is that any character set is acceptable. If an Accept-Charset header is |
---|
1122 | present, and if the server cannot send a response which is acceptable according to the Accept-Charset header, then the server <em class="bcp14">SHOULD</em> send an error response with the 406 (Not Acceptable) status code, though the sending of an unacceptable response is also allowed. |
---|
1123 | </p> |
---|
1124 | <div id="rfc.iref.a.3"></div> |
---|
1125 | <div id="rfc.iref.h.3"></div> |
---|
1126 | <h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> <a id="header.accept-encoding" href="#header.accept-encoding">Accept-Encoding</a></h2> |
---|
1127 | <p id="rfc.section.5.3.p.1">The "Accept-Encoding" request-header field can be used by user agents to indicate what response content-codings (<a href="#content.codings" title="Content Codings">Section 2.2</a>) are acceptable in the response. |
---|
1128 | </p> |
---|
1129 | <div id="rfc.figure.u.21"></div><pre class="inline"><span id="rfc.iref.g.20"></span><span id="rfc.iref.g.21"></span><span id="rfc.iref.g.22"></span> <a href="#header.accept-encoding" class="smpl">Accept-Encoding</a> = "Accept-Encoding" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
1130 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding-v</a> |
---|
1131 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding-v</a> = |
---|
1132 | #( <a href="#header.accept-encoding" class="smpl">codings</a> [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) |
---|
1133 | <a href="#header.accept-encoding" class="smpl">codings</a> = ( <a href="#content.codings" class="smpl">content-coding</a> / "*" ) |
---|
1134 | </pre><p id="rfc.section.5.3.p.3">Each codings value <em class="bcp14">MAY</em> be given an associated quality value which represents the preference for that encoding. The default value is q=1. |
---|
1135 | </p> |
---|
1136 | <p id="rfc.section.5.3.p.4">Examples of its use are:</p> |
---|
1137 | <div id="rfc.figure.u.22"></div><pre class="text"> Accept-Encoding: compress, gzip |
---|
1138 | Accept-Encoding: |
---|
1139 | Accept-Encoding: * |
---|
1140 | Accept-Encoding: compress;q=0.5, gzip;q=1.0 |
---|
1141 | Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0 |
---|
1142 | </pre><p id="rfc.section.5.3.p.6">A server tests whether a content-coding is acceptable, according to an Accept-Encoding field, using these rules: </p> |
---|
1143 | <ol> |
---|
1144 | <li>If the content-coding is one of the content-codings listed in the Accept-Encoding field, then it is acceptable, unless it |
---|
1145 | is accompanied by a qvalue of 0. (As defined in <a href="p1-messaging.html#quality.values" title="Quality Values">Section 6.4</a> of <a href="#Part1" id="rfc.xref.Part1.20"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, a qvalue of 0 means "not acceptable.") |
---|
1146 | </li> |
---|
1147 | <li>The special "*" symbol in an Accept-Encoding field matches any available content-coding not explicitly listed in the header |
---|
1148 | field. |
---|
1149 | </li> |
---|
1150 | <li>If multiple content-codings are acceptable, then the acceptable content-coding with the highest non-zero qvalue is preferred.</li> |
---|
1151 | <li>The "identity" content-coding is always acceptable, unless specifically refused because the Accept-Encoding field includes |
---|
1152 | "identity;q=0", or because the field includes "*;q=0" and does not explicitly include the "identity" content-coding. If the |
---|
1153 | Accept-Encoding field-value is empty, then only the "identity" encoding is acceptable. |
---|
1154 | </li> |
---|
1155 | </ol> |
---|
1156 | <p id="rfc.section.5.3.p.7">If an Accept-Encoding field is present in a request, and if the server cannot send a response which is acceptable according |
---|
1157 | to the Accept-Encoding header, then the server <em class="bcp14">SHOULD</em> send an error response with the 406 (Not Acceptable) status code. |
---|
1158 | </p> |
---|
1159 | <p id="rfc.section.5.3.p.8">If no Accept-Encoding field is present in a request, the server <em class="bcp14">MAY</em> assume that the client will accept any content coding. In this case, if "identity" is one of the available content-codings, |
---|
1160 | then the server <em class="bcp14">SHOULD</em> use the "identity" content-coding, unless it has additional information that a different content-coding is meaningful to the |
---|
1161 | client. |
---|
1162 | </p> |
---|
1163 | <div class="note" id="rfc.section.5.3.p.9"> |
---|
1164 | <p> <b>Note:</b> If the request does not include an Accept-Encoding field, and if the "identity" content-coding is unavailable, then content-codings |
---|
1165 | commonly understood by HTTP/1.0 clients (i.e., "gzip" and "compress") are preferred; some older clients improperly display |
---|
1166 | messages sent with other content-codings. The server might also make this decision based on information about the particular |
---|
1167 | user-agent or client. |
---|
1168 | </p> |
---|
1169 | </div> |
---|
1170 | <div class="note" id="rfc.section.5.3.p.10"> |
---|
1171 | <p> <b>Note:</b> Most HTTP/1.0 applications do not recognize or obey qvalues associated with content-codings. This means that qvalues will |
---|
1172 | not work and are not permitted with x-gzip or x-compress. |
---|
1173 | </p> |
---|
1174 | </div> |
---|
1175 | <div id="rfc.iref.a.4"></div> |
---|
1176 | <div id="rfc.iref.h.4"></div> |
---|
1177 | <h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> <a id="header.accept-language" href="#header.accept-language">Accept-Language</a></h2> |
---|
1178 | <p id="rfc.section.5.4.p.1">The "Accept-Language" request-header field can be used by user agents to indicate the set of natural languages that are preferred |
---|
1179 | in the response. Language tags are defined in <a href="#language.tags" title="Language Tags">Section 2.4</a>. |
---|
1180 | </p> |
---|
1181 | <div id="rfc.figure.u.23"></div><pre class="inline"><span id="rfc.iref.g.23"></span><span id="rfc.iref.g.24"></span><span id="rfc.iref.g.25"></span> <a href="#header.accept-language" class="smpl">Accept-Language</a> = "Accept-Language" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
1182 | <a href="#header.accept-language" class="smpl">Accept-Language-v</a> |
---|
1183 | <a href="#header.accept-language" class="smpl">Accept-Language-v</a> = |
---|
1184 | 1#( <a href="#header.accept-language" class="smpl">language-range</a> [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) |
---|
1185 | <a href="#header.accept-language" class="smpl">language-range</a> = |
---|
1186 | <language-range, defined in <a href="#RFC4647" id="rfc.xref.RFC4647.1"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, <a href="http://tools.ietf.org/html/rfc4647#section-2.1">Section 2.1</a>> |
---|
1187 | </pre><p id="rfc.section.5.4.p.3">Each language-range can be given an associated quality value which represents an estimate of the user's preference for the |
---|
1188 | languages specified by that range. The quality value defaults to "q=1". For example, |
---|
1189 | </p> |
---|
1190 | <div id="rfc.figure.u.24"></div><pre class="text"> Accept-Language: da, en-gb;q=0.8, en;q=0.7 |
---|
1191 | </pre><p id="rfc.section.5.4.p.5">would mean: "I prefer Danish, but will accept British English and other types of English." (see also <a href="http://tools.ietf.org/html/rfc4647#section-2.3">Section 2.3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.2"><cite title="Matching of Language Tags">[RFC4647]</cite></a>) |
---|
1192 | </p> |
---|
1193 | <p id="rfc.section.5.4.p.6">For matching, <a href="http://tools.ietf.org/html/rfc4647#section-3">Section 3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.3"><cite title="Matching of Language Tags">[RFC4647]</cite></a> defines several matching schemes. Implementations can offer the most appropriate matching scheme for their requirements. |
---|
1194 | </p> |
---|
1195 | <div class="note" id="rfc.section.5.4.p.7"> |
---|
1196 | <p> <b>Note:</b> The "Basic Filtering" scheme (<a href="#RFC4647" id="rfc.xref.RFC4647.4"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, <a href="http://tools.ietf.org/html/rfc4647#section-3.3.1">Section 3.3.1</a>) is identical to the matching scheme that was previously defined in <a href="http://tools.ietf.org/html/rfc2616#section-14.4">Section 14.4</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. |
---|
1197 | </p> |
---|
1198 | </div> |
---|
1199 | <p id="rfc.section.5.4.p.8">It might be contrary to the privacy expectations of the user to send an Accept-Language header with the complete linguistic |
---|
1200 | preferences of the user in every request. For a discussion of this issue, see <a href="#privacy.issues.connected.to.accept.headers" title="Privacy Issues Connected to Accept Headers">Section 7.1</a>. |
---|
1201 | </p> |
---|
1202 | <p id="rfc.section.5.4.p.9">As intelligibility is highly dependent on the individual user, it is recommended that client applications make the choice |
---|
1203 | of linguistic preference available to the user. If the choice is not made available, then the Accept-Language header field <em class="bcp14">MUST NOT</em> be given in the request. |
---|
1204 | </p> |
---|
1205 | <div class="note" id="rfc.section.5.4.p.10"> |
---|
1206 | <p> <b>Note:</b> When making the choice of linguistic preference available to the user, we remind implementors of the fact that users are not |
---|
1207 | familiar with the details of language matching as described above, and should provide appropriate guidance. As an example, |
---|
1208 | users might assume that on selecting "en-gb", they will be served any kind of English document if British English is not available. |
---|
1209 | A user agent might suggest in such a case to add "en" to get the best matching behavior. |
---|
1210 | </p> |
---|
1211 | </div> |
---|
1212 | <div id="rfc.iref.c.7"></div> |
---|
1213 | <div id="rfc.iref.h.5"></div> |
---|
1214 | <h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> <a id="header.content-encoding" href="#header.content-encoding">Content-Encoding</a></h2> |
---|
1215 | <p id="rfc.section.5.5.p.1">The "Content-Encoding" entity-header field indicates what content-codings have been applied to the representation, and thus |
---|
1216 | what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type header field. Content-Encoding |
---|
1217 | is primarily used to allow a representation to be compressed without losing the identity of its underlying media type. |
---|
1218 | </p> |
---|
1219 | <div id="rfc.figure.u.25"></div><pre class="inline"><span id="rfc.iref.g.26"></span><span id="rfc.iref.g.27"></span> <a href="#header.content-encoding" class="smpl">Content-Encoding</a> = "Content-Encoding" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-encoding" class="smpl">Content-Encoding-v</a> |
---|
1220 | <a href="#header.content-encoding" class="smpl">Content-Encoding-v</a> = 1#<a href="#content.codings" class="smpl">content-coding</a> |
---|
1221 | </pre><p id="rfc.section.5.5.p.3">Content codings are defined in <a href="#content.codings" title="Content Codings">Section 2.2</a>. An example of its use is |
---|
1222 | </p> |
---|
1223 | <div id="rfc.figure.u.26"></div><pre class="text"> Content-Encoding: gzip |
---|
1224 | </pre><p id="rfc.section.5.5.p.5">The content-coding is a characteristic of the representation. Typically, the representation body is stored with this encoding |
---|
1225 | and is only decoded before rendering or analogous usage. However, a non-transparent proxy <em class="bcp14">MAY</em> modify the content-coding if the new coding is known to be acceptable to the recipient, unless the "no-transform" cache-control |
---|
1226 | directive is present in the message. |
---|
1227 | </p> |
---|
1228 | <p id="rfc.section.5.5.p.6">If the content-coding of a representation is not "identity", then the representation metadata <em class="bcp14">MUST</em> include a Content-Encoding header field (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.3" title="Content-Encoding">Section 5.5</a>) that lists the non-identity content-coding(s) used. |
---|
1229 | </p> |
---|
1230 | <p id="rfc.section.5.5.p.7">If the content-coding of a representation in a request message is not acceptable to the origin server, the server <em class="bcp14">SHOULD</em> respond with a status code of 415 (Unsupported Media Type). |
---|
1231 | </p> |
---|
1232 | <p id="rfc.section.5.5.p.8">If multiple encodings have been applied to a representation, the content codings <em class="bcp14">MUST</em> be listed in the order in which they were applied. Additional information about the encoding parameters <em class="bcp14">MAY</em> be provided by other header fields not defined by this specification. |
---|
1233 | </p> |
---|
1234 | <div id="rfc.iref.c.8"></div> |
---|
1235 | <div id="rfc.iref.h.6"></div> |
---|
1236 | <h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> <a id="header.content-language" href="#header.content-language">Content-Language</a></h2> |
---|
1237 | <p id="rfc.section.5.6.p.1">The "Content-Language" entity-header field describes the natural language(s) of the intended audience for the representation. |
---|
1238 | Note that this might not be equivalent to all the languages used within the representation. |
---|
1239 | </p> |
---|
1240 | <div id="rfc.figure.u.27"></div><pre class="inline"><span id="rfc.iref.g.28"></span><span id="rfc.iref.g.29"></span> <a href="#header.content-language" class="smpl">Content-Language</a> = "Content-Language" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-language" class="smpl">Content-Language-v</a> |
---|
1241 | <a href="#header.content-language" class="smpl">Content-Language-v</a> = 1#<a href="#language.tags" class="smpl">language-tag</a> |
---|
1242 | </pre><p id="rfc.section.5.6.p.3">Language tags are defined in <a href="#language.tags" title="Language Tags">Section 2.4</a>. The primary purpose of Content-Language is to allow a user to identify and differentiate representations according to the |
---|
1243 | user's own preferred language. Thus, if the body content is intended only for a Danish-literate audience, the appropriate |
---|
1244 | field is |
---|
1245 | </p> |
---|
1246 | <div id="rfc.figure.u.28"></div><pre class="text"> Content-Language: da |
---|
1247 | </pre><p id="rfc.section.5.6.p.5">If no Content-Language is specified, the default is that the content is intended for all language audiences. This might mean |
---|
1248 | that the sender does not consider it to be specific to any natural language, or that the sender does not know for which language |
---|
1249 | it is intended. |
---|
1250 | </p> |
---|
1251 | <p id="rfc.section.5.6.p.6">Multiple languages <em class="bcp14">MAY</em> be listed for content that is intended for multiple audiences. For example, a rendition of the "Treaty of Waitangi," presented |
---|
1252 | simultaneously in the original Maori and English versions, would call for |
---|
1253 | </p> |
---|
1254 | <div id="rfc.figure.u.29"></div><pre class="text"> Content-Language: mi, en |
---|
1255 | </pre><p id="rfc.section.5.6.p.8">However, just because multiple languages are present within a representation does not mean that it is intended for multiple |
---|
1256 | linguistic audiences. An example would be a beginner's language primer, such as "A First Lesson in Latin," which is clearly |
---|
1257 | intended to be used by an English-literate audience. In this case, the Content-Language would properly only include "en". |
---|
1258 | </p> |
---|
1259 | <p id="rfc.section.5.6.p.9">Content-Language <em class="bcp14">MAY</em> be applied to any media type -- it is not limited to textual documents. |
---|
1260 | </p> |
---|
1261 | <div id="rfc.iref.c.9"></div> |
---|
1262 | <div id="rfc.iref.h.7"></div> |
---|
1263 | <h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> <a id="header.content-location" href="#header.content-location">Content-Location</a></h2> |
---|
1264 | <p id="rfc.section.5.7.p.1">The "Content-Location" header field supplies a URI that can be used as a specific identifier for the representation in this |
---|
1265 | message. In other words, if one were to perform a GET on this URI at the time of this message's generation, then a 200 response |
---|
1266 | would contain the same representation that is enclosed as payload in this message. |
---|
1267 | </p> |
---|
1268 | <div id="rfc.figure.u.30"></div><pre class="inline"><span id="rfc.iref.g.30"></span><span id="rfc.iref.g.31"></span> <a href="#header.content-location" class="smpl">Content-Location</a> = "Content-Location" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
1269 | <a href="#header.content-location" class="smpl">Content-Location-v</a> |
---|
1270 | <a href="#header.content-location" class="smpl">Content-Location-v</a> = |
---|
1271 | <a href="#abnf.dependencies" class="smpl">absolute-URI</a> / <a href="#abnf.dependencies" class="smpl">partial-URI</a> |
---|
1272 | </pre><p id="rfc.section.5.7.p.3">The Content-Location value is not a replacement for the Effective Request URI (<a href="p1-messaging.html#effective.request.uri" title="Effective Request URI">Section 4.3</a> of <a href="#Part1" id="rfc.xref.Part1.21"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). It is representation metadata. It has the same syntax and semantics as the header field of the same name defined for MIME |
---|
1273 | body parts in <a href="http://tools.ietf.org/html/rfc2557#section-4">Section 4</a> of <a href="#RFC2557" id="rfc.xref.RFC2557.1"><cite title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">[RFC2557]</cite></a>. However, its appearance in an HTTP message has some special implications for HTTP recipients. |
---|
1274 | </p> |
---|
1275 | <p id="rfc.section.5.7.p.4">If Content-Location is included in a response message and its value is the same as the Effective Request URI, then the response |
---|
1276 | payload <em class="bcp14">SHOULD</em> be considered the current representation of that resource. For a GET or HEAD request, this is the same as the default semantics |
---|
1277 | when no Content-Location is provided by the server. For a state-changing method like PUT or POST, it implies that the server's |
---|
1278 | response contains the new representation of that resource, thereby distinguishing it from representations that might only |
---|
1279 | report about the action (e.g., "It worked!"). This allows authoring applications to update their local copies without the |
---|
1280 | need for a subsequent GET request. |
---|
1281 | </p> |
---|
1282 | <p id="rfc.section.5.7.p.5">If Content-Location is included in a response message and its value differs from the Effective Request URI, then the origin |
---|
1283 | server is informing recipients that this representation has its own, presumably more specific, identifier. For a GET or HEAD |
---|
1284 | request, this is an indication that the Effective Request URI identifies a resource that is subject to content negotiation |
---|
1285 | and the representation selected for this response can also be found at the identified URI. For other methods, such a Content-Location |
---|
1286 | indicates that this representation contains a report on the action's status and the same report is available (for future access |
---|
1287 | with GET) at the given URI. For example, a purchase transaction made via the POST method may include a receipt document as |
---|
1288 | the payload of the 200 response; the Content-Location value provides an identifier for retrieving a copy of that same receipt |
---|
1289 | in the future. |
---|
1290 | </p> |
---|
1291 | <p id="rfc.section.5.7.p.6">If Content-Location is included in a request message, then it <em class="bcp14">MAY</em> be interpreted by the origin server as an indication of where the user agent originally obtained the content of the enclosed |
---|
1292 | representation (prior to any subsequent modification of the content by that user agent). In other words, the user agent is |
---|
1293 | providing the same representation metadata that it received with the original representation. However, such interpretation <em class="bcp14">MUST NOT</em> be used to alter the semantics of the method requested by the client. For example, if a client makes a PUT request on a negotiated |
---|
1294 | resource and the origin server accepts that PUT (without redirection), then the new set of values for that resource is expected |
---|
1295 | to be consistent with the one representation supplied in that PUT; the Content-Location cannot be used as a form of reverse |
---|
1296 | content selection that identifies only one of the negotiated representations to be updated. If the user agent had wanted the |
---|
1297 | latter semantics, it would have applied the PUT directly to the Content-Location URI. |
---|
1298 | </p> |
---|
1299 | <p id="rfc.section.5.7.p.7">A Content-Location field received in a request message is transitory information that <em class="bcp14">SHOULD NOT</em> be saved with other representation metadata for use in later responses. The Content-Location's value might be saved for use |
---|
1300 | in other contexts, such as within source links or other metadata. |
---|
1301 | </p> |
---|
1302 | <p id="rfc.section.5.7.p.8">A cache cannot assume that a representation with a Content-Location different from the URI used to retrieve it can be used |
---|
1303 | to respond to later requests on that Content-Location URI. |
---|
1304 | </p> |
---|
1305 | <p id="rfc.section.5.7.p.9">If the Content-Location value is a partial URI, it is interpreted relative to the Effective Request URI.</p> |
---|
1306 | <div id="rfc.iref.c.10"></div> |
---|
1307 | <div id="rfc.iref.h.8"></div> |
---|
1308 | <h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> <a id="header.content-md5" href="#header.content-md5">Content-MD5</a></h2> |
---|
1309 | <p id="rfc.section.5.8.p.1">The "Content-MD5" entity-header field, as defined in <a href="#RFC1864" id="rfc.xref.RFC1864.1"><cite title="The Content-MD5 Header Field">[RFC1864]</cite></a>, is an MD5 digest of the payload body that provides an end-to-end message integrity check (MIC) of the payload body (the |
---|
1310 | message-body after any transfer-coding is decoded). Note that a MIC is good for detecting accidental modification of the payload |
---|
1311 | body in transit, but is not proof against malicious attacks. |
---|
1312 | </p> |
---|
1313 | <div id="rfc.figure.u.31"></div><pre class="inline"><span id="rfc.iref.g.32"></span><span id="rfc.iref.g.33"></span> <a href="#header.content-md5" class="smpl">Content-MD5</a> = "Content-MD5" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-md5" class="smpl">Content-MD5-v</a> |
---|
1314 | <a href="#header.content-md5" class="smpl">Content-MD5-v</a> = <base64 of 128 bit MD5 digest as per <a href="#RFC1864" id="rfc.xref.RFC1864.2"><cite title="The Content-MD5 Header Field">[RFC1864]</cite></a>> |
---|
1315 | </pre><p id="rfc.section.5.8.p.3">The Content-MD5 header field <em class="bcp14">MAY</em> be generated by an origin server or client to function as an integrity check of the payload body. Only origin servers or user |
---|
1316 | agents <em class="bcp14">MAY</em> generate the Content-MD5 header field; proxies and gateways <em class="bcp14">MUST NOT</em> generate it, as this would defeat its value as an end-to-end integrity check. Any recipient <em class="bcp14">MAY</em> check that the digest value in this header field matches a corresponding digest calculated on payload body as received. |
---|
1317 | </p> |
---|
1318 | <p id="rfc.section.5.8.p.4">The MD5 digest is computed based on the content of the payload body, including any content-coding, but not including any transfer-coding |
---|
1319 | applied to the message-body because such transfer-codings might be applied or removed anywhere along the request/response |
---|
1320 | chain. If the message is received with a transfer-coding, that encoding <em class="bcp14">MUST</em> be decoded prior to checking the Content-MD5 value against the received payload. |
---|
1321 | </p> |
---|
1322 | <p id="rfc.section.5.8.p.5">HTTP extends RFC 1864 to permit the digest to be computed for MIME composite media-types (e.g., multipart/* and message/rfc822), |
---|
1323 | but this does not change how the digest is computed as defined in the preceding paragraph. |
---|
1324 | </p> |
---|
1325 | <p id="rfc.section.5.8.p.6">There are several consequences of this. The payload for composite types <em class="bcp14">MAY</em> contain many body-parts, each with its own MIME and HTTP headers (including Content-MD5, Content-Transfer-Encoding, and Content-Encoding |
---|
1326 | headers). If a body-part has a Content-Transfer-Encoding or Content-Encoding header, it is assumed that the content of the |
---|
1327 | body-part has had the encoding applied, and the body-part is included in the Content-MD5 digest as is -- i.e., after the application. |
---|
1328 | The Transfer-Encoding header field is not allowed within body-parts. |
---|
1329 | </p> |
---|
1330 | <p id="rfc.section.5.8.p.7">Conversion of all line breaks to CRLF <em class="bcp14">MUST NOT</em> be done before computing or checking the digest: the line break convention used in the text actually transmitted <em class="bcp14">MUST</em> be left unaltered when computing the digest. |
---|
1331 | </p> |
---|
1332 | <div class="note" id="rfc.section.5.8.p.8"> |
---|
1333 | <p> <b>Note:</b> While the definition of Content-MD5 is exactly the same for HTTP as in RFC 1864 for MIME entity-bodies, there are several |
---|
1334 | ways in which the application of Content-MD5 to HTTP entity-bodies differs from its application to MIME entity-bodies. One |
---|
1335 | is that HTTP, unlike MIME, does not use Content-Transfer-Encoding, and does use Transfer-Encoding and Content-Encoding. Another |
---|
1336 | is that HTTP more frequently uses binary content types than MIME, so it is worth noting that, in such cases, the byte order |
---|
1337 | used to compute the digest is the transmission byte order defined for the type. Lastly, HTTP allows transmission of text types |
---|
1338 | with any of several line break conventions and not just the canonical form using CRLF. |
---|
1339 | </p> |
---|
1340 | </div> |
---|
1341 | <div id="rfc.iref.c.11"></div> |
---|
1342 | <div id="rfc.iref.h.9"></div> |
---|
1343 | <h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> <a id="header.content-type" href="#header.content-type">Content-Type</a></h2> |
---|
1344 | <p id="rfc.section.5.9.p.1">The "Content-Type" entity-header field indicates the media type of the representation. In the case of responses to the HEAD |
---|
1345 | method, the media type is that which would have been sent had the request been a GET. |
---|
1346 | </p> |
---|
1347 | <div id="rfc.figure.u.32"></div><pre class="inline"><span id="rfc.iref.g.34"></span><span id="rfc.iref.g.35"></span> <a href="#header.content-type" class="smpl">Content-Type</a> = "Content-Type" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-type" class="smpl">Content-Type-v</a> |
---|
1348 | <a href="#header.content-type" class="smpl">Content-Type-v</a> = <a href="#media.types" class="smpl">media-type</a> |
---|
1349 | </pre><p id="rfc.section.5.9.p.3">Media types are defined in <a href="#media.types" title="Media Types">Section 2.3</a>. An example of the field is |
---|
1350 | </p> |
---|
1351 | <div id="rfc.figure.u.33"></div><pre class="text"> Content-Type: text/html; charset=ISO-8859-4 |
---|
1352 | </pre><p id="rfc.section.5.9.p.5">Further discussion of methods for identifying the media type of a representation is provided in <a href="#type" title="Type">Section 3.2.1</a>. |
---|
1353 | </p> |
---|
1354 | <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a> <a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1> |
---|
1355 | <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a> <a id="message.header.registration" href="#message.header.registration">Message Header Registration</a></h2> |
---|
1356 | <p id="rfc.section.6.1.p.1">The Message Header Registry located at <<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>> should be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>): |
---|
1357 | </p> |
---|
1358 | <div id="rfc.table.1"> |
---|
1359 | <div id="iana.header.registration.table"></div> |
---|
1360 | <table class="tt full left" cellpadding="3" cellspacing="0"> |
---|
1361 | <thead> |
---|
1362 | <tr> |
---|
1363 | <th>Header Field Name</th> |
---|
1364 | <th>Protocol</th> |
---|
1365 | <th>Status</th> |
---|
1366 | <th>Reference</th> |
---|
1367 | </tr> |
---|
1368 | </thead> |
---|
1369 | <tbody> |
---|
1370 | <tr> |
---|
1371 | <td class="left">Accept</td> |
---|
1372 | <td class="left">http</td> |
---|
1373 | <td class="left">standard</td> |
---|
1374 | <td class="left"> <a href="#header.accept" id="rfc.xref.header.accept.3" title="Accept">Section 5.1</a> |
---|
1375 | </td> |
---|
1376 | </tr> |
---|
1377 | <tr> |
---|
1378 | <td class="left">Accept-Charset</td> |
---|
1379 | <td class="left">http</td> |
---|
1380 | <td class="left">standard</td> |
---|
1381 | <td class="left"> <a href="#header.accept-charset" id="rfc.xref.header.accept-charset.2" title="Accept-Charset">Section 5.2</a> |
---|
1382 | </td> |
---|
1383 | </tr> |
---|
1384 | <tr> |
---|
1385 | <td class="left">Accept-Encoding</td> |
---|
1386 | <td class="left">http</td> |
---|
1387 | <td class="left">standard</td> |
---|
1388 | <td class="left"> <a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.3" title="Accept-Encoding">Section 5.3</a> |
---|
1389 | </td> |
---|
1390 | </tr> |
---|
1391 | <tr> |
---|
1392 | <td class="left">Accept-Language</td> |
---|
1393 | <td class="left">http</td> |
---|
1394 | <td class="left">standard</td> |
---|
1395 | <td class="left"> <a href="#header.accept-language" id="rfc.xref.header.accept-language.2" title="Accept-Language">Section 5.4</a> |
---|
1396 | </td> |
---|
1397 | </tr> |
---|
1398 | <tr> |
---|
1399 | <td class="left">Content-Disposition</td> |
---|
1400 | <td class="left">http</td> |
---|
1401 | <td class="left"></td> |
---|
1402 | <td class="left"> <a href="#content-disposition" id="rfc.xref.content-disposition.1" title="Content-Disposition">Appendix B.1</a> |
---|
1403 | </td> |
---|
1404 | </tr> |
---|
1405 | <tr> |
---|
1406 | <td class="left">Content-Encoding</td> |
---|
1407 | <td class="left">http</td> |
---|
1408 | <td class="left">standard</td> |
---|
1409 | <td class="left"> <a href="#header.content-encoding" id="rfc.xref.header.content-encoding.4" title="Content-Encoding">Section 5.5</a> |
---|
1410 | </td> |
---|
1411 | </tr> |
---|
1412 | <tr> |
---|
1413 | <td class="left">Content-Language</td> |
---|
1414 | <td class="left">http</td> |
---|
1415 | <td class="left">standard</td> |
---|
1416 | <td class="left"> <a href="#header.content-language" id="rfc.xref.header.content-language.2" title="Content-Language">Section 5.6</a> |
---|
1417 | </td> |
---|
1418 | </tr> |
---|
1419 | <tr> |
---|
1420 | <td class="left">Content-Location</td> |
---|
1421 | <td class="left">http</td> |
---|
1422 | <td class="left">standard</td> |
---|
1423 | <td class="left"> <a href="#header.content-location" id="rfc.xref.header.content-location.2" title="Content-Location">Section 5.7</a> |
---|
1424 | </td> |
---|
1425 | </tr> |
---|
1426 | <tr> |
---|
1427 | <td class="left">Content-MD5</td> |
---|
1428 | <td class="left">http</td> |
---|
1429 | <td class="left">standard</td> |
---|
1430 | <td class="left"> <a href="#header.content-md5" id="rfc.xref.header.content-md5.2" title="Content-MD5">Section 5.8</a> |
---|
1431 | </td> |
---|
1432 | </tr> |
---|
1433 | <tr> |
---|
1434 | <td class="left">Content-Type</td> |
---|
1435 | <td class="left">http</td> |
---|
1436 | <td class="left">standard</td> |
---|
1437 | <td class="left"> <a href="#header.content-type" id="rfc.xref.header.content-type.3" title="Content-Type">Section 5.9</a> |
---|
1438 | </td> |
---|
1439 | </tr> |
---|
1440 | <tr> |
---|
1441 | <td class="left">MIME-Version</td> |
---|
1442 | <td class="left">http</td> |
---|
1443 | <td class="left"></td> |
---|
1444 | <td class="left"> <a href="#mime-version" id="rfc.xref.mime-version.1" title="MIME-Version">Appendix A.1</a> |
---|
1445 | </td> |
---|
1446 | </tr> |
---|
1447 | </tbody> |
---|
1448 | </table> |
---|
1449 | </div> |
---|
1450 | <p id="rfc.section.6.1.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p> |
---|
1451 | <h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a> <a id="content.coding.registration" href="#content.coding.registration">Content Coding Registry</a></h2> |
---|
1452 | <p id="rfc.section.6.2.p.1">The registration procedure for HTTP Content Codings is now defined by <a href="#content.coding.registry" title="Content Coding Registry">Section 2.2.1</a> of this document. |
---|
1453 | </p> |
---|
1454 | <p id="rfc.section.6.2.p.2">The HTTP Content Codings Registry located at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>> should be updated with the registration below: |
---|
1455 | </p> |
---|
1456 | <div id="rfc.table.2"> |
---|
1457 | <div id="iana.content.coding.registration.table"></div> |
---|
1458 | <table class="tt full left" cellpadding="3" cellspacing="0"> |
---|
1459 | <thead> |
---|
1460 | <tr> |
---|
1461 | <th>Name</th> |
---|
1462 | <th>Description</th> |
---|
1463 | <th>Reference</th> |
---|
1464 | </tr> |
---|
1465 | </thead> |
---|
1466 | <tbody> |
---|
1467 | <tr> |
---|
1468 | <td class="left">compress</td> |
---|
1469 | <td class="left">UNIX "compress" program method</td> |
---|
1470 | <td class="left"> <a href="p1-messaging.html#compress.coding" title="Compress Coding">Section 6.2.2.1</a> of <a href="#Part1" id="rfc.xref.Part1.22"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> |
---|
1471 | </td> |
---|
1472 | </tr> |
---|
1473 | <tr> |
---|
1474 | <td class="left">deflate</td> |
---|
1475 | <td class="left">"deflate" compression mechanism (<a href="#RFC1951" id="rfc.xref.RFC1951.1"><cite title="DEFLATE Compressed Data Format Specification version 1.3">[RFC1951]</cite></a>) used inside the "zlib" data format (<a href="#RFC1950" id="rfc.xref.RFC1950.1"><cite title="ZLIB Compressed Data Format Specification version 3.3">[RFC1950]</cite></a>) |
---|
1476 | </td> |
---|
1477 | <td class="left"> <a href="p1-messaging.html#deflate.coding" title="Deflate Coding">Section 6.2.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.23"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> |
---|
1478 | </td> |
---|
1479 | </tr> |
---|
1480 | <tr> |
---|
1481 | <td class="left">gzip</td> |
---|
1482 | <td class="left">Same as GNU zip <a href="#RFC1952" id="rfc.xref.RFC1952.1"><cite title="GZIP file format specification version 4.3">[RFC1952]</cite></a></td> |
---|
1483 | <td class="left"> <a href="p1-messaging.html#gzip.coding" title="Gzip Coding">Section 6.2.2.3</a> of <a href="#Part1" id="rfc.xref.Part1.24"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> |
---|
1484 | </td> |
---|
1485 | </tr> |
---|
1486 | <tr> |
---|
1487 | <td class="left">identity</td> |
---|
1488 | <td class="left">No transformation</td> |
---|
1489 | <td class="left"> <a href="#content.codings" title="Content Codings">Section 2.2</a> |
---|
1490 | </td> |
---|
1491 | </tr> |
---|
1492 | </tbody> |
---|
1493 | </table> |
---|
1494 | </div> |
---|
1495 | <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a> <a id="security.considerations" href="#security.considerations">Security Considerations</a></h1> |
---|
1496 | <p id="rfc.section.7.p.1">This section is meant to inform application developers, information providers, and users of the security limitations in HTTP/1.1 |
---|
1497 | as described by this document. The discussion does not include definitive solutions to the problems revealed, though it does |
---|
1498 | make some suggestions for reducing security risks. |
---|
1499 | </p> |
---|
1500 | <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> <a id="privacy.issues.connected.to.accept.headers" href="#privacy.issues.connected.to.accept.headers">Privacy Issues Connected to Accept Headers</a></h2> |
---|
1501 | <p id="rfc.section.7.1.p.1">Accept request-headers can reveal information about the user to all servers which are accessed. The Accept-Language header |
---|
1502 | in particular can reveal information the user would consider to be of a private nature, because the understanding of particular |
---|
1503 | languages is often strongly correlated to the membership of a particular ethnic group. User agents which offer the option |
---|
1504 | to configure the contents of an Accept-Language header to be sent in every request are strongly encouraged to let the configuration |
---|
1505 | process include a message which makes the user aware of the loss of privacy involved. |
---|
1506 | </p> |
---|
1507 | <p id="rfc.section.7.1.p.2">An approach that limits the loss of privacy would be for a user agent to omit the sending of Accept-Language headers by default, |
---|
1508 | and to ask the user whether or not to start sending Accept-Language headers to a server if it detects, by looking for any |
---|
1509 | Vary response-header fields generated by the server, that such sending could improve the quality of service. |
---|
1510 | </p> |
---|
1511 | <p id="rfc.section.7.1.p.3">Elaborate user-customized accept header fields sent in every request, in particular if these include quality values, can be |
---|
1512 | used by servers as relatively reliable and long-lived user identifiers. Such user identifiers would allow content providers |
---|
1513 | to do click-trail tracking, and would allow collaborating content providers to match cross-server click-trails or form submissions |
---|
1514 | of individual users. Note that for many users not behind a proxy, the network address of the host running the user agent will |
---|
1515 | also serve as a long-lived user identifier. In environments where proxies are used to enhance privacy, user agents ought to |
---|
1516 | be conservative in offering accept header configuration options to end users. As an extreme privacy measure, proxies could |
---|
1517 | filter the accept headers in relayed requests. General purpose user agents which provide a high degree of header configurability <em class="bcp14">SHOULD</em> warn users about the loss of privacy which can be involved. |
---|
1518 | </p> |
---|
1519 | <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> <a id="content-disposition.issues" href="#content-disposition.issues">Content-Disposition Issues</a></h2> |
---|
1520 | <p id="rfc.section.7.2.p.1"> <a href="#RFC2183" id="rfc.xref.RFC2183.1"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, from which the often implemented Content-Disposition (see <a href="#content-disposition" id="rfc.xref.content-disposition.2" title="Content-Disposition">Appendix B.1</a>) header in HTTP is derived, has a number of very serious security considerations. Content-Disposition is not part of the |
---|
1521 | HTTP standard, but since it is widely implemented, we are documenting its use and risks for implementors. See <a href="http://tools.ietf.org/html/rfc2183#section-5">Section 5</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.2"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a> for details. |
---|
1522 | </p> |
---|
1523 | <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a> <a id="ack" href="#ack">Acknowledgments</a></h1> |
---|
1524 | <h1 id="rfc.references"><a id="rfc.section.9" href="#rfc.section.9">9.</a> References |
---|
1525 | </h1> |
---|
1526 | <h2 id="rfc.references.1"><a href="#rfc.section.9.1" id="rfc.section.9.1">9.1</a> Normative References |
---|
1527 | </h2> |
---|
1528 | <table> |
---|
1529 | <tr> |
---|
1530 | <td class="reference"><b id="ISO-8859-1">[ISO-8859-1]</b></td> |
---|
1531 | <td class="top">International Organization for Standardization, “Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1”, ISO/IEC 8859-1:1998, 1998.</td> |
---|
1532 | </tr> |
---|
1533 | <tr> |
---|
1534 | <td class="reference"><b id="Part1">[Part1]</b></td> |
---|
1535 | <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft draft-ietf-httpbis-p1-messaging-latest (work in progress), July 2010. |
---|
1536 | </td> |
---|
1537 | </tr> |
---|
1538 | <tr> |
---|
1539 | <td class="reference"><b id="Part2">[Part2]</b></td> |
---|
1540 | <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft draft-ietf-httpbis-p2-semantics-latest (work in progress), July 2010. |
---|
1541 | </td> |
---|
1542 | </tr> |
---|
1543 | <tr> |
---|
1544 | <td class="reference"><b id="Part4">[Part4]</b></td> |
---|
1545 | <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft draft-ietf-httpbis-p4-conditional-latest (work in progress), July 2010. |
---|
1546 | </td> |
---|
1547 | </tr> |
---|
1548 | <tr> |
---|
1549 | <td class="reference"><b id="Part5">[Part5]</b></td> |
---|
1550 | <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft draft-ietf-httpbis-p5-range-latest (work in progress), July 2010. |
---|
1551 | </td> |
---|
1552 | </tr> |
---|
1553 | <tr> |
---|
1554 | <td class="reference"><b id="Part6">[Part6]</b></td> |
---|
1555 | <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft draft-ietf-httpbis-p6-cache-latest (work in progress), July 2010. |
---|
1556 | </td> |
---|
1557 | </tr> |
---|
1558 | <tr> |
---|
1559 | <td class="reference"><b id="RFC1864">[RFC1864]</b></td> |
---|
1560 | <td class="top"><a href="mailto:jgm+@cmu.edu" title="Carnegie Mellon University">Myers, J.</a> and <a href="mailto:mrose@dbc.mtview.ca.us" title="Dover Beach Consulting, Inc.">M. Rose</a>, “<a href="http://tools.ietf.org/html/rfc1864">The Content-MD5 Header Field</a>”, RFC 1864, October 1995. |
---|
1561 | </td> |
---|
1562 | </tr> |
---|
1563 | <tr> |
---|
1564 | <td class="reference"><b id="RFC1950">[RFC1950]</b></td> |
---|
1565 | <td class="top"><a href="mailto:ghost@aladdin.com" title="Aladdin Enterprises">Deutsch, L.</a> and J-L. Gailly, “<a href="http://tools.ietf.org/html/rfc1950">ZLIB Compressed Data Format Specification version 3.3</a>”, RFC 1950, May 1996.<br>RFC 1950 is an Informational RFC, thus it may be less stable than this specification. On the other hand, this downward reference |
---|
1566 | was present since the publication of RFC 2068 in 1997 (<a href="#RFC2068" id="rfc.xref.RFC2068.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a>), therefore it is unlikely to cause problems in practice. See also <a href="#BCP97" id="rfc.xref.BCP97.1"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>. |
---|
1567 | </td> |
---|
1568 | </tr> |
---|
1569 | <tr> |
---|
1570 | <td class="reference"><b id="RFC1951">[RFC1951]</b></td> |
---|
1571 | <td class="top"><a href="mailto:ghost@aladdin.com" title="Aladdin Enterprises">Deutsch, P.</a>, “<a href="http://tools.ietf.org/html/rfc1951">DEFLATE Compressed Data Format Specification version 1.3</a>”, RFC 1951, May 1996.<br>RFC 1951 is an Informational RFC, thus it may be less stable than this specification. On the other hand, this downward reference |
---|
1572 | was present since the publication of RFC 2068 in 1997 (<a href="#RFC2068" id="rfc.xref.RFC2068.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a>), therefore it is unlikely to cause problems in practice. See also <a href="#BCP97" id="rfc.xref.BCP97.2"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>. |
---|
1573 | </td> |
---|
1574 | </tr> |
---|
1575 | <tr> |
---|
1576 | <td class="reference"><b id="RFC1952">[RFC1952]</b></td> |
---|
1577 | <td class="top"><a href="mailto:ghost@aladdin.com" title="Aladdin Enterprises">Deutsch, P.</a>, <a href="mailto:gzip@prep.ai.mit.edu">Gailly, J-L.</a>, <a href="mailto:madler@alumni.caltech.edu">Adler, M.</a>, <a href="mailto:ghost@aladdin.com">Deutsch, L.</a>, and <a href="mailto:randeg@alumni.rpi.edu">G. Randers-Pehrson</a>, “<a href="http://tools.ietf.org/html/rfc1952">GZIP file format specification version 4.3</a>”, RFC 1952, May 1996.<br>RFC 1952 is an Informational RFC, thus it may be less stable than this specification. On the other hand, this downward reference |
---|
1578 | was present since the publication of RFC 2068 in 1997 (<a href="#RFC2068" id="rfc.xref.RFC2068.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a>), therefore it is unlikely to cause problems in practice. See also <a href="#BCP97" id="rfc.xref.BCP97.3"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>. |
---|
1579 | </td> |
---|
1580 | </tr> |
---|
1581 | <tr> |
---|
1582 | <td class="reference"><b id="RFC2045">[RFC2045]</b></td> |
---|
1583 | <td class="top"><a href="mailto:ned@innosoft.com" title="Innosoft International, Inc.">Freed, N.</a> and <a href="mailto:nsb@nsb.fv.com" title="First Virtual Holdings">N. Borenstein</a>, “<a href="http://tools.ietf.org/html/rfc2045">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</a>”, RFC 2045, November 1996. |
---|
1584 | </td> |
---|
1585 | </tr> |
---|
1586 | <tr> |
---|
1587 | <td class="reference"><b id="RFC2046">[RFC2046]</b></td> |
---|
1588 | <td class="top"><a href="mailto:ned@innosoft.com" title="Innosoft International, Inc.">Freed, N.</a> and <a href="mailto:nsb@nsb.fv.com" title="First Virtual Holdings">N. Borenstein</a>, “<a href="http://tools.ietf.org/html/rfc2046">Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</a>”, RFC 2046, November 1996. |
---|
1589 | </td> |
---|
1590 | </tr> |
---|
1591 | <tr> |
---|
1592 | <td class="reference"><b id="RFC2119">[RFC2119]</b></td> |
---|
1593 | <td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP 14, RFC 2119, March 1997. |
---|
1594 | </td> |
---|
1595 | </tr> |
---|
1596 | <tr> |
---|
1597 | <td class="reference"><b id="RFC4647">[RFC4647]</b></td> |
---|
1598 | <td class="top"><a href="mailto:addison@inter-locale.com" title="Yahoo! Inc.">Phillips, A., Ed.</a> and <a href="mailto:mark.davis@macchiato.com" title="Google">M. Davis, Ed.</a>, “<a href="http://tools.ietf.org/html/rfc4647">Matching of Language Tags</a>”, BCP 47, RFC 4647, September 2006. |
---|
1599 | </td> |
---|
1600 | </tr> |
---|
1601 | <tr> |
---|
1602 | <td class="reference"><b id="RFC5234">[RFC5234]</b></td> |
---|
1603 | <td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD 68, RFC 5234, January 2008. |
---|
1604 | </td> |
---|
1605 | </tr> |
---|
1606 | <tr> |
---|
1607 | <td class="reference"><b id="RFC5646">[RFC5646]</b></td> |
---|
1608 | <td class="top"><a href="mailto:addison@inter-locale.com" title="Lab126">Phillips, A., Ed.</a> and <a href="mailto:mark.davis@google.com" title="Google">M. Davis, Ed.</a>, “<a href="http://tools.ietf.org/html/rfc5646">Tags for Identifying Languages</a>”, BCP 47, RFC 5646, September 2009. |
---|
1609 | </td> |
---|
1610 | </tr> |
---|
1611 | </table> |
---|
1612 | <h2 id="rfc.references.2"><a href="#rfc.section.9.2" id="rfc.section.9.2">9.2</a> Informative References |
---|
1613 | </h2> |
---|
1614 | <table> |
---|
1615 | <tr> |
---|
1616 | <td class="reference"><b id="BCP97">[BCP97]</b></td> |
---|
1617 | <td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu" title="MIT">S. Hartman</a>, “<a href="http://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>”, BCP 97, RFC 4897, June 2007. |
---|
1618 | </td> |
---|
1619 | </tr> |
---|
1620 | <tr> |
---|
1621 | <td class="reference"><b id="RFC1945">[RFC1945]</b></td> |
---|
1622 | <td class="top"><a href="mailto:timbl@w3.org" title="MIT, Laboratory for Computer Science">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Department of Information and Computer Science">Fielding, R.</a>, and <a href="mailto:frystyk@w3.org" title="W3 Consortium, MIT Laboratory for Computer Science">H. Nielsen</a>, “<a href="http://tools.ietf.org/html/rfc1945">Hypertext Transfer Protocol -- HTTP/1.0</a>”, RFC 1945, May 1996. |
---|
1623 | </td> |
---|
1624 | </tr> |
---|
1625 | <tr> |
---|
1626 | <td class="reference"><b id="RFC2049">[RFC2049]</b></td> |
---|
1627 | <td class="top"><a href="mailto:ned@innosoft.com" title="Innosoft International, Inc.">Freed, N.</a> and <a href="mailto:nsb@nsb.fv.com" title="First Virtual Holdings">N. Borenstein</a>, “<a href="http://tools.ietf.org/html/rfc2049">Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples</a>”, RFC 2049, November 1996. |
---|
1628 | </td> |
---|
1629 | </tr> |
---|
1630 | <tr> |
---|
1631 | <td class="reference"><b id="RFC2068">[RFC2068]</b></td> |
---|
1632 | <td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Department of Information and Computer Science">Fielding, R.</a>, <a href="mailto:jg@w3.org" title="MIT Laboratory for Computer Science">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Digital Equipment Corporation, Western Research Laboratory">Mogul, J.</a>, <a href="mailto:frystyk@w3.org" title="MIT Laboratory for Computer Science">Nielsen, H.</a>, and <a href="mailto:timbl@w3.org" title="MIT Laboratory for Computer Science">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2068">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2068, January 1997. |
---|
1633 | </td> |
---|
1634 | </tr> |
---|
1635 | <tr> |
---|
1636 | <td class="reference"><b id="RFC2076">[RFC2076]</b></td> |
---|
1637 | <td class="top"><a href="mailto:jpalme@dsv.su.se" title="Stockholm University/KTH">Palme, J.</a>, “<a href="http://tools.ietf.org/html/rfc2076">Common Internet Message Headers</a>”, RFC 2076, February 1997. |
---|
1638 | </td> |
---|
1639 | </tr> |
---|
1640 | <tr> |
---|
1641 | <td class="reference"><b id="RFC2183">[RFC2183]</b></td> |
---|
1642 | <td class="top"><a href="mailto:rens@century.com" title="New Century Systems">Troost, R.</a>, <a href="mailto:sdorner@qualcomm.com" title="QUALCOMM Incorporated">Dorner, S.</a>, and <a href="mailto:moore@cs.utk.edu" title="Department of Computer Science">K. Moore</a>, “<a href="http://tools.ietf.org/html/rfc2183">Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field</a>”, RFC 2183, August 1997. |
---|
1643 | </td> |
---|
1644 | </tr> |
---|
1645 | <tr> |
---|
1646 | <td class="reference"><b id="RFC2277">[RFC2277]</b></td> |
---|
1647 | <td class="top"><a href="mailto:Harald.T.Alvestrand@uninett.no" title="UNINETT">Alvestrand, H.</a>, “<a href="http://tools.ietf.org/html/rfc2277">IETF Policy on Character Sets and Languages</a>”, BCP 18, RFC 2277, January 1998. |
---|
1648 | </td> |
---|
1649 | </tr> |
---|
1650 | <tr> |
---|
1651 | <td class="reference"><b id="RFC2295">[RFC2295]</b></td> |
---|
1652 | <td class="top"><a href="mailto:koen@win.tue.nl" title="Technische Universiteit Eindhoven">Holtman, K.</a> and <a href="mailto:mutz@hpl.hp.com" title="Hewlett-Packard Company">A. Mutz</a>, “<a href="http://tools.ietf.org/html/rfc2295">Transparent Content Negotiation in HTTP</a>”, RFC 2295, March 1998. |
---|
1653 | </td> |
---|
1654 | </tr> |
---|
1655 | <tr> |
---|
1656 | <td class="reference"><b id="RFC2388">[RFC2388]</b></td> |
---|
1657 | <td class="top"><a href="mailto:masinter@parc.xerox.com" title="Xerox Palo Alto Research Center">Masinter, L.</a>, “<a href="http://tools.ietf.org/html/rfc2388">Returning Values from Forms: multipart/form-data</a>”, RFC 2388, August 1998. |
---|
1658 | </td> |
---|
1659 | </tr> |
---|
1660 | <tr> |
---|
1661 | <td class="reference"><b id="RFC2557">[RFC2557]</b></td> |
---|
1662 | <td class="top"><a href="mailto:jpalme@dsv.su.se" title="Stockholm University and KTH">Palme, F.</a>, <a href="mailto:alexhop@microsoft.com" title="Microsoft Corporation">Hopmann, A.</a>, <a href="mailto:Shelness@lotus.com" title="Lotus Development Corporation">Shelness, N.</a>, and <a href="mailto:stef@nma.com">E. Stefferud</a>, “<a href="http://tools.ietf.org/html/rfc2557">MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)</a>”, RFC 2557, March 1999. |
---|
1663 | </td> |
---|
1664 | </tr> |
---|
1665 | <tr> |
---|
1666 | <td class="reference"><b id="RFC2616">[RFC2616]</b></td> |
---|
1667 | <td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine">Fielding, R.</a>, <a href="mailto:jg@w3.org" title="W3C">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation">Mogul, J.</a>, <a href="mailto:frystyk@w3.org" title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, and <a href="mailto:timbl@w3.org" title="W3C">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2616, June 1999. |
---|
1668 | </td> |
---|
1669 | </tr> |
---|
1670 | <tr> |
---|
1671 | <td class="reference"><b id="RFC3629">[RFC3629]</b></td> |
---|
1672 | <td class="top"><a href="mailto:fyergeau@alis.com" title="Alis Technologies">Yergeau, F.</a>, “<a href="http://tools.ietf.org/html/rfc3629">UTF-8, a transformation format of ISO 10646</a>”, RFC 3629, STD 63, November 2003. |
---|
1673 | </td> |
---|
1674 | </tr> |
---|
1675 | <tr> |
---|
1676 | <td class="reference"><b id="RFC3864">[RFC3864]</b></td> |
---|
1677 | <td class="top"><a href="mailto:GK-IETF@ninebynine.org" title="Nine by Nine">Klyne, G.</a>, <a href="mailto:mnot@pobox.com" title="BEA Systems">Nottingham, M.</a>, and <a href="mailto:JeffMogul@acm.org" title="HP Labs">J. Mogul</a>, “<a href="http://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP 90, RFC 3864, September 2004. |
---|
1678 | </td> |
---|
1679 | </tr> |
---|
1680 | <tr> |
---|
1681 | <td class="reference"><b id="RFC4288">[RFC4288]</b></td> |
---|
1682 | <td class="top"><a href="mailto:ned.freed@mrochek.com" title="Sun Microsystems">Freed, N.</a> and <a href="mailto:klensin+ietf@jck.com">J. Klensin</a>, “<a href="http://tools.ietf.org/html/rfc4288">Media Type Specifications and Registration Procedures</a>”, BCP 13, RFC 4288, December 2005. |
---|
1683 | </td> |
---|
1684 | </tr> |
---|
1685 | <tr> |
---|
1686 | <td class="reference"><b id="RFC5226">[RFC5226]</b></td> |
---|
1687 | <td class="top"><a href="mailto:narten@us.ibm.com" title="IBM">Narten, T.</a> and <a href="mailto:Harald@Alvestrand.no" title="Google">H. Alvestrand</a>, “<a href="http://tools.ietf.org/html/rfc5226">Guidelines for Writing an IANA Considerations Section in RFCs</a>”, BCP 26, RFC 5226, May 2008. |
---|
1688 | </td> |
---|
1689 | </tr> |
---|
1690 | <tr> |
---|
1691 | <td class="reference"><b id="RFC5322">[RFC5322]</b></td> |
---|
1692 | <td class="top">Resnick, P., “<a href="http://tools.ietf.org/html/rfc5322">Internet Message Format</a>”, RFC 5322, October 2008. |
---|
1693 | </td> |
---|
1694 | </tr> |
---|
1695 | </table> |
---|
1696 | <div class="avoidbreak"> |
---|
1697 | <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1> |
---|
1698 | <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span> |
---|
1699 | (editor) |
---|
1700 | <span class="n hidden"><span class="family-name">Fielding</span><span class="given-name">Roy T.</span></span></span><span class="org vcardline">Day Software</span><span class="adr"><span class="street-address vcardline">23 Corporate Plaza DR, Suite 280</span><span class="vcardline"><span class="locality">Newport Beach</span>, <span class="region">CA</span> <span class="postal-code">92660</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline tel">Phone: <a href="tel:+1-949-706-5300"><span class="value">+1-949-706-5300</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+1-949-706-5305"><span class="value">+1-949-706-5305</span></a></span><span class="vcardline">Email: <a href="mailto:fielding@gbiv.com"><span class="email">fielding@gbiv.com</span></a></span><span class="vcardline">URI: <a href="http://roy.gbiv.com/" class="url">http://roy.gbiv.com/</a></span></address> |
---|
1701 | <address class="vcard"><span class="vcardline"><span class="fn">Jim Gettys</span><span class="n hidden"><span class="family-name">Gettys</span><span class="given-name">Jim</span></span></span><span class="org vcardline">Alcatel-Lucent Bell Labs</span><span class="adr"><span class="street-address vcardline">21 Oak Knoll Road</span><span class="vcardline"><span class="locality">Carlisle</span>, <span class="region">MA</span> <span class="postal-code">01741</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:jg@freedesktop.org"><span class="email">jg@freedesktop.org</span></a></span><span class="vcardline">URI: <a href="http://gettys.wordpress.com/" class="url">http://gettys.wordpress.com/</a></span></address> |
---|
1702 | <address class="vcard"><span class="vcardline"><span class="fn">Jeffrey C. Mogul</span><span class="n hidden"><span class="family-name">Mogul</span><span class="given-name">Jeffrey C.</span></span></span><span class="org vcardline">Hewlett-Packard Company</span><span class="adr"><span class="street-address vcardline">HP Labs, Large Scale Systems Group</span><span class="street-address vcardline">1501 Page Mill Road, MS 1177</span><span class="vcardline"><span class="locality">Palo Alto</span>, <span class="region">CA</span> <span class="postal-code">94304</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:JeffMogul@acm.org"><span class="email">JeffMogul@acm.org</span></a></span></address> |
---|
1703 | <address class="vcard"><span class="vcardline"><span class="fn">Henrik Frystyk Nielsen</span><span class="n hidden"><span class="family-name">Frystyk</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span> <span class="postal-code">98052</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:henrikn@microsoft.com"><span class="email">henrikn@microsoft.com</span></a></span></address> |
---|
1704 | <address class="vcard"><span class="vcardline"><span class="fn">Larry Masinter</span><span class="n hidden"><span class="family-name">Masinter</span><span class="given-name">Larry</span></span></span><span class="org vcardline">Adobe Systems, Incorporated</span><span class="adr"><span class="street-address vcardline">345 Park Ave</span><span class="vcardline"><span class="locality">San Jose</span>, <span class="region">CA</span> <span class="postal-code">95110</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:LMM@acm.org"><span class="email">LMM@acm.org</span></a></span><span class="vcardline">URI: <a href="http://larry.masinter.net/" class="url">http://larry.masinter.net/</a></span></address> |
---|
1705 | <address class="vcard"><span class="vcardline"><span class="fn">Paul J. Leach</span><span class="n hidden"><span class="family-name">Leach</span><span class="given-name">Paul J.</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span> <span class="postal-code">98052</span></span></span><span class="vcardline">Email: <a href="mailto:paulle@microsoft.com"><span class="email">paulle@microsoft.com</span></a></span></address> |
---|
1706 | <address class="vcard"><span class="vcardline"><span class="fn">Tim Berners-Lee</span><span class="n hidden"><span class="family-name">Berners-Lee</span><span class="given-name">Tim</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">MIT Computer Science and Artificial Intelligence Laboratory</span><span class="street-address vcardline">The Stata Center, Building 32</span><span class="street-address vcardline">32 Vassar Street</span><span class="vcardline"><span class="locality">Cambridge</span>, <span class="region">MA</span> <span class="postal-code">02139</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:timbl@w3.org"><span class="email">timbl@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.w3.org/People/Berners-Lee/" class="url">http://www.w3.org/People/Berners-Lee/</a></span></address> |
---|
1707 | <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span> |
---|
1708 | (editor) |
---|
1709 | <span class="n hidden"><span class="family-name">Lafon</span><span class="given-name">Yves</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">W3C / ERCIM</span><span class="street-address vcardline">2004, rte des Lucioles</span><span class="vcardline"><span class="locality">Sophia-Antipolis</span>, <span class="region">AM</span> <span class="postal-code">06902</span></span><span class="country-name vcardline">France</span></span><span class="vcardline">Email: <a href="mailto:ylafon@w3.org"><span class="email">ylafon@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.raubacapeu.net/people/yves/" class="url">http://www.raubacapeu.net/people/yves/</a></span></address> |
---|
1710 | <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span> |
---|
1711 | (editor) |
---|
1712 | <span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">Email: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address> |
---|
1713 | </div> |
---|
1714 | <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a id="differences.between.http.and.mime" href="#differences.between.http.and.mime">Differences between HTTP and MIME</a></h1> |
---|
1715 | <p id="rfc.section.A.p.1">HTTP/1.1 uses many of the constructs defined for Internet Mail (<a href="#RFC5322" id="rfc.xref.RFC5322.1"><cite title="Internet Message Format">[RFC5322]</cite></a>) and the Multipurpose Internet Mail Extensions (MIME <a href="#RFC2045" id="rfc.xref.RFC2045.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a>) to allow a message-body to be transmitted in an open variety of representations and with extensible mechanisms. However, |
---|
1716 | RFC 2045 discusses mail, and HTTP has a few features that are different from those described in MIME. These differences were |
---|
1717 | carefully chosen to optimize performance over binary connections, to allow greater freedom in the use of new media types, |
---|
1718 | to make date comparisons easier, and to acknowledge the practice of some early HTTP servers and clients. |
---|
1719 | </p> |
---|
1720 | <p id="rfc.section.A.p.2">This appendix describes specific areas where HTTP differs from MIME. Proxies and gateways to strict MIME environments <em class="bcp14">SHOULD</em> be aware of these differences and provide the appropriate conversions where necessary. Proxies and gateways from MIME environments |
---|
1721 | to HTTP also need to be aware of the differences because some conversions might be required. |
---|
1722 | </p> |
---|
1723 | <div id="rfc.iref.m.1"></div> |
---|
1724 | <div id="rfc.iref.h.10"></div> |
---|
1725 | <h2 id="rfc.section.A.1"><a href="#rfc.section.A.1">A.1</a> <a id="mime-version" href="#mime-version">MIME-Version</a></h2> |
---|
1726 | <p id="rfc.section.A.1.p.1">HTTP is not a MIME-compliant protocol. However, HTTP/1.1 messages <em class="bcp14">MAY</em> include a single MIME-Version general-header field to indicate what version of the MIME protocol was used to construct the |
---|
1727 | message. Use of the MIME-Version header field indicates that the message is in full compliance with the MIME protocol (as |
---|
1728 | defined in <a href="#RFC2045" id="rfc.xref.RFC2045.2"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a>). Proxies/gateways are responsible for ensuring full compliance (where possible) when exporting HTTP messages to strict MIME |
---|
1729 | environments. |
---|
1730 | </p> |
---|
1731 | <div id="rfc.figure.u.34"></div><pre class="inline"><span id="rfc.iref.g.36"></span><span id="rfc.iref.g.37"></span> <a href="#mime-version" class="smpl">MIME-Version</a> = "MIME-Version" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#mime-version" class="smpl">MIME-Version-v</a> |
---|
1732 | <a href="#mime-version" class="smpl">MIME-Version-v</a> = 1*<a href="#notation" class="smpl">DIGIT</a> "." 1*<a href="#notation" class="smpl">DIGIT</a> |
---|
1733 | </pre><p id="rfc.section.A.1.p.3">MIME version "1.0" is the default for use in HTTP/1.1. However, HTTP/1.1 message parsing and semantics are defined by this |
---|
1734 | document and not the MIME specification. |
---|
1735 | </p> |
---|
1736 | <h2 id="rfc.section.A.2"><a href="#rfc.section.A.2">A.2</a> <a id="conversion.to.canonical.form" href="#conversion.to.canonical.form">Conversion to Canonical Form</a></h2> |
---|
1737 | <p id="rfc.section.A.2.p.1">MIME requires that an Internet mail body-part be converted to canonical form prior to being transferred, as described in <a href="http://tools.ietf.org/html/rfc2049#section-4">Section 4</a> of <a href="#RFC2049" id="rfc.xref.RFC2049.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples">[RFC2049]</cite></a>. <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 2.3.1</a> of this document describes the forms allowed for subtypes of the "text" media type when transmitted over HTTP. <a href="#RFC2046" id="rfc.xref.RFC2046.4"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> requires that content with a type of "text" represent line breaks as CRLF and forbids the use of CR or LF outside of line |
---|
1738 | break sequences. HTTP allows CRLF, bare CR, and bare LF to indicate a line break within text content when a message is transmitted |
---|
1739 | over HTTP. |
---|
1740 | </p> |
---|
1741 | <p id="rfc.section.A.2.p.2">Where it is possible, a proxy or gateway from HTTP to a strict MIME environment <em class="bcp14">SHOULD</em> translate all line breaks within the text media types described in <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 2.3.1</a> of this document to the RFC 2049 canonical form of CRLF. Note, however, that this might be complicated by the presence of |
---|
1742 | a Content-Encoding and by the fact that HTTP allows the use of some character sets which do not use octets 13 and 10 to represent |
---|
1743 | CR and LF, as is the case for some multi-byte character sets. |
---|
1744 | </p> |
---|
1745 | <p id="rfc.section.A.2.p.3">Implementors should note that conversion will break any cryptographic checksums applied to the original content unless the |
---|
1746 | original content is already in canonical form. Therefore, the canonical form is recommended for any content that uses such |
---|
1747 | checksums in HTTP. |
---|
1748 | </p> |
---|
1749 | <h2 id="rfc.section.A.3"><a href="#rfc.section.A.3">A.3</a> <a id="conversion.of.date.formats" href="#conversion.of.date.formats">Conversion of Date Formats</a></h2> |
---|
1750 | <p id="rfc.section.A.3.p.1">HTTP/1.1 uses a restricted set of date formats (<a href="p1-messaging.html#date.time.formats.full.date" title="Date/Time Formats: Full Date">Section 6.1</a> of <a href="#Part1" id="rfc.xref.Part1.25"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>) to simplify the process of date comparison. Proxies and gateways from other protocols <em class="bcp14">SHOULD</em> ensure that any Date header field present in a message conforms to one of the HTTP/1.1 formats and rewrite the date if necessary. |
---|
1751 | </p> |
---|
1752 | <h2 id="rfc.section.A.4"><a href="#rfc.section.A.4">A.4</a> <a id="introduction.of.content-encoding" href="#introduction.of.content-encoding">Introduction of Content-Encoding</a></h2> |
---|
1753 | <p id="rfc.section.A.4.p.1">MIME does not include any concept equivalent to HTTP/1.1's Content-Encoding header field. Since this acts as a modifier on |
---|
1754 | the media type, proxies and gateways from HTTP to MIME-compliant protocols <em class="bcp14">MUST</em> either change the value of the Content-Type header field or decode the representation before forwarding the message. (Some |
---|
1755 | experimental applications of Content-Type for Internet mail have used a media-type parameter of ";conversions=<content-coding>" |
---|
1756 | to perform a function equivalent to Content-Encoding. However, this parameter is not part of the MIME standards). |
---|
1757 | </p> |
---|
1758 | <h2 id="rfc.section.A.5"><a href="#rfc.section.A.5">A.5</a> <a id="no.content-transfer-encoding" href="#no.content-transfer-encoding">No Content-Transfer-Encoding</a></h2> |
---|
1759 | <p id="rfc.section.A.5.p.1">HTTP does not use the Content-Transfer-Encoding field of MIME. Proxies and gateways from MIME-compliant protocols to HTTP <em class="bcp14">MUST</em> remove any Content-Transfer-Encoding prior to delivering the response message to an HTTP client. |
---|
1760 | </p> |
---|
1761 | <p id="rfc.section.A.5.p.2">Proxies and gateways from HTTP to MIME-compliant protocols are responsible for ensuring that the message is in the correct |
---|
1762 | format and encoding for safe transport on that protocol, where "safe transport" is defined by the limitations of the protocol |
---|
1763 | being used. Such a proxy or gateway <em class="bcp14">SHOULD</em> label the data with an appropriate Content-Transfer-Encoding if doing so will improve the likelihood of safe transport over |
---|
1764 | the destination protocol. |
---|
1765 | </p> |
---|
1766 | <h2 id="rfc.section.A.6"><a href="#rfc.section.A.6">A.6</a> <a id="introduction.of.transfer-encoding" href="#introduction.of.transfer-encoding">Introduction of Transfer-Encoding</a></h2> |
---|
1767 | <p id="rfc.section.A.6.p.1">HTTP/1.1 introduces the Transfer-Encoding header field (<a href="p1-messaging.html#header.transfer-encoding" title="Transfer-Encoding">Section 9.7</a> of <a href="#Part1" id="rfc.xref.Part1.26"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). Proxies/gateways <em class="bcp14">MUST</em> remove any transfer-coding prior to forwarding a message via a MIME-compliant protocol. |
---|
1768 | </p> |
---|
1769 | <h2 id="rfc.section.A.7"><a href="#rfc.section.A.7">A.7</a> <a id="mhtml.line.length" href="#mhtml.line.length">MHTML and Line Length Limitations</a></h2> |
---|
1770 | <p id="rfc.section.A.7.p.1">HTTP implementations which share code with MHTML <a href="#RFC2557" id="rfc.xref.RFC2557.2"><cite title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">[RFC2557]</cite></a> implementations need to be aware of MIME line length limitations. Since HTTP does not have this limitation, HTTP does not |
---|
1771 | fold long lines. MHTML messages being transported by HTTP follow all conventions of MHTML, including line length limitations |
---|
1772 | and folding, canonicalization, etc., since HTTP transports all message-bodies as payload (see <a href="#multipart.types" title="Multipart Types">Section 2.3.2</a>) and does not interpret the content or any MIME header lines that might be contained therein. |
---|
1773 | </p> |
---|
1774 | <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a> <a id="additional.features" href="#additional.features">Additional Features</a></h1> |
---|
1775 | <p id="rfc.section.B.p.1"> <a href="#RFC1945" id="rfc.xref.RFC1945.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.0">[RFC1945]</cite></a> and <a href="#RFC2068" id="rfc.xref.RFC2068.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a> document protocol elements used by some existing HTTP implementations, but not consistently and correctly across most HTTP/1.1 |
---|
1776 | applications. Implementors are advised to be aware of these features, but cannot rely upon their presence in, or interoperability |
---|
1777 | with, other HTTP/1.1 applications. Some of these describe proposed experimental features, and some describe features that |
---|
1778 | experimental deployment found lacking that are now addressed in the base HTTP/1.1 specification. |
---|
1779 | </p> |
---|
1780 | <p id="rfc.section.B.p.2">A number of other headers, such as Content-Disposition and Title, from SMTP and MIME are also often implemented (see <a href="#RFC2076" id="rfc.xref.RFC2076.1"><cite title="Common Internet Message Headers">[RFC2076]</cite></a>). |
---|
1781 | </p> |
---|
1782 | <div id="rfc.iref.h.11"></div> |
---|
1783 | <div id="rfc.iref.c.12"></div> |
---|
1784 | <h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a> <a id="content-disposition" href="#content-disposition">Content-Disposition</a></h2> |
---|
1785 | <p id="rfc.section.B.1.p.1">The "Content-Disposition" response-header field has been proposed as a means for the origin server to suggest a default filename |
---|
1786 | if the user requests that the content is saved to a file. This usage is derived from the definition of Content-Disposition |
---|
1787 | in <a href="#RFC2183" id="rfc.xref.RFC2183.3"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>. |
---|
1788 | </p> |
---|
1789 | <div id="rfc.figure.u.35"></div><pre class="inline"><span id="rfc.iref.g.38"></span><span id="rfc.iref.g.39"></span><span id="rfc.iref.g.40"></span><span id="rfc.iref.g.41"></span><span id="rfc.iref.g.42"></span><span id="rfc.iref.g.43"></span><span id="rfc.iref.g.44"></span> <a href="#content-disposition" class="smpl">content-disposition</a> = "Content-Disposition" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
1790 | <a href="#content-disposition" class="smpl">content-disposition-v</a> |
---|
1791 | <a href="#content-disposition" class="smpl">content-disposition-v</a> = <a href="#content-disposition" class="smpl">disposition-type</a> |
---|
1792 | *( <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#content-disposition" class="smpl">disposition-parm</a> ) |
---|
1793 | <a href="#content-disposition" class="smpl">disposition-type</a> = "attachment" / <a href="#content-disposition" class="smpl">disp-extension-token</a> |
---|
1794 | <a href="#content-disposition" class="smpl">disposition-parm</a> = <a href="#content-disposition" class="smpl">filename-parm</a> / <a href="#content-disposition" class="smpl">disp-extension-parm</a> |
---|
1795 | <a href="#content-disposition" class="smpl">filename-parm</a> = "filename" "=" <a href="#core.rules" class="smpl">quoted-string</a> |
---|
1796 | <a href="#content-disposition" class="smpl">disp-extension-token</a> = <a href="#core.rules" class="smpl">token</a> |
---|
1797 | <a href="#content-disposition" class="smpl">disp-extension-parm</a> = <a href="#core.rules" class="smpl">token</a> "=" <a href="#core.rules" class="smpl">word</a> |
---|
1798 | </pre><p id="rfc.section.B.1.p.3">An example is</p> |
---|
1799 | <div id="rfc.figure.u.36"></div><pre class="text"> Content-Disposition: attachment; filename="fname.ext" |
---|
1800 | </pre><p id="rfc.section.B.1.p.5">The receiving user agent <em class="bcp14">SHOULD NOT</em> respect any directory path information present in the filename-parm parameter, which is the only parameter believed to apply |
---|
1801 | to HTTP implementations at this time. The filename <em class="bcp14">SHOULD</em> be treated as a terminal component only. |
---|
1802 | </p> |
---|
1803 | <p id="rfc.section.B.1.p.6">If this header is used in a response with the application/octet-stream content-type, the implied suggestion is that the user |
---|
1804 | agent should not display the response, but directly enter a "save response as..." dialog. |
---|
1805 | </p> |
---|
1806 | <p id="rfc.section.B.1.p.7">See <a href="#content-disposition.issues" title="Content-Disposition Issues">Section 7.2</a> for Content-Disposition security issues. |
---|
1807 | </p> |
---|
1808 | <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a> <a id="compatibility" href="#compatibility">Compatibility with Previous Versions</a></h1> |
---|
1809 | <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a> <a id="changes.from.rfc.2068" href="#changes.from.rfc.2068">Changes from RFC 2068</a></h2> |
---|
1810 | <p id="rfc.section.C.1.p.1">Charset wildcarding is introduced to avoid explosion of character set names in accept headers. (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.3" title="Accept-Charset">Section 5.2</a>) |
---|
1811 | </p> |
---|
1812 | <p id="rfc.section.C.1.p.2">Content-Base was deleted from the specification: it was not implemented widely, and there is no simple, safe way to introduce |
---|
1813 | it without a robust extension mechanism. In addition, it is used in a similar, but not identical fashion in MHTML <a href="#RFC2557" id="rfc.xref.RFC2557.3"><cite title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">[RFC2557]</cite></a>. |
---|
1814 | </p> |
---|
1815 | <p id="rfc.section.C.1.p.3">A content-coding of "identity" was introduced, to solve problems discovered in caching. (<a href="#content.codings" title="Content Codings">Section 2.2</a>) |
---|
1816 | </p> |
---|
1817 | <p id="rfc.section.C.1.p.4">The Alternates<span id="rfc.iref.a.5"></span><span id="rfc.iref.h.12"></span>, Content-Version<span id="rfc.iref.c.13"></span><span id="rfc.iref.h.13"></span>, Derived-From<span id="rfc.iref.d.2"></span><span id="rfc.iref.h.14"></span>, Link<span id="rfc.iref.l.1"></span><span id="rfc.iref.h.15"></span>, URI<span id="rfc.iref.u.1"></span><span id="rfc.iref.h.16"></span>, Public<span id="rfc.iref.p.2"></span><span id="rfc.iref.h.17"></span> and Content-Base<span id="rfc.iref.c.14"></span><span id="rfc.iref.h.18"></span> header fields were defined in previous versions of this specification, but not commonly implemented. See <a href="http://tools.ietf.org/html/rfc2068#section-19.6.2">Section 19.6.2</a> of <a href="#RFC2068" id="rfc.xref.RFC2068.5"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a>. |
---|
1818 | </p> |
---|
1819 | <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a> <a id="changes.from.rfc.2616" href="#changes.from.rfc.2616">Changes from RFC 2616</a></h2> |
---|
1820 | <p id="rfc.section.C.2.p.1">Clarify contexts that charset is used in. (<a href="#character.sets" title="Character Sets">Section 2.1</a>) |
---|
1821 | </p> |
---|
1822 | <p id="rfc.section.C.2.p.2">Remove base URI setting semantics for Content-Location due to poor implementation support, which was caused by too many broken |
---|
1823 | servers emitting bogus Content-Location headers, and also the potentially undesirable effect of potentially breaking relative |
---|
1824 | links in content-negotiated resources. (<a href="#header.content-location" id="rfc.xref.header.content-location.3" title="Content-Location">Section 5.7</a>) |
---|
1825 | </p> |
---|
1826 | <p id="rfc.section.C.2.p.3">Remove reference to non-existant identity transfer-coding value tokens. (<a href="#no.content-transfer-encoding" title="No Content-Transfer-Encoding">Appendix A.5</a>) |
---|
1827 | </p> |
---|
1828 | <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a> <a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1> |
---|
1829 | <div id="rfc.figure.u.37"></div> <pre class="inline"><a href="#header.accept" class="smpl">Accept</a> = "Accept:" OWS Accept-v |
---|
1830 | <a href="#header.accept-charset" class="smpl">Accept-Charset</a> = "Accept-Charset:" OWS Accept-Charset-v |
---|
1831 | <a href="#header.accept-charset" class="smpl">Accept-Charset-v</a> = *( "," OWS ) ( charset / "*" ) [ OWS ";" OWS "q=" |
---|
1832 | qvalue ] *( OWS "," [ OWS ( charset / "*" ) [ OWS ";" OWS "q=" |
---|
1833 | qvalue ] ] ) |
---|
1834 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding</a> = "Accept-Encoding:" OWS Accept-Encoding-v |
---|
1835 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding-v</a> = [ ( "," / ( codings [ OWS ";" OWS "q=" qvalue ] ) |
---|
1836 | ) *( OWS "," [ OWS codings [ OWS ";" OWS "q=" qvalue ] ] ) ] |
---|
1837 | <a href="#header.accept-language" class="smpl">Accept-Language</a> = "Accept-Language:" OWS Accept-Language-v |
---|
1838 | <a href="#header.accept-language" class="smpl">Accept-Language-v</a> = *( "," OWS ) language-range [ OWS ";" OWS "q=" |
---|
1839 | qvalue ] *( OWS "," [ OWS language-range [ OWS ";" OWS "q=" qvalue ] |
---|
1840 | ] ) |
---|
1841 | <a href="#header.accept" class="smpl">Accept-v</a> = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [ |
---|
1842 | OWS media-range [ accept-params ] ] ) ] |
---|
1843 | |
---|
1844 | <a href="#header.content-encoding" class="smpl">Content-Encoding</a> = "Content-Encoding:" OWS Content-Encoding-v |
---|
1845 | <a href="#header.content-encoding" class="smpl">Content-Encoding-v</a> = *( "," OWS ) content-coding *( OWS "," [ OWS |
---|
1846 | content-coding ] ) |
---|
1847 | <a href="#header.content-language" class="smpl">Content-Language</a> = "Content-Language:" OWS Content-Language-v |
---|
1848 | <a href="#header.content-language" class="smpl">Content-Language-v</a> = *( "," OWS ) language-tag *( OWS "," [ OWS |
---|
1849 | language-tag ] ) |
---|
1850 | <a href="#abnf.dependencies" class="smpl">Content-Length</a> = <Content-Length, defined in [Part1], Section 9.2> |
---|
1851 | <a href="#header.content-location" class="smpl">Content-Location</a> = "Content-Location:" OWS Content-Location-v |
---|
1852 | <a href="#header.content-location" class="smpl">Content-Location-v</a> = absolute-URI / partial-URI |
---|
1853 | <a href="#header.content-md5" class="smpl">Content-MD5</a> = "Content-MD5:" OWS Content-MD5-v |
---|
1854 | <a href="#header.content-md5" class="smpl">Content-MD5-v</a> = <base64 of 128 bit MD5 digest as per [RFC1864]> |
---|
1855 | <a href="#abnf.dependencies" class="smpl">Content-Range</a> = <Content-Range, defined in [Part5], Section 5.2> |
---|
1856 | <a href="#header.content-type" class="smpl">Content-Type</a> = "Content-Type:" OWS Content-Type-v |
---|
1857 | <a href="#header.content-type" class="smpl">Content-Type-v</a> = media-type |
---|
1858 | |
---|
1859 | <a href="#abnf.dependencies" class="smpl">Expires</a> = <Expires, defined in [Part6], Section 3.3> |
---|
1860 | |
---|
1861 | <a href="#abnf.dependencies" class="smpl">Last-Modified</a> = <Last-Modified, defined in [Part4], Section 6.6> |
---|
1862 | |
---|
1863 | <a href="#mime-version" class="smpl">MIME-Version</a> = "MIME-Version:" OWS MIME-Version-v |
---|
1864 | <a href="#mime-version" class="smpl">MIME-Version-v</a> = 1*DIGIT "." 1*DIGIT |
---|
1865 | |
---|
1866 | <a href="#core.rules" class="smpl">OWS</a> = <OWS, defined in [Part1], Section 1.2.2> |
---|
1867 | |
---|
1868 | <a href="#abnf.dependencies" class="smpl">absolute-URI</a> = <absolute-URI, defined in [Part1], Section 2.6> |
---|
1869 | <a href="#header.accept" class="smpl">accept-ext</a> = OWS ";" OWS token [ "=" word ] |
---|
1870 | <a href="#header.accept" class="smpl">accept-params</a> = OWS ";" OWS "q=" qvalue *accept-ext |
---|
1871 | <a href="#rule.parameter" class="smpl">attribute</a> = token |
---|
1872 | |
---|
1873 | <a href="#rule.charset" class="smpl">charset</a> = token |
---|
1874 | <a href="#header.accept-encoding" class="smpl">codings</a> = ( content-coding / "*" ) |
---|
1875 | <a href="#content.codings" class="smpl">content-coding</a> = token |
---|
1876 | <a href="#content-disposition" class="smpl">content-disposition</a> = "Content-Disposition:" OWS |
---|
1877 | content-disposition-v |
---|
1878 | <a href="#content-disposition" class="smpl">content-disposition-v</a> = disposition-type *( OWS ";" OWS |
---|
1879 | disposition-parm ) |
---|
1880 | |
---|
1881 | <a href="#content-disposition" class="smpl">disp-extension-parm</a> = token "=" word |
---|
1882 | <a href="#content-disposition" class="smpl">disp-extension-token</a> = token |
---|
1883 | <a href="#content-disposition" class="smpl">disposition-parm</a> = filename-parm / disp-extension-parm |
---|
1884 | <a href="#content-disposition" class="smpl">disposition-type</a> = "attachment" / disp-extension-token |
---|
1885 | |
---|
1886 | <a href="#entity.header.fields" class="smpl">entity-header</a> = Content-Encoding / Content-Language / Content-Length |
---|
1887 | / Content-Location / Content-MD5 / Content-Range / Content-Type / |
---|
1888 | Expires / Last-Modified / extension-header |
---|
1889 | <a href="#entity.header.fields" class="smpl">extension-header</a> = header-field |
---|
1890 | |
---|
1891 | <a href="#content-disposition" class="smpl">filename-parm</a> = "filename=" quoted-string |
---|
1892 | |
---|
1893 | <a href="#abnf.dependencies" class="smpl">header-field</a> = <header-field, defined in [Part1], Section 3.2> |
---|
1894 | |
---|
1895 | <a href="#header.accept-language" class="smpl">language-range</a> = <language-range, defined in [RFC4647], Section 2.1> |
---|
1896 | <a href="#language.tags" class="smpl">language-tag</a> = <Language-Tag, defined in [RFC5646], Section 2.1> |
---|
1897 | |
---|
1898 | <a href="#header.accept" class="smpl">media-range</a> = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS |
---|
1899 | ";" OWS parameter ) |
---|
1900 | <a href="#media.types" class="smpl">media-type</a> = type "/" subtype *( OWS ";" OWS parameter ) |
---|
1901 | |
---|
1902 | <a href="#rule.parameter" class="smpl">parameter</a> = attribute "=" value |
---|
1903 | <a href="#abnf.dependencies" class="smpl">partial-URI</a> = <partial-URI, defined in [Part1], Section 2.6> |
---|
1904 | |
---|
1905 | <a href="#core.rules" class="smpl">quoted-string</a> = <quoted-string, defined in [Part1], Section 1.2.2> |
---|
1906 | <a href="#abnf.dependencies" class="smpl">qvalue</a> = <qvalue, defined in [Part1], Section 6.4> |
---|
1907 | |
---|
1908 | <a href="#media.types" class="smpl">subtype</a> = token |
---|
1909 | |
---|
1910 | <a href="#core.rules" class="smpl">token</a> = <token, defined in [Part1], Section 1.2.2> |
---|
1911 | <a href="#media.types" class="smpl">type</a> = token |
---|
1912 | |
---|
1913 | <a href="#rule.parameter" class="smpl">value</a> = word |
---|
1914 | |
---|
1915 | <a href="#core.rules" class="smpl">word</a> = <word, defined in [Part1], Section 1.2.2> |
---|
1916 | </pre> <div id="rfc.figure.u.38"></div> |
---|
1917 | <p>ABNF diagnostics:</p><pre class="inline">; Accept defined but not used |
---|
1918 | ; Accept-Charset defined but not used |
---|
1919 | ; Accept-Encoding defined but not used |
---|
1920 | ; Accept-Language defined but not used |
---|
1921 | ; MIME-Version defined but not used |
---|
1922 | ; content-disposition defined but not used |
---|
1923 | ; entity-header defined but not used |
---|
1924 | </pre><h1 id="rfc.section.E"><a href="#rfc.section.E">E.</a> <a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1> |
---|
1925 | <h2 id="rfc.section.E.1"><a href="#rfc.section.E.1">E.1</a> Since RFC2616 |
---|
1926 | </h2> |
---|
1927 | <p id="rfc.section.E.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. |
---|
1928 | </p> |
---|
1929 | <h2 id="rfc.section.E.2"><a href="#rfc.section.E.2">E.2</a> Since draft-ietf-httpbis-p3-payload-00 |
---|
1930 | </h2> |
---|
1931 | <p id="rfc.section.E.2.p.1">Closed issues: </p> |
---|
1932 | <ul> |
---|
1933 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/8">http://tools.ietf.org/wg/httpbis/trac/ticket/8</a>>: "Media Type Registrations" (<<a href="http://purl.org/NET/http-errata#media-reg">http://purl.org/NET/http-errata#media-reg</a>>) |
---|
1934 | </li> |
---|
1935 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/14">http://tools.ietf.org/wg/httpbis/trac/ticket/14</a>>: "Clarification regarding quoting of charset values" (<<a href="http://purl.org/NET/http-errata#charactersets">http://purl.org/NET/http-errata#charactersets</a>>) |
---|
1936 | </li> |
---|
1937 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/16">http://tools.ietf.org/wg/httpbis/trac/ticket/16</a>>: "Remove 'identity' token references" (<<a href="http://purl.org/NET/http-errata#identity">http://purl.org/NET/http-errata#identity</a>>) |
---|
1938 | </li> |
---|
1939 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/25">http://tools.ietf.org/wg/httpbis/trac/ticket/25</a>>: "Accept-Encoding BNF" |
---|
1940 | </li> |
---|
1941 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/35">http://tools.ietf.org/wg/httpbis/trac/ticket/35</a>>: "Normative and Informative references" |
---|
1942 | </li> |
---|
1943 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/46">http://tools.ietf.org/wg/httpbis/trac/ticket/46</a>>: "RFC1700 references" |
---|
1944 | </li> |
---|
1945 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/55">http://tools.ietf.org/wg/httpbis/trac/ticket/55</a>>: "Updating to RFC4288" |
---|
1946 | </li> |
---|
1947 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/65">http://tools.ietf.org/wg/httpbis/trac/ticket/65</a>>: "Informative references" |
---|
1948 | </li> |
---|
1949 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/66">http://tools.ietf.org/wg/httpbis/trac/ticket/66</a>>: "ISO-8859-1 Reference" |
---|
1950 | </li> |
---|
1951 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/68">http://tools.ietf.org/wg/httpbis/trac/ticket/68</a>>: "Encoding References Normative" |
---|
1952 | </li> |
---|
1953 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/86">http://tools.ietf.org/wg/httpbis/trac/ticket/86</a>>: "Normative up-to-date references" |
---|
1954 | </li> |
---|
1955 | </ul> |
---|
1956 | <h2 id="rfc.section.E.3"><a href="#rfc.section.E.3">E.3</a> Since draft-ietf-httpbis-p3-payload-01 |
---|
1957 | </h2> |
---|
1958 | <p id="rfc.section.E.3.p.1">Ongoing work on ABNF conversion (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>>): |
---|
1959 | </p> |
---|
1960 | <ul> |
---|
1961 | <li>Add explicit references to BNF syntax and rules imported from other parts of the specification.</li> |
---|
1962 | </ul> |
---|
1963 | <h2 id="rfc.section.E.4"><a href="#rfc.section.E.4">E.4</a> <a id="changes.since.02" href="#changes.since.02">Since draft-ietf-httpbis-p3-payload-02</a></h2> |
---|
1964 | <p id="rfc.section.E.4.p.1">Closed issues: </p> |
---|
1965 | <ul> |
---|
1966 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/67">http://tools.ietf.org/wg/httpbis/trac/ticket/67</a>>: "Quoting Charsets" |
---|
1967 | </li> |
---|
1968 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/105">http://tools.ietf.org/wg/httpbis/trac/ticket/105</a>>: "Classification for Allow header" |
---|
1969 | </li> |
---|
1970 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/115">http://tools.ietf.org/wg/httpbis/trac/ticket/115</a>>: "missing default for qvalue in description of Accept-Encoding" |
---|
1971 | </li> |
---|
1972 | </ul> |
---|
1973 | <p id="rfc.section.E.4.p.2">Ongoing work on IANA Message Header Registration (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/40">http://tools.ietf.org/wg/httpbis/trac/ticket/40</a>>): |
---|
1974 | </p> |
---|
1975 | <ul> |
---|
1976 | <li>Reference RFC 3984, and update header registrations for headers defined in this document.</li> |
---|
1977 | </ul> |
---|
1978 | <h2 id="rfc.section.E.5"><a href="#rfc.section.E.5">E.5</a> <a id="changes.since.03" href="#changes.since.03">Since draft-ietf-httpbis-p3-payload-03</a></h2> |
---|
1979 | <p id="rfc.section.E.5.p.1">Closed issues: </p> |
---|
1980 | <ul> |
---|
1981 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/67">http://tools.ietf.org/wg/httpbis/trac/ticket/67</a>>: "Quoting Charsets" |
---|
1982 | </li> |
---|
1983 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/113">http://tools.ietf.org/wg/httpbis/trac/ticket/113</a>>: "language tag matching (Accept-Language) vs RFC4647" |
---|
1984 | </li> |
---|
1985 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/121">http://tools.ietf.org/wg/httpbis/trac/ticket/121</a>>: "RFC 1806 has been replaced by RFC2183" |
---|
1986 | </li> |
---|
1987 | </ul> |
---|
1988 | <p id="rfc.section.E.5.p.2">Other changes: </p> |
---|
1989 | <ul> |
---|
1990 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/68">http://tools.ietf.org/wg/httpbis/trac/ticket/68</a>>: "Encoding References Normative" -- rephrase the annotation and reference <a href="#BCP97" id="rfc.xref.BCP97.4"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>. |
---|
1991 | </li> |
---|
1992 | </ul> |
---|
1993 | <h2 id="rfc.section.E.6"><a href="#rfc.section.E.6">E.6</a> <a id="changes.since.04" href="#changes.since.04">Since draft-ietf-httpbis-p3-payload-04</a></h2> |
---|
1994 | <p id="rfc.section.E.6.p.1">Closed issues: </p> |
---|
1995 | <ul> |
---|
1996 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/132">http://tools.ietf.org/wg/httpbis/trac/ticket/132</a>>: "RFC 2822 is updated by RFC 5322" |
---|
1997 | </li> |
---|
1998 | </ul> |
---|
1999 | <p id="rfc.section.E.6.p.2">Ongoing work on ABNF conversion (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>>): |
---|
2000 | </p> |
---|
2001 | <ul> |
---|
2002 | <li>Use "/" instead of "|" for alternatives.</li> |
---|
2003 | <li>Introduce new ABNF rules for "bad" whitespace ("BWS"), optional whitespace ("OWS") and required whitespace ("RWS").</li> |
---|
2004 | <li>Rewrite ABNFs to spell out whitespace rules, factor out header value format definitions.</li> |
---|
2005 | </ul> |
---|
2006 | <h2 id="rfc.section.E.7"><a href="#rfc.section.E.7">E.7</a> <a id="changes.since.05" href="#changes.since.05">Since draft-ietf-httpbis-p3-payload-05</a></h2> |
---|
2007 | <p id="rfc.section.E.7.p.1">Closed issues: </p> |
---|
2008 | <ul> |
---|
2009 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/118">http://tools.ietf.org/wg/httpbis/trac/ticket/118</a>>: "Join "Differences Between HTTP Entities and RFC 2045 Entities"?" |
---|
2010 | </li> |
---|
2011 | </ul> |
---|
2012 | <p id="rfc.section.E.7.p.2">Final work on ABNF conversion (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>>): |
---|
2013 | </p> |
---|
2014 | <ul> |
---|
2015 | <li>Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.</li> |
---|
2016 | </ul> |
---|
2017 | <p id="rfc.section.E.7.p.3">Other changes: </p> |
---|
2018 | <ul> |
---|
2019 | <li>Move definition of quality values into Part 1.</li> |
---|
2020 | </ul> |
---|
2021 | <h2 id="rfc.section.E.8"><a href="#rfc.section.E.8">E.8</a> <a id="changes.since.06" href="#changes.since.06">Since draft-ietf-httpbis-p3-payload-06</a></h2> |
---|
2022 | <p id="rfc.section.E.8.p.1">Closed issues: </p> |
---|
2023 | <ul> |
---|
2024 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/80">http://tools.ietf.org/wg/httpbis/trac/ticket/80</a>>: "Content-Location isn't special" |
---|
2025 | </li> |
---|
2026 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/155">http://tools.ietf.org/wg/httpbis/trac/ticket/155</a>>: "Content Sniffing" |
---|
2027 | </li> |
---|
2028 | </ul> |
---|
2029 | <h2 id="rfc.section.E.9"><a href="#rfc.section.E.9">E.9</a> <a id="changes.since.07" href="#changes.since.07">Since draft-ietf-httpbis-p3-payload-07</a></h2> |
---|
2030 | <p id="rfc.section.E.9.p.1">Closed issues: </p> |
---|
2031 | <ul> |
---|
2032 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/13">http://tools.ietf.org/wg/httpbis/trac/ticket/13</a>>: "Updated reference for language tags" |
---|
2033 | </li> |
---|
2034 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/110">http://tools.ietf.org/wg/httpbis/trac/ticket/110</a>>: "Clarify rules for determining what entities a response carries" |
---|
2035 | </li> |
---|
2036 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/154">http://tools.ietf.org/wg/httpbis/trac/ticket/154</a>>: "Content-Location base-setting problems" |
---|
2037 | </li> |
---|
2038 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/155">http://tools.ietf.org/wg/httpbis/trac/ticket/155</a>>: "Content Sniffing" |
---|
2039 | </li> |
---|
2040 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/188">http://tools.ietf.org/wg/httpbis/trac/ticket/188</a>>: "pick IANA policy (RFC5226) for Transfer Coding / Content Coding" |
---|
2041 | </li> |
---|
2042 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/189">http://tools.ietf.org/wg/httpbis/trac/ticket/189</a>>: "move definitions of gzip/deflate/compress to part 1" |
---|
2043 | </li> |
---|
2044 | </ul> |
---|
2045 | <p id="rfc.section.E.9.p.2">Partly resolved issues: </p> |
---|
2046 | <ul> |
---|
2047 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/148">http://tools.ietf.org/wg/httpbis/trac/ticket/148</a>>: "update IANA requirements wrt Transfer-Coding values" (add the IANA Considerations subsection) |
---|
2048 | </li> |
---|
2049 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/149">http://tools.ietf.org/wg/httpbis/trac/ticket/149</a>>: "update IANA requirements wrt Content-Coding values" (add the IANA Considerations subsection) |
---|
2050 | </li> |
---|
2051 | </ul> |
---|
2052 | <h2 id="rfc.section.E.10"><a href="#rfc.section.E.10">E.10</a> <a id="changes.since.08" href="#changes.since.08">Since draft-ietf-httpbis-p3-payload-08</a></h2> |
---|
2053 | <p id="rfc.section.E.10.p.1">Closed issues: </p> |
---|
2054 | <ul> |
---|
2055 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/81">http://tools.ietf.org/wg/httpbis/trac/ticket/81</a>>: "Content Negotiation for media types" |
---|
2056 | </li> |
---|
2057 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/181">http://tools.ietf.org/wg/httpbis/trac/ticket/181</a>>: "Accept-Language: which RFC4647 filtering?" |
---|
2058 | </li> |
---|
2059 | </ul> |
---|
2060 | <h2 id="rfc.section.E.11"><a href="#rfc.section.E.11">E.11</a> <a id="changes.since.09" href="#changes.since.09">Since draft-ietf-httpbis-p3-payload-09</a></h2> |
---|
2061 | <p id="rfc.section.E.11.p.1">Closed issues: </p> |
---|
2062 | <ul> |
---|
2063 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/143">http://tools.ietf.org/wg/httpbis/trac/ticket/143</a>>: "IANA registry for content/transfer encodings" |
---|
2064 | </li> |
---|
2065 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/155">http://tools.ietf.org/wg/httpbis/trac/ticket/155</a>>: "Content Sniffing" |
---|
2066 | </li> |
---|
2067 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/200">http://tools.ietf.org/wg/httpbis/trac/ticket/200</a>>: "use of term "word" when talking about header structure" |
---|
2068 | </li> |
---|
2069 | </ul> |
---|
2070 | <p id="rfc.section.E.11.p.2">Partly resolved issues: </p> |
---|
2071 | <ul> |
---|
2072 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/196">http://tools.ietf.org/wg/httpbis/trac/ticket/196</a>>: "Term for the requested resource's URI" |
---|
2073 | </li> |
---|
2074 | </ul> |
---|
2075 | <h2 id="rfc.section.E.12"><a href="#rfc.section.E.12">E.12</a> <a id="changes.since.10" href="#changes.since.10">Since draft-ietf-httpbis-p3-payload-10</a></h2> |
---|
2076 | <p id="rfc.section.E.12.p.1">Closed issues: </p> |
---|
2077 | <ul> |
---|
2078 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/69">http://tools.ietf.org/wg/httpbis/trac/ticket/69</a>>: "Clarify 'Requested Variant'" |
---|
2079 | </li> |
---|
2080 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/80">http://tools.ietf.org/wg/httpbis/trac/ticket/80</a>>: "Content-Location isn't special" |
---|
2081 | </li> |
---|
2082 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/90">http://tools.ietf.org/wg/httpbis/trac/ticket/90</a>>: "Delimiting messages with multipart/byteranges" |
---|
2083 | </li> |
---|
2084 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/109">http://tools.ietf.org/wg/httpbis/trac/ticket/109</a>>: "Clarify entity / representation / variant terminology" |
---|
2085 | </li> |
---|
2086 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/136">http://tools.ietf.org/wg/httpbis/trac/ticket/136</a>>: "confusing req. language for Content-Location" |
---|
2087 | </li> |
---|
2088 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/167">http://tools.ietf.org/wg/httpbis/trac/ticket/167</a>>: "Content-Location on 304 responses" |
---|
2089 | </li> |
---|
2090 | </ul> |
---|
2091 | <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1> |
---|
2092 | <p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.U">U</a> |
---|
2093 | </p> |
---|
2094 | <div class="print2col"> |
---|
2095 | <ul class="ind"> |
---|
2096 | <li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"> |
---|
2097 | <li class="indline1">Accept header <a class="iref" href="#rfc.xref.header.accept.1">2.3</a>, <a class="iref" href="#rfc.xref.header.accept.2">4.1</a>, <a class="iref" href="#rfc.iref.a.1"><b>5.1</b></a>, <a class="iref" href="#rfc.xref.header.accept.3">6.1</a></li> |
---|
2098 | <li class="indline1">Accept-Charset header <a class="iref" href="#rfc.xref.header.accept-charset.1">4.1</a>, <a class="iref" href="#rfc.iref.a.2"><b>5.2</b></a>, <a class="iref" href="#rfc.xref.header.accept-charset.2">6.1</a>, <a class="iref" href="#rfc.xref.header.accept-charset.3">C.1</a></li> |
---|
2099 | <li class="indline1">Accept-Encoding header <a class="iref" href="#rfc.xref.header.accept-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.accept-encoding.2">4.1</a>, <a class="iref" href="#rfc.iref.a.3"><b>5.3</b></a>, <a class="iref" href="#rfc.xref.header.accept-encoding.3">6.1</a></li> |
---|
2100 | <li class="indline1">Accept-Language header <a class="iref" href="#rfc.xref.header.accept-language.1">4.1</a>, <a class="iref" href="#rfc.iref.a.4"><b>5.4</b></a>, <a class="iref" href="#rfc.xref.header.accept-language.2">6.1</a></li> |
---|
2101 | <li class="indline1">Alternates header <a class="iref" href="#rfc.iref.a.5"><b>C.1</b></a></li> |
---|
2102 | </ul> |
---|
2103 | </li> |
---|
2104 | <li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"> |
---|
2105 | <li class="indline1"><em>BCP97</em> <a class="iref" href="#rfc.xref.BCP97.1">9.1</a>, <a class="iref" href="#rfc.xref.BCP97.2">9.1</a>, <a class="iref" href="#rfc.xref.BCP97.3">9.1</a>, <a class="iref" href="#BCP97"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.BCP97.4">E.5</a></li> |
---|
2106 | </ul> |
---|
2107 | </li> |
---|
2108 | <li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"> |
---|
2109 | <li class="indline1">Coding Format |
---|
2110 | <ul class="ind"> |
---|
2111 | <li class="indline1">compress <a class="iref" href="#rfc.iref.c.3">2.2</a></li> |
---|
2112 | <li class="indline1">deflate <a class="iref" href="#rfc.iref.c.4">2.2</a></li> |
---|
2113 | <li class="indline1">gzip <a class="iref" href="#rfc.iref.c.5">2.2</a></li> |
---|
2114 | <li class="indline1">identity <a class="iref" href="#rfc.iref.c.6">2.2</a></li> |
---|
2115 | </ul> |
---|
2116 | </li> |
---|
2117 | <li class="indline1">compress (Coding Format) <a class="iref" href="#rfc.iref.c.2">2.2</a></li> |
---|
2118 | <li class="indline1">content negotiation <a class="iref" href="#rfc.iref.c.1">1.1</a></li> |
---|
2119 | <li class="indline1">Content-Base header <a class="iref" href="#rfc.iref.c.14"><b>C.1</b></a></li> |
---|
2120 | <li class="indline1">Content-Disposition header <a class="iref" href="#rfc.xref.content-disposition.1">6.1</a>, <a class="iref" href="#rfc.xref.content-disposition.2">7.2</a>, <a class="iref" href="#rfc.iref.c.12"><b>B.1</b></a>, <a class="iref" href="#rfc.extref.c.32">B.1</a>, <a class="iref" href="#rfc.extref.c.50">D</a></li> |
---|
2121 | <li class="indline1">Content-Encoding header <a class="iref" href="#rfc.xref.header.content-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.content-encoding.2">3.1</a>, <a class="iref" href="#rfc.iref.c.7"><b>5.5</b></a>, <a class="iref" href="#rfc.xref.header.content-encoding.3">5.5</a>, <a class="iref" href="#rfc.xref.header.content-encoding.4">6.1</a></li> |
---|
2122 | <li class="indline1">Content-Language header <a class="iref" href="#rfc.xref.header.content-language.1">3.1</a>, <a class="iref" href="#rfc.iref.c.8"><b>5.6</b></a>, <a class="iref" href="#rfc.xref.header.content-language.2">6.1</a></li> |
---|
2123 | <li class="indline1">Content-Location header <a class="iref" href="#rfc.xref.header.content-location.1">3.1</a>, <a class="iref" href="#rfc.iref.c.9"><b>5.7</b></a>, <a class="iref" href="#rfc.xref.header.content-location.2">6.1</a>, <a class="iref" href="#rfc.xref.header.content-location.3">C.2</a></li> |
---|
2124 | <li class="indline1">Content-MD5 header <a class="iref" href="#rfc.xref.header.content-md5.1">3.1</a>, <a class="iref" href="#rfc.iref.c.10"><b>5.8</b></a>, <a class="iref" href="#rfc.xref.header.content-md5.2">6.1</a></li> |
---|
2125 | <li class="indline1">Content-Type header <a class="iref" href="#rfc.xref.header.content-type.1">2.3</a>, <a class="iref" href="#rfc.xref.header.content-type.2">3.1</a>, <a class="iref" href="#rfc.iref.c.11"><b>5.9</b></a>, <a class="iref" href="#rfc.xref.header.content-type.3">6.1</a></li> |
---|
2126 | <li class="indline1">Content-Version header <a class="iref" href="#rfc.iref.c.13"><b>C.1</b></a></li> |
---|
2127 | </ul> |
---|
2128 | </li> |
---|
2129 | <li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"> |
---|
2130 | <li class="indline1">deflate (Coding Format) <a class="iref" href="#rfc.iref.d.1">2.2</a></li> |
---|
2131 | <li class="indline1">Derived-From header <a class="iref" href="#rfc.iref.d.2"><b>C.1</b></a></li> |
---|
2132 | </ul> |
---|
2133 | </li> |
---|
2134 | <li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"> |
---|
2135 | <li class="indline1"><tt>Grammar</tt> |
---|
2136 | <ul class="ind"> |
---|
2137 | <li class="indline1"><tt>Accept</tt> <a class="iref" href="#rfc.iref.g.13"><b>5.1</b></a></li> |
---|
2138 | <li class="indline1"><tt>Accept-Charset</tt> <a class="iref" href="#rfc.iref.g.18"><b>5.2</b></a></li> |
---|
2139 | <li class="indline1"><tt>Accept-Charset-v</tt> <a class="iref" href="#rfc.iref.g.19"><b>5.2</b></a></li> |
---|
2140 | <li class="indline1"><tt>Accept-Encoding</tt> <a class="iref" href="#rfc.iref.g.20"><b>5.3</b></a></li> |
---|
2141 | <li class="indline1"><tt>Accept-Encoding-v</tt> <a class="iref" href="#rfc.iref.g.21"><b>5.3</b></a></li> |
---|
2142 | <li class="indline1"><tt>accept-ext</tt> <a class="iref" href="#rfc.iref.g.17"><b>5.1</b></a></li> |
---|
2143 | <li class="indline1"><tt>Accept-Language</tt> <a class="iref" href="#rfc.iref.g.23"><b>5.4</b></a></li> |
---|
2144 | <li class="indline1"><tt>Accept-Language-v</tt> <a class="iref" href="#rfc.iref.g.24"><b>5.4</b></a></li> |
---|
2145 | <li class="indline1"><tt>accept-params</tt> <a class="iref" href="#rfc.iref.g.16"><b>5.1</b></a></li> |
---|
2146 | <li class="indline1"><tt>Accept-v</tt> <a class="iref" href="#rfc.iref.g.14"><b>5.1</b></a></li> |
---|
2147 | <li class="indline1"><tt>attribute</tt> <a class="iref" href="#rfc.iref.g.8"><b>2.3</b></a></li> |
---|
2148 | <li class="indline1"><tt>charset</tt> <a class="iref" href="#rfc.iref.g.1"><b>2.1</b></a></li> |
---|
2149 | <li class="indline1"><tt>codings</tt> <a class="iref" href="#rfc.iref.g.22"><b>5.3</b></a></li> |
---|
2150 | <li class="indline1"><tt>content-coding</tt> <a class="iref" href="#rfc.iref.g.2"><b>2.2</b></a></li> |
---|
2151 | <li class="indline1"><tt>content-disposition</tt> <a class="iref" href="#rfc.iref.g.38"><b>B.1</b></a></li> |
---|
2152 | <li class="indline1"><tt>content-disposition-v</tt> <a class="iref" href="#rfc.iref.g.39"><b>B.1</b></a></li> |
---|
2153 | <li class="indline1"><tt>Content-Encoding</tt> <a class="iref" href="#rfc.iref.g.26"><b>5.5</b></a></li> |
---|
2154 | <li class="indline1"><tt>Content-Encoding-v</tt> <a class="iref" href="#rfc.iref.g.27"><b>5.5</b></a></li> |
---|
2155 | <li class="indline1"><tt>Content-Language</tt> <a class="iref" href="#rfc.iref.g.28"><b>5.6</b></a></li> |
---|
2156 | <li class="indline1"><tt>Content-Language-v</tt> <a class="iref" href="#rfc.iref.g.29"><b>5.6</b></a></li> |
---|
2157 | <li class="indline1"><tt>Content-Location</tt> <a class="iref" href="#rfc.iref.g.30"><b>5.7</b></a></li> |
---|
2158 | <li class="indline1"><tt>Content-Location-v</tt> <a class="iref" href="#rfc.iref.g.31"><b>5.7</b></a></li> |
---|
2159 | <li class="indline1"><tt>Content-MD5</tt> <a class="iref" href="#rfc.iref.g.32"><b>5.8</b></a></li> |
---|
2160 | <li class="indline1"><tt>Content-MD5-v</tt> <a class="iref" href="#rfc.iref.g.33"><b>5.8</b></a></li> |
---|
2161 | <li class="indline1"><tt>Content-Type</tt> <a class="iref" href="#rfc.iref.g.34"><b>5.9</b></a></li> |
---|
2162 | <li class="indline1"><tt>Content-Type-v</tt> <a class="iref" href="#rfc.iref.g.35"><b>5.9</b></a></li> |
---|
2163 | <li class="indline1"><tt>disp-extension-parm</tt> <a class="iref" href="#rfc.iref.g.44"><b>B.1</b></a></li> |
---|
2164 | <li class="indline1"><tt>disp-extension-token</tt> <a class="iref" href="#rfc.iref.g.43"><b>B.1</b></a></li> |
---|
2165 | <li class="indline1"><tt>disposition-parm</tt> <a class="iref" href="#rfc.iref.g.41"><b>B.1</b></a></li> |
---|
2166 | <li class="indline1"><tt>disposition-type</tt> <a class="iref" href="#rfc.iref.g.40"><b>B.1</b></a></li> |
---|
2167 | <li class="indline1"><tt>entity-header</tt> <a class="iref" href="#rfc.iref.g.11"><b>3.1</b></a></li> |
---|
2168 | <li class="indline1"><tt>extension-header</tt> <a class="iref" href="#rfc.iref.g.12"><b>3.1</b></a></li> |
---|
2169 | <li class="indline1"><tt>filename-parm</tt> <a class="iref" href="#rfc.iref.g.42"><b>B.1</b></a></li> |
---|
2170 | <li class="indline1"><tt>language-range</tt> <a class="iref" href="#rfc.iref.g.25"><b>5.4</b></a></li> |
---|
2171 | <li class="indline1"><tt>language-tag</tt> <a class="iref" href="#rfc.iref.g.10"><b>2.4</b></a></li> |
---|
2172 | <li class="indline1"><tt>media-range</tt> <a class="iref" href="#rfc.iref.g.15"><b>5.1</b></a></li> |
---|
2173 | <li class="indline1"><tt>media-type</tt> <a class="iref" href="#rfc.iref.g.4"><b>2.3</b></a></li> |
---|
2174 | <li class="indline1"><tt>MIME-Version</tt> <a class="iref" href="#rfc.iref.g.36"><b>A.1</b></a></li> |
---|
2175 | <li class="indline1"><tt>MIME-Version-v</tt> <a class="iref" href="#rfc.iref.g.37"><b>A.1</b></a></li> |
---|
2176 | <li class="indline1"><tt>parameter</tt> <a class="iref" href="#rfc.iref.g.7"><b>2.3</b></a></li> |
---|
2177 | <li class="indline1"><tt>subtype</tt> <a class="iref" href="#rfc.iref.g.6"><b>2.3</b></a></li> |
---|
2178 | <li class="indline1"><tt>type</tt> <a class="iref" href="#rfc.iref.g.5"><b>2.3</b></a></li> |
---|
2179 | <li class="indline1"><tt>value</tt> <a class="iref" href="#rfc.iref.g.9"><b>2.3</b></a></li> |
---|
2180 | </ul> |
---|
2181 | </li> |
---|
2182 | <li class="indline1">gzip (Coding Format) <a class="iref" href="#rfc.iref.g.3">2.2</a></li> |
---|
2183 | </ul> |
---|
2184 | </li> |
---|
2185 | <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"> |
---|
2186 | <li class="indline1">Headers |
---|
2187 | <ul class="ind"> |
---|
2188 | <li class="indline1">Accept <a class="iref" href="#rfc.xref.header.accept.1">2.3</a>, <a class="iref" href="#rfc.xref.header.accept.2">4.1</a>, <a class="iref" href="#rfc.iref.h.1"><b>5.1</b></a>, <a class="iref" href="#rfc.xref.header.accept.3">6.1</a></li> |
---|
2189 | <li class="indline1">Accept-Charset <a class="iref" href="#rfc.xref.header.accept-charset.1">4.1</a>, <a class="iref" href="#rfc.iref.h.2"><b>5.2</b></a>, <a class="iref" href="#rfc.xref.header.accept-charset.2">6.1</a>, <a class="iref" href="#rfc.xref.header.accept-charset.3">C.1</a></li> |
---|
2190 | <li class="indline1">Accept-Encoding <a class="iref" href="#rfc.xref.header.accept-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.accept-encoding.2">4.1</a>, <a class="iref" href="#rfc.iref.h.3"><b>5.3</b></a>, <a class="iref" href="#rfc.xref.header.accept-encoding.3">6.1</a></li> |
---|
2191 | <li class="indline1">Accept-Language <a class="iref" href="#rfc.xref.header.accept-language.1">4.1</a>, <a class="iref" href="#rfc.iref.h.4"><b>5.4</b></a>, <a class="iref" href="#rfc.xref.header.accept-language.2">6.1</a></li> |
---|
2192 | <li class="indline1">Alternate <a class="iref" href="#rfc.iref.h.12"><b>C.1</b></a></li> |
---|
2193 | <li class="indline1">Content-Base <a class="iref" href="#rfc.iref.h.18"><b>C.1</b></a></li> |
---|
2194 | <li class="indline1">Content-Disposition <a class="iref" href="#rfc.xref.content-disposition.1">6.1</a>, <a class="iref" href="#rfc.xref.content-disposition.2">7.2</a>, <a class="iref" href="#rfc.iref.h.11"><b>B.1</b></a>, <a class="iref" href="#rfc.extref.c.32">B.1</a>, <a class="iref" href="#rfc.extref.c.50">D</a></li> |
---|
2195 | <li class="indline1">Content-Encoding <a class="iref" href="#rfc.xref.header.content-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.content-encoding.2">3.1</a>, <a class="iref" href="#rfc.iref.h.5"><b>5.5</b></a>, <a class="iref" href="#rfc.xref.header.content-encoding.3">5.5</a>, <a class="iref" href="#rfc.xref.header.content-encoding.4">6.1</a></li> |
---|
2196 | <li class="indline1">Content-Language <a class="iref" href="#rfc.xref.header.content-language.1">3.1</a>, <a class="iref" href="#rfc.iref.h.6"><b>5.6</b></a>, <a class="iref" href="#rfc.xref.header.content-language.2">6.1</a></li> |
---|
2197 | <li class="indline1">Content-Location <a class="iref" href="#rfc.xref.header.content-location.1">3.1</a>, <a class="iref" href="#rfc.iref.h.7"><b>5.7</b></a>, <a class="iref" href="#rfc.xref.header.content-location.2">6.1</a>, <a class="iref" href="#rfc.xref.header.content-location.3">C.2</a></li> |
---|
2198 | <li class="indline1">Content-MD5 <a class="iref" href="#rfc.xref.header.content-md5.1">3.1</a>, <a class="iref" href="#rfc.iref.h.8"><b>5.8</b></a>, <a class="iref" href="#rfc.xref.header.content-md5.2">6.1</a></li> |
---|
2199 | <li class="indline1">Content-Type <a class="iref" href="#rfc.xref.header.content-type.1">2.3</a>, <a class="iref" href="#rfc.xref.header.content-type.2">3.1</a>, <a class="iref" href="#rfc.iref.h.9"><b>5.9</b></a>, <a class="iref" href="#rfc.xref.header.content-type.3">6.1</a></li> |
---|
2200 | <li class="indline1">Content-Version <a class="iref" href="#rfc.iref.h.13"><b>C.1</b></a></li> |
---|
2201 | <li class="indline1">Derived-From <a class="iref" href="#rfc.iref.h.14"><b>C.1</b></a></li> |
---|
2202 | <li class="indline1">Link <a class="iref" href="#rfc.iref.h.15"><b>C.1</b></a></li> |
---|
2203 | <li class="indline1">MIME-Version <a class="iref" href="#rfc.xref.mime-version.1">6.1</a>, <a class="iref" href="#rfc.iref.h.10"><b>A.1</b></a></li> |
---|
2204 | <li class="indline1">Public <a class="iref" href="#rfc.iref.h.17"><b>C.1</b></a></li> |
---|
2205 | <li class="indline1">URI <a class="iref" href="#rfc.iref.h.16"><b>C.1</b></a></li> |
---|
2206 | </ul> |
---|
2207 | </li> |
---|
2208 | </ul> |
---|
2209 | </li> |
---|
2210 | <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"> |
---|
2211 | <li class="indline1">identity (Coding Format) <a class="iref" href="#rfc.iref.i.1">2.2</a></li> |
---|
2212 | <li class="indline1"><em>ISO-8859-1</em> <a class="iref" href="#rfc.xref.ISO-8859-1.1">2.1.1</a>, <a class="iref" href="#ISO-8859-1"><b>9.1</b></a></li> |
---|
2213 | </ul> |
---|
2214 | </li> |
---|
2215 | <li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"> |
---|
2216 | <li class="indline1">Link header <a class="iref" href="#rfc.iref.l.1"><b>C.1</b></a></li> |
---|
2217 | </ul> |
---|
2218 | </li> |
---|
2219 | <li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"> |
---|
2220 | <li class="indline1">MIME-Version header <a class="iref" href="#rfc.xref.mime-version.1">6.1</a>, <a class="iref" href="#rfc.iref.m.1"><b>A.1</b></a></li> |
---|
2221 | </ul> |
---|
2222 | </li> |
---|
2223 | <li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"> |
---|
2224 | <li class="indline1"><em>Part1</em> <a class="iref" href="#rfc.xref.Part1.1">1.3</a>, <a class="iref" href="#rfc.xref.Part1.2">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.5">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.6">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.7">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.8">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.9">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.10">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.11">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.12">2.2</a>, <a class="iref" href="#rfc.xref.Part1.13">2.2</a>, <a class="iref" href="#rfc.xref.Part1.14">2.2</a>, <a class="iref" href="#rfc.xref.Part1.15">2.2.1</a>, <a class="iref" href="#rfc.xref.Part1.16">2.2.1</a>, <a class="iref" href="#rfc.xref.Part1.17">3.1</a>, <a class="iref" href="#rfc.xref.Part1.18">3.2</a>, <a class="iref" href="#rfc.xref.Part1.19">5.1</a>, <a class="iref" href="#rfc.xref.Part1.20">5.3</a>, <a class="iref" href="#rfc.xref.Part1.21">5.7</a>, <a class="iref" href="#rfc.xref.Part1.22">6.2</a>, <a class="iref" href="#rfc.xref.Part1.23">6.2</a>, <a class="iref" href="#rfc.xref.Part1.24">6.2</a>, <a class="iref" href="#Part1"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.Part1.25">A.3</a>, <a class="iref" href="#rfc.xref.Part1.26">A.6</a><ul class="ind"> |
---|
2225 | <li class="indline1"><em>Section 1.2</em> <a class="iref" href="#rfc.xref.Part1.1">1.3</a></li> |
---|
2226 | <li class="indline1"><em>Section 1.2.2</em> <a class="iref" href="#rfc.xref.Part1.2">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.5">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.6">1.3.1</a></li> |
---|
2227 | <li class="indline1"><em>Section 2.6</em> <a class="iref" href="#rfc.xref.Part1.7">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.10">1.3.2</a></li> |
---|
2228 | <li class="indline1"><em>Section 3.2</em> <a class="iref" href="#rfc.xref.Part1.9">1.3.2</a></li> |
---|
2229 | <li class="indline1"><em>Section 3.3</em> <a class="iref" href="#rfc.xref.Part1.18">3.2</a></li> |
---|
2230 | <li class="indline1"><em>Section 4.3</em> <a class="iref" href="#rfc.xref.Part1.21">5.7</a></li> |
---|
2231 | <li class="indline1"><em>Section 6.1</em> <a class="iref" href="#rfc.xref.Part1.25">A.3</a></li> |
---|
2232 | <li class="indline1"><em>Section 6.2</em> <a class="iref" href="#rfc.xref.Part1.15">2.2.1</a></li> |
---|
2233 | <li class="indline1"><em>Section 6.2.2.1</em> <a class="iref" href="#rfc.xref.Part1.12">2.2</a>, <a class="iref" href="#rfc.xref.Part1.22">6.2</a></li> |
---|
2234 | <li class="indline1"><em>Section 6.2.2</em> <a class="iref" href="#rfc.xref.Part1.16">2.2.1</a></li> |
---|
2235 | <li class="indline1"><em>Section 6.2.2.2</em> <a class="iref" href="#rfc.xref.Part1.13">2.2</a>, <a class="iref" href="#rfc.xref.Part1.23">6.2</a></li> |
---|
2236 | <li class="indline1"><em>Section 6.2.2.3</em> <a class="iref" href="#rfc.xref.Part1.14">2.2</a>, <a class="iref" href="#rfc.xref.Part1.24">6.2</a></li> |
---|
2237 | <li class="indline1"><em>Section 6.4</em> <a class="iref" href="#rfc.xref.Part1.11">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.19">5.1</a>, <a class="iref" href="#rfc.xref.Part1.20">5.3</a></li> |
---|
2238 | <li class="indline1"><em>Section 9.2</em> <a class="iref" href="#rfc.xref.Part1.8">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.17">3.1</a></li> |
---|
2239 | <li class="indline1"><em>Section 9.7</em> <a class="iref" href="#rfc.xref.Part1.26">A.6</a></li> |
---|
2240 | </ul> |
---|
2241 | </li> |
---|
2242 | <li class="indline1"><em>Part2</em> <a class="iref" href="#rfc.xref.Part2.1">4.1</a>, <a class="iref" href="#Part2"><b>9.1</b></a><ul class="ind"> |
---|
2243 | <li class="indline1"><em>Section 9.9</em> <a class="iref" href="#rfc.xref.Part2.1">4.1</a></li> |
---|
2244 | </ul> |
---|
2245 | </li> |
---|
2246 | <li class="indline1"><em>Part4</em> <a class="iref" href="#rfc.xref.Part4.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part4.2">3.1</a>, <a class="iref" href="#Part4"><b>9.1</b></a><ul class="ind"> |
---|
2247 | <li class="indline1"><em>Section 6.6</em> <a class="iref" href="#rfc.xref.Part4.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part4.2">3.1</a></li> |
---|
2248 | </ul> |
---|
2249 | </li> |
---|
2250 | <li class="indline1"><em>Part5</em> <a class="iref" href="#rfc.xref.Part5.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part5.2">3.1</a>, <a class="iref" href="#Part5"><b>9.1</b></a><ul class="ind"> |
---|
2251 | <li class="indline1"><em>Section 5.2</em> <a class="iref" href="#rfc.xref.Part5.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part5.2">3.1</a></li> |
---|
2252 | </ul> |
---|
2253 | </li> |
---|
2254 | <li class="indline1"><em>Part6</em> <a class="iref" href="#rfc.xref.Part6.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part6.2">3.1</a>, <a class="iref" href="#rfc.xref.Part6.3">4.1</a>, <a class="iref" href="#Part6"><b>9.1</b></a><ul class="ind"> |
---|
2255 | <li class="indline1"><em>Section 3.3</em> <a class="iref" href="#rfc.xref.Part6.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part6.2">3.1</a></li> |
---|
2256 | <li class="indline1"><em>Section 3.5</em> <a class="iref" href="#rfc.xref.Part6.3">4.1</a></li> |
---|
2257 | </ul> |
---|
2258 | </li> |
---|
2259 | <li class="indline1">payload <a class="iref" href="#rfc.iref.p.1">1.1</a></li> |
---|
2260 | <li class="indline1">Public header <a class="iref" href="#rfc.iref.p.2"><b>C.1</b></a></li> |
---|
2261 | </ul> |
---|
2262 | </li> |
---|
2263 | <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"> |
---|
2264 | <li class="indline1">representation <a class="iref" href="#rfc.iref.r.1">1.1</a></li> |
---|
2265 | <li class="indline1"><em>RFC1864</em> <a class="iref" href="#rfc.xref.RFC1864.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC1864.2">5.8</a>, <a class="iref" href="#RFC1864"><b>9.1</b></a></li> |
---|
2266 | <li class="indline1"><em>RFC1945</em> <a class="iref" href="#RFC1945"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC1945.1">B</a></li> |
---|
2267 | <li class="indline1"><em>RFC1950</em> <a class="iref" href="#rfc.xref.RFC1950.1">6.2</a>, <a class="iref" href="#RFC1950"><b>9.1</b></a></li> |
---|
2268 | <li class="indline1"><em>RFC1951</em> <a class="iref" href="#rfc.xref.RFC1951.1">6.2</a>, <a class="iref" href="#RFC1951"><b>9.1</b></a></li> |
---|
2269 | <li class="indline1"><em>RFC1952</em> <a class="iref" href="#rfc.xref.RFC1952.1">6.2</a>, <a class="iref" href="#RFC1952"><b>9.1</b></a></li> |
---|
2270 | <li class="indline1"><em>RFC2045</em> <a class="iref" href="#RFC2045"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.RFC2045.1">A</a>, <a class="iref" href="#rfc.xref.RFC2045.2">A.1</a></li> |
---|
2271 | <li class="indline1"><em>RFC2046</em> <a class="iref" href="#rfc.xref.RFC2046.1">2.3</a>, <a class="iref" href="#rfc.xref.RFC2046.2">2.3.2</a>, <a class="iref" href="#rfc.xref.RFC2046.3">3.2.1</a>, <a class="iref" href="#RFC2046"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.RFC2046.4">A.2</a><ul class="ind"> |
---|
2272 | <li class="indline1"><em>Section 4.5.1</em> <a class="iref" href="#rfc.xref.RFC2046.3">3.2.1</a></li> |
---|
2273 | <li class="indline1"><em>Section 5.1.1</em> <a class="iref" href="#rfc.xref.RFC2046.2">2.3.2</a></li> |
---|
2274 | </ul> |
---|
2275 | </li> |
---|
2276 | <li class="indline1"><em>RFC2049</em> <a class="iref" href="#RFC2049"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2049.1">A.2</a><ul class="ind"> |
---|
2277 | <li class="indline1"><em>Section 4</em> <a class="iref" href="#rfc.xref.RFC2049.1">A.2</a></li> |
---|
2278 | </ul> |
---|
2279 | </li> |
---|
2280 | <li class="indline1"><em>RFC2068</em> <a class="iref" href="#rfc.xref.RFC2068.1">9.1</a>, <a class="iref" href="#rfc.xref.RFC2068.2">9.1</a>, <a class="iref" href="#rfc.xref.RFC2068.3">9.1</a>, <a class="iref" href="#RFC2068"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2068.4">B</a>, <a class="iref" href="#rfc.xref.RFC2068.5">C.1</a><ul class="ind"> |
---|
2281 | <li class="indline1"><em>Section 19.6.2</em> <a class="iref" href="#rfc.xref.RFC2068.5">C.1</a></li> |
---|
2282 | </ul> |
---|
2283 | </li> |
---|
2284 | <li class="indline1"><em>RFC2076</em> <a class="iref" href="#RFC2076"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2076.1">B</a></li> |
---|
2285 | <li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">1.2</a>, <a class="iref" href="#RFC2119"><b>9.1</b></a></li> |
---|
2286 | <li class="indline1"><em>RFC2183</em> <a class="iref" href="#rfc.xref.RFC2183.1">7.2</a>, <a class="iref" href="#rfc.xref.RFC2183.2">7.2</a>, <a class="iref" href="#RFC2183"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2183.3">B.1</a><ul class="ind"> |
---|
2287 | <li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2183.2">7.2</a></li> |
---|
2288 | </ul> |
---|
2289 | </li> |
---|
2290 | <li class="indline1"><em>RFC2277</em> <a class="iref" href="#rfc.xref.RFC2277.1">2.1</a>, <a class="iref" href="#RFC2277"><b>9.2</b></a></li> |
---|
2291 | <li class="indline1"><em>RFC2295</em> <a class="iref" href="#rfc.xref.RFC2295.1">4</a>, <a class="iref" href="#RFC2295"><b>9.2</b></a></li> |
---|
2292 | <li class="indline1"><em>RFC2388</em> <a class="iref" href="#rfc.xref.RFC2388.1">2.3.2</a>, <a class="iref" href="#RFC2388"><b>9.2</b></a></li> |
---|
2293 | <li class="indline1"><em>RFC2557</em> <a class="iref" href="#rfc.xref.RFC2557.1">5.7</a>, <a class="iref" href="#RFC2557"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2557.2">A.7</a>, <a class="iref" href="#rfc.xref.RFC2557.3">C.1</a><ul class="ind"> |
---|
2294 | <li class="indline1"><em>Section 4</em> <a class="iref" href="#rfc.xref.RFC2557.1">5.7</a></li> |
---|
2295 | </ul> |
---|
2296 | </li> |
---|
2297 | <li class="indline1"><em>RFC2616</em> <a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">5.4</a>, <a class="iref" href="#RFC2616"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2616.3">E.1</a><ul class="ind"> |
---|
2298 | <li class="indline1"><em>Section 14.4</em> <a class="iref" href="#rfc.xref.RFC2616.2">5.4</a></li> |
---|
2299 | </ul> |
---|
2300 | </li> |
---|
2301 | <li class="indline1"><em>RFC3629</em> <a class="iref" href="#rfc.xref.RFC3629.1">2.1</a>, <a class="iref" href="#RFC3629"><b>9.2</b></a></li> |
---|
2302 | <li class="indline1"><em>RFC3864</em> <a class="iref" href="#rfc.xref.RFC3864.1">6.1</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li> |
---|
2303 | <li class="indline1"><em>RFC4288</em> <a class="iref" href="#rfc.xref.RFC4288.1">2.3</a>, <a class="iref" href="#RFC4288"><b>9.2</b></a></li> |
---|
2304 | <li class="indline1"><em>RFC4647</em> <a class="iref" href="#rfc.xref.RFC4647.1">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.3">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.4">5.4</a>, <a class="iref" href="#RFC4647"><b>9.1</b></a><ul class="ind"> |
---|
2305 | <li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC4647.1">5.4</a></li> |
---|
2306 | <li class="indline1"><em>Section 2.3</em> <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a></li> |
---|
2307 | <li class="indline1"><em>Section 3</em> <a class="iref" href="#rfc.xref.RFC4647.3">5.4</a></li> |
---|
2308 | <li class="indline1"><em>Section 3.3.1</em> <a class="iref" href="#rfc.xref.RFC4647.4">5.4</a></li> |
---|
2309 | </ul> |
---|
2310 | </li> |
---|
2311 | <li class="indline1"><em>RFC5226</em> <a class="iref" href="#rfc.xref.RFC5226.1">2.2.1</a>, <a class="iref" href="#RFC5226"><b>9.2</b></a><ul class="ind"> |
---|
2312 | <li class="indline1"><em>Section 4.1</em> <a class="iref" href="#rfc.xref.RFC5226.1">2.2.1</a></li> |
---|
2313 | </ul> |
---|
2314 | </li> |
---|
2315 | <li class="indline1"><em>RFC5234</em> <a class="iref" href="#rfc.xref.RFC5234.1">1.3</a>, <a class="iref" href="#rfc.xref.RFC5234.2">1.3</a>, <a class="iref" href="#RFC5234"><b>9.1</b></a><ul class="ind"> |
---|
2316 | <li class="indline1"><em>Appendix B.1</em> <a class="iref" href="#rfc.xref.RFC5234.2">1.3</a></li> |
---|
2317 | </ul> |
---|
2318 | </li> |
---|
2319 | <li class="indline1"><em>RFC5322</em> <a class="iref" href="#RFC5322"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC5322.1">A</a></li> |
---|
2320 | <li class="indline1"><em>RFC5646</em> <a class="iref" href="#rfc.xref.RFC5646.1">2.4</a>, <a class="iref" href="#rfc.xref.RFC5646.2">2.4</a>, <a class="iref" href="#rfc.xref.RFC5646.3">2.4</a>, <a class="iref" href="#RFC5646"><b>9.1</b></a><ul class="ind"> |
---|
2321 | <li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC5646.2">2.4</a></li> |
---|
2322 | </ul> |
---|
2323 | </li> |
---|
2324 | </ul> |
---|
2325 | </li> |
---|
2326 | <li class="indline0"><a id="rfc.index.U" href="#rfc.index.U"><b>U</b></a><ul class="ind"> |
---|
2327 | <li class="indline1">URI header <a class="iref" href="#rfc.iref.u.1"><b>C.1</b></a></li> |
---|
2328 | </ul> |
---|
2329 | </li> |
---|
2330 | </ul> |
---|
2331 | </div> |
---|
2332 | </body> |
---|
2333 | </html> |
---|