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