Changeset 2726 for draft-ietf-httpbis-content-disp/03
- Timestamp:
- 14/06/14 11:20:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis-content-disp/03/draft-ietf-httpbis-content-disp.html
r1056 r2726 2 2 PUBLIC "-//W3C//DTD HTML 4.01//EN"> 3 3 <html lang="en"> 4 <head profile="http:// www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">4 <head profile="http://dublincore.org/documents/2008/08/04/dc-html/"> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 6 6 <title>Use of the Content-Disposition Header Field … … 33 33 body { 34 34 color: black; 35 font-family: verdana, helvetica, arial, sans-serif; 36 font-size: 10pt; 35 font-family: cambria, helvetica, arial, sans-serif; 36 font-size: 11pt; 37 margin-right: 2em; 37 38 } 38 39 cite { … … 42 43 margin-left: 2em; 43 44 } 44 dd {45 margin-right: 2em;46 }47 45 dl { 48 46 margin-left: 2em; 49 47 } 50 51 48 ul.empty { 52 49 list-style-type: none; … … 62 59 } 63 60 h1 { 64 font-size: 1 4pt;61 font-size: 130%; 65 62 line-height: 21pt; 66 63 page-break-after: avoid; … … 69 66 page-break-before: always; 70 67 } 71 h1 a {72 color: #333333;73 }74 68 h2 { 75 font-size: 12 pt;69 font-size: 120%; 76 70 line-height: 15pt; 77 71 page-break-after: avoid; 78 72 } 79 h3 , h4, h5, h6{80 font-size: 1 0pt;73 h3 { 74 font-size: 110%; 81 75 page-break-after: avoid; 82 76 } 83 h2 a, h3 a, h4 a, h5 a, h6 a { 77 h4, h5, h6 { 78 page-break-after: avoid; 79 } 80 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { 84 81 color: black; 85 82 } … … 89 86 li { 90 87 margin-left: 2em; 91 margin-right: 2em;92 88 } 93 89 ol { 94 90 margin-left: 2em; 95 margin-right: 2em; 91 } 92 ol.la { 93 list-style-type: lower-alpha; 94 } 95 ol.ua { 96 list-style-type: upper-alpha; 96 97 } 97 98 ol p { … … 100 101 p { 101 102 margin-left: 2em; 102 margin-right: 2em;103 103 } 104 104 pre { … … 106 106 background-color: lightyellow; 107 107 padding: .25em; 108 page-break-inside: avoid; 108 109 } 109 110 pre.text2 { … … 134 135 table.tt { 135 136 vertical-align: top; 137 border-color: gray; 138 } 139 table.tt th { 140 border-color: gray; 141 } 142 table.tt td { 143 border-color: gray; 144 } 145 table.all { 146 border-style: solid; 147 border-width: 2px; 136 148 } 137 149 table.full { 138 border-style: outset; 139 border-width: 1px; 140 } 141 table.headers { 142 border-style: outset; 143 border-width: 1px; 150 border-style: solid; 151 border-width: 2px; 144 152 } 145 153 table.tt td { 146 154 vertical-align: top; 147 155 } 156 table.all td { 157 border-style: solid; 158 border-width: 1px; 159 } 148 160 table.full td { 149 border-style: inset;161 border-style: none solid; 150 162 border-width: 1px; 151 163 } … … 153 165 vertical-align: top; 154 166 } 167 table.all th { 168 border-style: solid; 169 border-width: 1px; 170 } 155 171 table.full th { 156 border-style: inset;157 border-width: 1px ;172 border-style: solid; 173 border-width: 1px 1px 2px 1px; 158 174 } 159 175 table.headers th { 160 border-style: none none insetnone;161 border-width: 1px;176 border-style: none none solid none; 177 border-width: 2px; 162 178 } 163 179 table.left { … … 174 190 caption-side: bottom; 175 191 font-weight: bold; 176 font-size: 9pt;192 font-size: 10pt; 177 193 margin-top: .5em; 178 194 } … … 181 197 border-spacing: 1px; 182 198 width: 95%; 183 font-size: 1 0pt;199 font-size: 11pt; 184 200 color: white; 185 201 } … … 189 205 td.topnowrap { 190 206 vertical-align: top; 191 white-space: nowrap; 207 white-space: nowrap; 192 208 } 193 209 table.header td { … … 206 222 display:table-header-group; 207 223 } 208 ul.toc {224 ul.toc, ul.toc ul { 209 225 list-style: none; 210 226 margin-left: 1.5em; 211 margin-right: 0em;212 227 padding-left: 0em; 213 228 } 214 li.tocline0{229 ul.toc li { 215 230 line-height: 150%; 216 231 font-weight: bold; 232 margin-left: 0em; 233 } 234 ul.toc li li { 235 line-height: normal; 236 font-weight: normal; 217 237 font-size: 10pt; 218 238 margin-left: 0em; 219 margin-right: 0em; 220 } 221 li.tocline1 { 222 line-height: normal; 223 font-weight: normal; 224 font-size: 9pt; 225 margin-left: 0em; 226 margin-right: 0em; 227 } 228 li.tocline2 { 239 } 240 li.excluded { 229 241 font-size: 0pt; 230 242 } … … 232 244 margin-left: 0em; 233 245 } 234 ul.ind { 246 .title, .filename, h1, h2, h3, h4 { 247 font-family: candara, helvetica, arial, sans-serif; 248 } 249 samp, tt, code, pre { 250 font: consolas, monospace; 251 } 252 ul.ind, ul.ind ul { 235 253 list-style: none; 236 254 margin-left: 1.5em; 237 margin-right: 0em;238 255 padding-left: 0em; 239 256 page-break-before: avoid; 240 257 } 241 li.indline0{258 ul.ind li { 242 259 font-weight: bold; 243 260 line-height: 200%; 244 261 margin-left: 0em; 245 margin-right: 0em; 246 } 247 li.indline1 { 262 } 263 ul.ind li li { 248 264 font-weight: normal; 249 265 line-height: 150%; 250 266 margin-left: 0em; 251 margin-right: 0em;252 267 } 253 268 .avoidbreak { … … 276 291 font-weight: bold; 277 292 text-align: center; 278 font-size: 9pt;293 font-size: 10pt; 279 294 } 280 295 .filename { 281 296 color: #333333; 297 font-size: 75%; 282 298 font-weight: bold; 283 font-size: 12pt;284 299 line-height: 21pt; 285 300 text-align: center; … … 288 303 font-weight: bold; 289 304 } 290 .hidden {291 display: none;292 }293 305 .left { 294 306 text-align: left; … … 298 310 } 299 311 .title { 300 color: #990000;301 font-size: 1 8pt;312 color: green; 313 font-size: 150%; 302 314 line-height: 18pt; 303 315 font-weight: bold; … … 305 317 margin-top: 36pt; 306 318 } 307 .vcardline {308 display: block;309 }310 319 .warning { 311 font-size: 1 4pt;320 font-size: 130%; 312 321 background-color: yellow; 313 322 } … … 318 327 display: none; 319 328 } 320 329 321 330 a { 322 331 color: black; … … 333 342 background-color: white; 334 343 vertical-align: top; 335 font-size: 1 2pt;336 } 337 338 ul.toc a: :after {344 font-size: 110%; 345 } 346 347 ul.toc a:nth-child(2)::after { 339 348 content: leader('.') target-counter(attr(href), page); 340 349 } 341 342 a.iref{350 351 ul.ind li li a { 343 352 content: target-counter(attr(href), page); 344 353 } 345 354 346 355 .print2col { 347 356 column-count: 2; … … 353 362 @page { 354 363 @top-left { 355 content: "Internet-Draft"; 356 } 364 content: "Internet-Draft"; 365 } 357 366 @top-right { 358 content: "October 2010"; 359 } 367 content: "October 2010"; 368 } 360 369 @top-center { 361 content: "Content-Disposition in HTTP"; 362 } 370 content: "Content-Disposition in HTTP"; 371 } 363 372 @bottom-left { 364 content: "Reschke"; 365 } 373 content: "Reschke"; 374 } 366 375 @bottom-center { 367 content: " Standards Track";368 } 376 content: "Expires April 28, 2011"; 377 } 369 378 @bottom-right { 370 content: "[Page " counter(page) "]"; 371 } 372 } 373 374 @page:first { 379 content: "[Page " counter(page) "]"; 380 } 381 } 382 383 @page:first { 375 384 @top-left { 376 385 content: normal; … … 400 409 <link rel="Appendix" title="C Alternative Approaches to Internationalization" href="#rfc.section.C"> 401 410 <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D"> 402 <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1. 524, 2010-09-14 12:37:11, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">411 <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/"> 403 412 <link rel="schema.dct" href="http://purl.org/dc/terms/"> 404 413 <meta name="dct.creator" content="Reschke, J. F."> … … 420 429 </tr> 421 430 <tr> 422 <td class="left">Updates: <a href="http ://tools.ietf.org/html/rfc2616">2616</a> (if approved)431 <td class="left">Updates: <a href="https://tools.ietf.org/html/rfc2616">2616</a> (if approved) 423 432 </td> 424 433 <td class="right">October 25, 2010</td> … … 435 444 </table> 436 445 <p class="title">Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP)<br><span class="filename">draft-ietf-httpbis-content-disp-03</span></p> 437 <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 446 <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 438 447 <p>HTTP/1.1 defines the Content-Disposition response header field, but points out that it is not part of the HTTP/1.1 Standard. 439 448 This specification takes over the definition and registration of Content-Disposition, as used in HTTP, and clarifies internationalization 440 449 aspects. 441 </p> 442 <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1> 450 </p> 451 <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1> 443 452 <p>This specification is expected to replace the definition of Content-Disposition in the HTTP/1.1 specification, as currently 444 453 revised by the IETF HTTPbis working group. See also <<a href="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/123">http://trac.tools.ietf.org/wg/httpbis/trac/ticket/123</a>>. 445 </p> 454 </p> 446 455 <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues 447 456 list is at <<a href="http://trac.tools.ietf.org/wg/httpbis/trac/query?component=content-disp">http://trac.tools.ietf.org/wg/httpbis/trac/query?component=content-disp</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>>. 448 </p> 457 </p> 449 458 <p>The changes in this draft are summarized in <a href="#changes.since.02" title="Since draft-ietf-httpbis-content-disp-02">Appendix D.7</a>. 450 </p>451 <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>452 <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>453 <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute454 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>.455 459 </p> 456 <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other 457 documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work 458 in progress”. 459 </p> 460 <p>This Internet-Draft will expire on April 28, 2011.</p> 461 <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1> 462 <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p> 463 <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 464 and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License 465 text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified 466 BSD License. 467 </p> 460 <div id="rfc.status"> 461 <h1><a href="#rfc.status">Status of This Memo</a></h1> 462 <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p> 463 <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute 464 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>. 465 </p> 466 <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other 467 documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work 468 in progress”. 469 </p> 470 <p>This Internet-Draft will expire on April 28, 2011.</p> 471 </div> 472 <div id="rfc.copyrightnotice"> 473 <h1><a href="#rfc.copyrightnotice">Copyright Notice</a></h1> 474 <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p> 475 <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 476 and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License 477 text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified 478 BSD License. 479 </p> 480 </div> 468 481 <hr class="noprint"> 469 482 <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1> 470 483 <ul class="toc"> 471 <li class="tocline0">1. <a href="#introduction">Introduction</a></li>472 <li class="tocline0">2. <a href="#rfc.section.2">Notational Conventions</a></li>473 <li class="tocline0">3. <a href="#header.field.definition">Header Field Definition</a><ul class="toc">474 <li class="tocline1">3.1 <a href="#rfc.section.3.1">Grammar</a></li>475 <li class="tocline1">3.2 <a href="#disposition.type">Disposition Type</a></li>476 <li class="tocline1">3.3 <a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li>477 <li class="tocline1">3.4 <a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></li>478 <li class="tocline1">3.5 <a href="#extensibility">Extensibility</a></li>484 <li><a href="#rfc.section.1">1.</a> <a href="#introduction">Introduction</a></li> 485 <li><a href="#rfc.section.2">2.</a> <a href="#rfc.section.2">Notational Conventions</a></li> 486 <li><a href="#rfc.section.3">3.</a> <a href="#header.field.definition">Header Field Definition</a><ul> 487 <li><a href="#rfc.section.3.1">3.1</a> <a href="#rfc.section.3.1">Grammar</a></li> 488 <li><a href="#rfc.section.3.2">3.2</a> <a href="#disposition.type">Disposition Type</a></li> 489 <li><a href="#rfc.section.3.3">3.3</a> <a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li> 490 <li><a href="#rfc.section.3.4">3.4</a> <a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></li> 491 <li><a href="#rfc.section.3.5">3.5</a> <a href="#extensibility">Extensibility</a></li> 479 492 </ul> 480 493 </li> 481 <li class="tocline0">4. <a href="#examples">Examples</a></li>482 <li class="tocline0">5. <a href="#i18n">Internationalization Considerations</a></li>483 <li class="tocline0">6. <a href="#security.considerations">Security Considerations</a></li>484 <li class="tocline0">7. <a href="#iana.considerations">IANA Considerations</a><ul class="toc">485 <li class="tocline1">7.1 <a href="#registry">Registry for Disposition Values and Parameter</a></li>486 <li class="tocline1">7.2 <a href="#header.field.registration">Header Field Registration</a></li>494 <li><a href="#rfc.section.4">4.</a> <a href="#examples">Examples</a></li> 495 <li><a href="#rfc.section.5">5.</a> <a href="#i18n">Internationalization Considerations</a></li> 496 <li><a href="#rfc.section.6">6.</a> <a href="#security.considerations">Security Considerations</a></li> 497 <li><a href="#rfc.section.7">7.</a> <a href="#iana.considerations">IANA Considerations</a><ul> 498 <li><a href="#rfc.section.7.1">7.1</a> <a href="#registry">Registry for Disposition Values and Parameter</a></li> 499 <li><a href="#rfc.section.7.2">7.2</a> <a href="#header.field.registration">Header Field Registration</a></li> 487 500 </ul> 488 501 </li> 489 <li class="tocline0">8. <a href="#rfc.section.8">Acknowledgements</a></li>490 <li class="tocline0">9. <a href="#rfc.references">References</a><ul class="toc">491 <li class="tocline1">9.1 <a href="#rfc.references.1">Normative References</a></li>492 <li class="tocline1">9.2 <a href="#rfc.references.2">Informative References</a></li>502 <li><a href="#rfc.section.8">8.</a> <a href="#rfc.section.8">Acknowledgements</a></li> 503 <li><a href="#rfc.section.9">9.</a> <a href="#rfc.references">References</a><ul> 504 <li><a href="#rfc.section.9.1">9.1</a> <a href="#rfc.references.1">Normative References</a></li> 505 <li><a href="#rfc.section.9.2">9.2</a> <a href="#rfc.references.2">Informative References</a></li> 493 506 </ul> 494 507 </li> 495 <li class="tocline0"><a href="#rfc.authors">Author's Address</a></li> 496 <li class="tocline0">A. <a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li> 497 <li class="tocline0">B. <a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li> 498 <li class="tocline0">C. <a href="#alternatives">Alternative Approaches to Internationalization</a><ul class="toc"> 499 <li class="tocline1">C.1 <a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li> 500 <li class="tocline1">C.2 <a href="#alternatives.percent">Percent Encoding</a></li> 501 <li class="tocline1">C.3 <a href="#alternatives.sniff">Encoding Sniffing</a></li> 502 <li class="tocline1">C.4 <a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></li> 508 <li><a href="#rfc.section.A">A.</a> <a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li> 509 <li><a href="#rfc.section.B">B.</a> <a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li> 510 <li><a href="#rfc.section.C">C.</a> <a href="#alternatives">Alternative Approaches to Internationalization</a><ul> 511 <li><a href="#rfc.section.C.1">C.1</a> <a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li> 512 <li><a href="#rfc.section.C.2">C.2</a> <a href="#alternatives.percent">Percent Encoding</a></li> 513 <li><a href="#rfc.section.C.3">C.3</a> <a href="#alternatives.sniff">Encoding Sniffing</a></li> 514 <li><a href="#rfc.section.C.4">C.4</a> <a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></li> 503 515 </ul> 504 516 </li> 505 <li class="tocline0">D. <a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc">506 <li class="tocline1">D.1 <a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li>507 <li class="tocline1">D.2 <a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li>508 <li class="tocline1">D.3 <a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li>509 <li class="tocline1">D.4 <a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li>510 <li class="tocline1">D.5 <a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></li>511 <li class="tocline1">D.6 <a href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></li>512 <li class="tocline1">D.7 <a href="#changes.since.02">Since draft-ietf-httpbis-content-disp-02</a></li>517 <li><a href="#rfc.section.D">D.</a> <a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul> 518 <li><a href="#rfc.section.D.1">D.1</a> <a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li> 519 <li><a href="#rfc.section.D.2">D.2</a> <a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li> 520 <li><a href="#rfc.section.D.3">D.3</a> <a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li> 521 <li><a href="#rfc.section.D.4">D.4</a> <a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li> 522 <li><a href="#rfc.section.D.5">D.5</a> <a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></li> 523 <li><a href="#rfc.section.D.6">D.6</a> <a href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></li> 524 <li><a href="#rfc.section.D.7">D.7</a> <a href="#changes.since.02">Since draft-ietf-httpbis-content-disp-02</a></li> 513 525 </ul> 514 526 </li> 515 <li class="tocline0"><a href="#rfc.index">Index</a></li> 527 <li><a href="#rfc.index">Index</a></li> 528 <li><a href="#rfc.authors">Author's Address</a></li> 516 529 </ul> 517 <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="introduction" href="#introduction">Introduction</a></h1> 518 <p id="rfc.section.1.p.1">HTTP/1.1 defines the Content-Disposition response header field in <a href="http://tools.ietf.org/html/rfc2616#section-19.5.1">Section 19.5.1</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, but points out that it is not part of the HTTP/1.1 Standard (<a href="http://tools.ietf.org/html/rfc2616#section-15.5" id="rfc.xref.RFC2616.2">Section 15.5</a>): 519 </p> 520 <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5"> 521 <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks 522 for implementers. 523 </p> 524 </blockquote> 525 <p id="rfc.section.1.p.3">This specification takes over the definition and registration of Content-Disposition, as used in HTTP. Based on interoperability 526 testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions 527 (MIME) variant (<a href="#RFC2183" id="rfc.xref.RFC2183.1"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>) of the header field, and also clarifies internationalization aspects. 528 </p> 529 <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a> Notational Conventions 530 </h1> 531 <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" 532 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>. 533 </p> 534 <p id="rfc.section.2.p.2">This specification uses the augmented BNF notation defined in <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, including its rules for linear whitespace (LWS). 535 </p> 536 <div id="rfc.iref.h.1"></div> 537 <div id="rfc.iref.c.1"></div> 538 <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a> <a id="header.field.definition" href="#header.field.definition">Header Field Definition</a></h1> 539 <p id="rfc.section.3.p.1">The Content-Disposition response header field is used to convey additional information about how to process the response payload, 540 and also can be used to attach additional metadata, such as the filename to use when saving the response payload locally. 541 </p> 542 <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Grammar 543 </h2> 544 <div id="rfc.figure.u.1"></div><pre class="inline"> content-disposition = "Content-Disposition" ":" 530 <div id="introduction"> 531 <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a href="#introduction">Introduction</a></h1> 532 <p id="rfc.section.1.p.1">HTTP/1.1 defines the Content-Disposition response header field in <a href="https://tools.ietf.org/html/rfc2616#section-19.5.1">Section 19.5.1</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, but points out that it is not part of the HTTP/1.1 Standard (<a href="https://tools.ietf.org/html/rfc2616#section-15.5" id="rfc.xref.RFC2616.2">Section 15.5</a>): 533 </p> 534 <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5"> 535 <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks 536 for implementers. 537 </p> 538 </blockquote> 539 <p id="rfc.section.1.p.3">This specification takes over the definition and registration of Content-Disposition, as used in HTTP. Based on interoperability 540 testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions 541 (MIME) variant (<a href="#RFC2183" id="rfc.xref.RFC2183.1"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>) of the header field, and also clarifies internationalization aspects. 542 </p> 543 </div> 544 <div> 545 <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a> Notational Conventions 546 </h1> 547 <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" 548 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>. 549 </p> 550 <p id="rfc.section.2.p.2">This specification uses the augmented BNF notation defined in <a href="https://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, including its rules for linear whitespace (LWS). 551 </p> 552 </div> 553 <div id="header.field.definition"> 554 <div id="rfc.iref.h.1"></div> 555 <div id="rfc.iref.c.1"></div> 556 <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a> <a href="#header.field.definition">Header Field Definition</a></h1> 557 <p id="rfc.section.3.p.1">The Content-Disposition response header field is used to convey additional information about how to process the response payload, 558 and also can be used to attach additional metadata, such as the filename to use when saving the response payload locally. 559 </p> 560 <div> 561 <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Grammar 562 </h2> 563 <div id="rfc.figure.u.1"></div><pre class="inline"> content-disposition = "Content-Disposition" ":" 545 564 disposition-type *( ";" disposition-parm ) 546 565 … … 557 576 | ext-token "=" ext-value 558 577 ext-token = <the characters in token, followed by "*"> 559 </pre><div id="rfc.figure.u.2"></div> 560 <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>:561 </p> <pre class="inline"> token = <token, defined in <a href="#RFC2616" id="rfc.xref.RFC2616.5"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.2">Section 2.2</a>>562 value = <value, defined in <a href="#RFC2616" id="rfc.xref.RFC2616.6"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http ://tools.ietf.org/html/rfc2616#section-3.6">Section 3.6</a>>563 </pre><div id="rfc.figure.u.3"></div> 564 <p>Defined in <a href="#RFC5987" id="rfc.xref.RFC5987.1"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>:565 </p> <pre class="inline"> ext-value = <ext-value, defined in <a href="#RFC5987" id="rfc.xref.RFC5987.2"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>, <a href="http://tools.ietf.org/html/rfc5987#section-3.2">Section 3.2</a>>578 </pre><div id="rfc.figure.u.2"></div> 579 <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>: 580 </p><pre class="inline"> token = <token, defined in <a href="#RFC2616" id="rfc.xref.RFC2616.5"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-2.2">Section 2.2</a>> 581 value = <value, defined in <a href="#RFC2616" id="rfc.xref.RFC2616.6"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-3.6">Section 3.6</a>> 582 </pre><div id="rfc.figure.u.3"></div> 583 <p>Defined in <a href="#RFC5987" id="rfc.xref.RFC5987.1"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>: 584 </p><pre class="inline"> ext-value = <ext-value, defined in <a href="#RFC5987" id="rfc.xref.RFC5987.2"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>, <a href="https://tools.ietf.org/html/rfc5987#section-3.2">Section 3.2</a>> 566 585 </pre><p id="rfc.section.3.1.p.4">Parameter names <em class="bcp14">MUST NOT</em> be repeated; a header field value with multiple instances of the same parameter <em class="bcp14">SHOULD</em> be treated as invalid. 567 </p> 568 <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> <a id="disposition.type" href="#disposition.type">Disposition Type</a></h2> 569 <p id="rfc.section.3.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the user agent should prompt the user 570 to save the response locally, rather than process it normally (as per its media type). 571 </p> 572 <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p> 573 <p id="rfc.section.3.2.p.3">Unknown or unhandled disposition types <em class="bcp14">SHOULD</em> be handled the same way as "attachment" (see also <a href="#RFC2183" id="rfc.xref.RFC2183.2"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, <a href="http://tools.ietf.org/html/rfc2183#section-2.8">Section 2.8</a>). 574 </p> 575 <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> <a id="disposition.parameter.filename" href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2> 576 <p id="rfc.section.3.3.p.1">The parameters "filename" and "filename*", to be matched case-insensitively, provide information on how to construct a filename 577 for storing the message payload. 578 </p> 579 <p id="rfc.section.3.3.p.2">Depending on the disposition type, this information might be used right away (in the "save as..." interaction caused for the 580 "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page 581 being displayed). 582 </p> 583 <p id="rfc.section.3.3.p.3">The parameters "filename" and "filename*" differ only in that "filename*" uses the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.3"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>, allowing the use of characters not present in the ISO-8859-1 character set (<a href="#ISO-8859-1" id="rfc.xref.ISO-8859-1.1"><cite title="Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1">[ISO-8859-1]</cite></a>). 584 </p> 585 <p id="rfc.section.3.3.p.4">Many user agent implementations predating this specification do not understand the "filename*" parameter. Therefore, when 586 both "filename" and "filename*" are present in a single header field value, recipients <em class="bcp14">SHOULD</em> pick "filename*" and ignore "filename". This way, senders can avoid special-casing specific user agents by sending both the 587 more expressive "filename*" parameter, and the "filename" parameter as fallback for legacy recipients (see <a href="#examples" title="Examples">Section 4</a> for an example). 588 </p> 589 <p id="rfc.section.3.3.p.5">It is essential that user agents treat the specified filename as advisory only, thus be very careful in extracting the desired 590 information. In particular: 591 </p> 592 <ul> 593 <li> 594 <p>When the value contains path separator characters, all but the last segment <em class="bcp14">SHOULD</em> be ignored. This prevents unintentional overwriting of well-known file system location (such as "/etc/passwd"). 595 </p> 596 </li> 597 <li> 598 <p>Many platforms do not use 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>) to hold type information in the file system, but rely on filename extensions instead. Trusting the server-provided file 599 extension could introduce a privilege escalation when the saved file is later opened (consider ".exe"). Thus, recipients need 600 to ensure that a file extension is used that is safe, optimally matching the media type of the received payload. 601 </p> 602 </li> 603 <li> 604 <p>Recipients are advised to strip or replace character sequences that are known to cause confusion both in user interfaces and 605 in filenames, such as control characters and leading and trailing whitespace. 606 </p> 607 </li> 608 <li> 609 <p>Other aspects recipients need to be aware of are names that have a special meaning in the file system or in shell commands, 610 such as "." and "..", "~", "|", and also device names. 611 </p> 612 </li> 613 </ul> 614 <div class="note" id="rfc.section.3.3.p.6"> 615 <p> <b>Note:</b> Many user agents do not properly handle escape characters when using the quoted-string form. Furthermore, some user agents 616 erroneously try to perform unescaping of "percent" escapes (see <a href="#alternatives.percent" title="Percent Encoding">Appendix C.2</a>), and thus might misinterpret filenames containing the percent character followed by two hex digits. 617 </p> 618 </div> 619 <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> <a id="disposition.parameter.extensions" href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></h2> 620 <p id="rfc.section.3.4.p.1">To enable future extensions, unknown parameters <em class="bcp14">SHOULD</em> be ignored (see also <a href="#RFC2183" id="rfc.xref.RFC2183.3"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, <a href="http://tools.ietf.org/html/rfc2183#section-2.8">Section 2.8</a>). 621 </p> 622 <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a> <a id="extensibility" href="#extensibility">Extensibility</a></h2> 623 <p id="rfc.section.3.5.p.1">Note that <a href="http://tools.ietf.org/html/rfc2183#section-9">Section 9</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.4"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a> defines IANA registries both for disposition types and disposition parameters. This registry is shared by different protocols 624 using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP. 625 </p> 626 <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a> <a id="examples" href="#examples">Examples</a></h1> 627 <div id="rfc.figure.u.4"></div> 628 <p>Direct UA to show "save as" dialog, with a filename of "example.html":</p> <pre class="text">Content-Disposition: Attachment; filename=example.html 629 </pre><div id="rfc.figure.u.5"></div> 630 <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "example.html" 631 for a subsequent save operation: 632 </p> <pre class="text">Content-Disposition: INLINE; FILENAME= "example.html" 633 </pre><div id="rfc.figure.u.6"></div> 634 <p>Direct UA to show "save as" dialog, with a filename of "an example":</p> <pre class="text">Content-Disposition: Attachment; Filename*=UTF-8'<b>en</b>'an<b>%20</b>example 635 </pre> <p>Note that this example uses the extended encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.4"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a> to specify that the natural language of the filename is English, and also to encode the space character which is not allowed 636 in the token production. 637 </p> 638 <div id="rfc.figure.u.7"></div> 639 <p>Direct UA to show "save as" dialog, with a filename containing the Unicode character U+20AC (EURO SIGN):</p> <pre class="text">Content-Disposition: attachment; 586 </p> 587 </div> 588 <div id="disposition.type"> 589 <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> <a href="#disposition.type">Disposition Type</a></h2> 590 <p id="rfc.section.3.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the user agent should prompt the user 591 to save the response locally, rather than process it normally (as per its media type). 592 </p> 593 <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p> 594 <p id="rfc.section.3.2.p.3">Unknown or unhandled disposition types <em class="bcp14">SHOULD</em> be handled the same way as "attachment" (see also <a href="#RFC2183" id="rfc.xref.RFC2183.2"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, <a href="https://tools.ietf.org/html/rfc2183#section-2.8">Section 2.8</a>). 595 </p> 596 </div> 597 <div id="disposition.parameter.filename"> 598 <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> <a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2> 599 <p id="rfc.section.3.3.p.1">The parameters "filename" and "filename*", to be matched case-insensitively, provide information on how to construct a filename 600 for storing the message payload. 601 </p> 602 <p id="rfc.section.3.3.p.2">Depending on the disposition type, this information might be used right away (in the "save as..." interaction caused for the 603 "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page 604 being displayed). 605 </p> 606 <p id="rfc.section.3.3.p.3">The parameters "filename" and "filename*" differ only in that "filename*" uses the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.3"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>, allowing the use of characters not present in the ISO-8859-1 character set (<a href="#ISO-8859-1" id="rfc.xref.ISO-8859-1.1"><cite title="Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1">[ISO-8859-1]</cite></a>). 607 </p> 608 <p id="rfc.section.3.3.p.4">Many user agent implementations predating this specification do not understand the "filename*" parameter. Therefore, when 609 both "filename" and "filename*" are present in a single header field value, recipients <em class="bcp14">SHOULD</em> pick "filename*" and ignore "filename". This way, senders can avoid special-casing specific user agents by sending both the 610 more expressive "filename*" parameter, and the "filename" parameter as fallback for legacy recipients (see <a href="#examples" title="Examples">Section 4</a> for an example). 611 </p> 612 <p id="rfc.section.3.3.p.5">It is essential that user agents treat the specified filename as advisory only, thus be very careful in extracting the desired 613 information. In particular: 614 </p> 615 <ul> 616 <li> 617 <p>When the value contains path separator characters, all but the last segment <em class="bcp14">SHOULD</em> be ignored. This prevents unintentional overwriting of well-known file system location (such as "/etc/passwd"). 618 </p> 619 </li> 620 <li> 621 <p>Many platforms do not use 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>) to hold type information in the file system, but rely on filename extensions instead. Trusting the server-provided file 622 extension could introduce a privilege escalation when the saved file is later opened (consider ".exe"). Thus, recipients need 623 to ensure that a file extension is used that is safe, optimally matching the media type of the received payload. 624 </p> 625 </li> 626 <li> 627 <p>Recipients are advised to strip or replace character sequences that are known to cause confusion both in user interfaces and 628 in filenames, such as control characters and leading and trailing whitespace. 629 </p> 630 </li> 631 <li> 632 <p>Other aspects recipients need to be aware of are names that have a special meaning in the file system or in shell commands, 633 such as "." and "..", "~", "|", and also device names. 634 </p> 635 </li> 636 </ul> 637 <div class="note" id="rfc.section.3.3.p.6"> 638 <p><b>Note:</b> Many user agents do not properly handle escape characters when using the quoted-string form. Furthermore, some user agents 639 erroneously try to perform unescaping of "percent" escapes (see <a href="#alternatives.percent" title="Percent Encoding">Appendix C.2</a>), and thus might misinterpret filenames containing the percent character followed by two hex digits. 640 </p> 641 </div> 642 </div> 643 <div id="disposition.parameter.extensions"> 644 <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> <a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></h2> 645 <p id="rfc.section.3.4.p.1">To enable future extensions, unknown parameters <em class="bcp14">SHOULD</em> be ignored (see also <a href="#RFC2183" id="rfc.xref.RFC2183.3"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, <a href="https://tools.ietf.org/html/rfc2183#section-2.8">Section 2.8</a>). 646 </p> 647 </div> 648 <div id="extensibility"> 649 <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a> <a href="#extensibility">Extensibility</a></h2> 650 <p id="rfc.section.3.5.p.1">Note that <a href="https://tools.ietf.org/html/rfc2183#section-9">Section 9</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.4"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a> defines IANA registries both for disposition types and disposition parameters. This registry is shared by different protocols 651 using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP. 652 </p> 653 </div> 654 </div> 655 <div id="examples"> 656 <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a> <a href="#examples">Examples</a></h1> 657 <div id="rfc.figure.u.4"></div> 658 <p>Direct UA to show "save as" dialog, with a filename of "example.html":</p><pre class="text">Content-Disposition: Attachment; filename=example.html 659 </pre><div id="rfc.figure.u.5"></div> 660 <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "example.html" 661 for a subsequent save operation: 662 </p><pre class="text">Content-Disposition: INLINE; FILENAME= "example.html" 663 </pre><div id="rfc.figure.u.6"></div> 664 <p>Direct UA to show "save as" dialog, with a filename of "an example":</p><pre class="text">Content-Disposition: Attachment; Filename*=UTF-8'<b>en</b>'an<b>%20</b>example 665 </pre><p>Note that this example uses the extended encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.4"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a> to specify that the natural language of the filename is English, and also to encode the space character which is not allowed 666 in the token production. 667 </p> 668 <div id="rfc.figure.u.7"></div> 669 <p>Direct UA to show "save as" dialog, with a filename containing the Unicode character U+20AC (EURO SIGN):</p><pre class="text">Content-Disposition: attachment; 640 670 filename*= UTF-8''<b>%e2%82%ac</b>%20rates 641 </pre> 642 </p>643 <div id="rfc.figure.u.8"></div>644 <p>Same as above, but adding the "filename" parameter for compatibility with user agents not implementing RFC 5987:</p><pre class="text">Content-Disposition: attachment;671 </pre><p>Here, the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.5"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a> is also used to encode the non-ISO-8859-1 character. 672 </p> 673 <div id="rfc.figure.u.8"></div> 674 <p>Same as above, but adding the "filename" parameter for compatibility with user agents not implementing RFC 5987:</p><pre class="text">Content-Disposition: attachment; 645 675 filename="EURO rates"; 646 676 filename*=utf-8''<b>%e2%82%ac</b>%20rates 647 </pre> <p>Note: as of October 2010, those user agents that do not support the RFC 5987 encoding ignore "filename*" when it occurs after 648 "filename". Unfortunately, some user agents that do support RFC 5987 do pick the "filename" rather than the "filename*" parameter 649 when it occurs first; it is expected that this situation is going to improve soon. 650 </p> 651 <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a> <a id="i18n" href="#i18n">Internationalization Considerations</a></h1> 652 <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section 3.3</a>), using the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.6"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>, allows the server to transmit characters outside the ISO-8859-1 character set, and also to optionally specify the language 653 in use. 654 </p> 655 <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p> 656 <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a> <a id="security.considerations" href="#security.considerations">Security Considerations</a></h1> 657 <p id="rfc.section.6.p.1">Using server-supplied information for constructing local filenames introduces many risks. These are summarized in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section 3.3</a>. 658 </p> 659 <p id="rfc.section.6.p.2">Furthermore, implementers also ought to be aware of the Security Considerations applying to HTTP (see <a href="http://tools.ietf.org/html/rfc2616#section-15">Section 15</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.7"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>), and also the parameter encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.7"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a> (see <a href="http://tools.ietf.org/html/rfc5987#section-5" id="rfc.xref.RFC5987.8">Section 5</a>). 660 </p> 661 <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a> <a id="iana.considerations" href="#iana.considerations">IANA Considerations</a></h1> 662 <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> <a id="registry" href="#registry">Registry for Disposition Values and Parameter</a></h2> 663 <p id="rfc.section.7.1.p.1">This specification does not introduce any changes to the registration procedures for disposition values and parameters that 664 are defined in <a href="http://tools.ietf.org/html/rfc2183#section-9">Section 9</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.5"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>. 665 </p> 666 <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> <a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2> 667 <p id="rfc.section.7.2.p.1">This document updates the definition of the Content-Disposition HTTP header field in the permanent HTTP header field registry 668 (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>). 669 </p> 670 <p id="rfc.section.7.2.p.2"> </p> 671 <dl> 672 <dt>Header field name:</dt> 673 <dd>Content-Disposition</dd> 674 <dt>Applicable protocol:</dt> 675 <dd>http</dd> 676 <dt>Status:</dt> 677 <dd>standard</dd> 678 <dt>Author/Change controller:</dt> 679 <dd>IETF</dd> 680 <dt>Specification document:</dt> 681 <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section 3</a>) 682 </dd> 683 </dl> 684 <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a> Acknowledgements 685 </h1> 686 <p id="rfc.section.8.p.1">Thanks to Adam Barth, Rolf Eike Beer, Bjoern Hoehrmann, Alfred Hoenes, Roar Lauritzsen, Henrik Nordstrom, and Mark Nottingham 687 for their valuable feedback. 688 </p> 677 </pre><p>Note: as of October 2010, those user agents that do not support the RFC 5987 encoding ignore "filename*" when it occurs after 678 "filename". Unfortunately, some user agents that do support RFC 5987 do pick the "filename" rather than the "filename*" parameter 679 when it occurs first; it is expected that this situation is going to improve soon. 680 </p> 681 </div> 682 <div id="i18n"> 683 <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a> <a href="#i18n">Internationalization Considerations</a></h1> 684 <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section 3.3</a>), using the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.6"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>, allows the server to transmit characters outside the ISO-8859-1 character set, and also to optionally specify the language 685 in use. 686 </p> 687 <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p> 688 </div> 689 <div id="security.considerations"> 690 <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a> <a href="#security.considerations">Security Considerations</a></h1> 691 <p id="rfc.section.6.p.1">Using server-supplied information for constructing local filenames introduces many risks. These are summarized in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section 3.3</a>. 692 </p> 693 <p id="rfc.section.6.p.2">Furthermore, implementers also ought to be aware of the Security Considerations applying to HTTP (see <a href="https://tools.ietf.org/html/rfc2616#section-15">Section 15</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.7"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>), and also the parameter encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.7"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a> (see <a href="https://tools.ietf.org/html/rfc5987#section-5" id="rfc.xref.RFC5987.8">Section 5</a>). 694 </p> 695 </div> 696 <div id="iana.considerations"> 697 <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a> <a href="#iana.considerations">IANA Considerations</a></h1> 698 <div id="registry"> 699 <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> <a href="#registry">Registry for Disposition Values and Parameter</a></h2> 700 <p id="rfc.section.7.1.p.1">This specification does not introduce any changes to the registration procedures for disposition values and parameters that 701 are defined in <a href="https://tools.ietf.org/html/rfc2183#section-9">Section 9</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.5"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>. 702 </p> 703 </div> 704 <div id="header.field.registration"> 705 <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> <a href="#header.field.registration">Header Field Registration</a></h2> 706 <p id="rfc.section.7.2.p.1">This document updates the definition of the Content-Disposition HTTP header field in the permanent HTTP header field registry 707 (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>). 708 </p> 709 <p id="rfc.section.7.2.p.2"></p> 710 <dl> 711 <dt>Header field name:</dt> 712 <dd>Content-Disposition</dd> 713 <dt>Applicable protocol:</dt> 714 <dd>http</dd> 715 <dt>Status:</dt> 716 <dd>standard</dd> 717 <dt>Author/Change controller:</dt> 718 <dd>IETF</dd> 719 <dt>Specification document:</dt> 720 <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section 3</a>) 721 </dd> 722 </dl> 723 </div> 724 </div> 725 <div> 726 <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a> Acknowledgements 727 </h1> 728 <p id="rfc.section.8.p.1">Thanks to Adam Barth, Rolf Eike Beer, Bjoern Hoehrmann, Alfred Hoenes, Roar Lauritzsen, Henrik Nordstrom, and Mark Nottingham 729 for their valuable feedback. 730 </p> 731 </div> 689 732 <h1 id="rfc.references"><a id="rfc.section.9" href="#rfc.section.9">9.</a> References 690 733 </h1> 691 734 <h2 id="rfc.references.1"><a href="#rfc.section.9.1" id="rfc.section.9.1">9.1</a> Normative References 692 735 </h2> 693 <table> 736 <table> 694 737 <tr> 695 738 <td class="reference"><b id="ISO-8859-1">[ISO-8859-1]</b></td> … … 698 741 <tr> 699 742 <td class="reference"><b id="RFC2119">[RFC2119]</b></td> 700 <td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http ://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP 14, RFC 2119, March 1997.743 <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. 701 744 </td> 702 745 </tr> 703 746 <tr> 704 747 <td class="reference"><b id="RFC2616">[RFC2616]</b></td> 705 <td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine">Fielding, R.</a>, <a href="mailto:jg@w3.org" title="W3C">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation">Mogul, J.</a>, <a href="mailto:frystyk@w3.org" title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, and <a href="mailto:timbl@w3.org" title="W3C">T. Berners-Lee</a>, “<a href="http ://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2616, June 1999.748 <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. 706 749 </td> 707 750 </tr> 708 751 <tr> 709 752 <td class="reference"><b id="RFC5987">[RFC5987]</b></td> 710 <td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J.</a>, “<a href="http ://tools.ietf.org/html/rfc5987">Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters</a>”, RFC 5987, August 2010.753 <td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J.</a>, “<a href="https://tools.ietf.org/html/rfc5987">Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters</a>”, RFC 5987, August 2010. 711 754 </td> 712 755 </tr> … … 714 757 <h2 id="rfc.references.2"><a href="#rfc.section.9.2" id="rfc.section.9.2">9.2</a> Informative References 715 758 </h2> 716 <table> 759 <table> 717 760 <tr> 718 761 <td class="reference"><b id="RFC2046">[RFC2046]</b></td> 719 <td class="top"><a href="mailto:ned@innosoft.com" title="Innosoft International, Inc.">Freed, N.</a> and <a href="mailto:nsb@nsb.fv.com" title="First Virtual Holdings">N. Borenstein</a>, “<a href="http ://tools.ietf.org/html/rfc2046">Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</a>”, RFC 2046, November 1996.762 <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. 720 763 </td> 721 764 </tr> 722 765 <tr> 723 766 <td class="reference"><b id="RFC2047">[RFC2047]</b></td> 724 <td class="top"><a href="mailto:moore@cs.utk.edu" title="University of Tennessee">Moore, K.</a>, “<a href="http ://tools.ietf.org/html/rfc2047">MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text</a>”, RFC 2047, November 1996.767 <td class="top"><a href="mailto:moore@cs.utk.edu" title="University of Tennessee">Moore, K.</a>, “<a href="https://tools.ietf.org/html/rfc2047">MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text</a>”, RFC 2047, November 1996. 725 768 </td> 726 769 </tr> 727 770 <tr> 728 771 <td class="reference"><b id="RFC2183">[RFC2183]</b></td> 729 <td class="top"><a href="mailto:rens@century.com" title="New Century Systems">Troost, R.</a>, <a href="mailto:sdorner@qualcomm.com" title="QUALCOMM Incorporated">Dorner, S.</a>, and <a href="mailto:moore@cs.utk.edu" title="Department of Computer Science">K. Moore</a>, “<a href="http ://tools.ietf.org/html/rfc2183">Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field</a>”, RFC 2183, August 1997.772 <td class="top"><a href="mailto:rens@century.com" title="New Century Systems">Troost, R.</a>, <a href="mailto:sdorner@qualcomm.com" title="QUALCOMM Incorporated">Dorner, S.</a>, and <a href="mailto:moore@cs.utk.edu" title="Department of Computer Science">K. Moore</a>, “<a href="https://tools.ietf.org/html/rfc2183">Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field</a>”, RFC 2183, August 1997. 730 773 </td> 731 774 </tr> 732 775 <tr> 733 776 <td class="reference"><b id="RFC2231">[RFC2231]</b></td> 734 <td class="top"><a href="mailto:ned.freed@innosoft.com" title="Innosoft International, Inc.">Freed, N.</a> and <a href="mailto:moore@cs.utk.edu" title="University of Tennessee">K. Moore</a>, “<a href="http ://tools.ietf.org/html/rfc2231">MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations</a>”, RFC 2231, November 1997.777 <td class="top"><a href="mailto:ned.freed@innosoft.com" title="Innosoft International, Inc.">Freed, N.</a> and <a href="mailto:moore@cs.utk.edu" title="University of Tennessee">K. Moore</a>, “<a href="https://tools.ietf.org/html/rfc2231">MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations</a>”, RFC 2231, November 1997. 735 778 </td> 736 779 </tr> 737 780 <tr> 738 781 <td class="reference"><b id="RFC3629">[RFC3629]</b></td> 739 <td class="top"><a href="mailto:fyergeau@alis.com" title="Alis Technologies">Yergeau, F.</a>, “<a href="http ://tools.ietf.org/html/rfc3629">UTF-8, a transformation format of ISO 10646</a>”, STD 63, RFC 3629, November 2003.782 <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. 740 783 </td> 741 784 </tr> 742 785 <tr> 743 786 <td class="reference"><b id="RFC3864">[RFC3864]</b></td> 744 <td class="top"><a href="mailto:GK-IETF@ninebynine.org" title="Nine by Nine">Klyne, G.</a>, <a href="mailto:mnot@pobox.com" title="BEA Systems">Nottingham, M.</a>, and <a href="mailto:JeffMogul@acm.org" title="HP Labs">J. Mogul</a>, “<a href="http ://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP 90, RFC 3864, September 2004.787 <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. 745 788 </td> 746 789 </tr> 747 790 <tr> 748 791 <td class="reference"><b id="RFC3986">[RFC3986]</b></td> 749 <td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R.</a>, and <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">L. Masinter</a>, “<a href="http ://tools.ietf.org/html/rfc3986">Uniform Resource Identifier (URI): Generic Syntax</a>”, STD 66, RFC 3986, January 2005.792 <td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R.</a>, and <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">L. Masinter</a>, “<a href="https://tools.ietf.org/html/rfc3986">Uniform Resource Identifier (URI): Generic Syntax</a>”, STD 66, RFC 3986, January 2005. 750 793 </td> 751 794 </tr> 752 795 </table> 753 <div class="avoidbreak"> 754 <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1> 755 <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline">Email: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address> 756 </div> 757 <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a id="changes.from.rfc2616" href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1> 758 <p id="rfc.section.A.p.1">Compared to <a href="http://tools.ietf.org/html/rfc2616#section-19.5.1">Section 19.5.1</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.8"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, the following normative changes reflecting actual implementations have been made: 759 </p> 760 <ul> 761 <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This 762 restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly 763 declaring the media type. 764 </li> 765 <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't 766 reflect actual use. 767 </li> 768 <li>The definition for the disposition type "inline" (<a href="#RFC2183" id="rfc.xref.RFC2183.6"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, <a href="http://tools.ietf.org/html/rfc2183#section-2.1">Section 2.1</a>) has been re-added with a suggestion for its processing. 769 </li> 770 <li>This specification requires support for the extended parameter encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.9"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>. 771 </li> 772 </ul> 773 <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a> <a id="diffs.compared.to.rfc2183" href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1> 774 <p id="rfc.section.B.p.1"> <a href="http://tools.ietf.org/html/rfc2183#section-2">Section 2</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.7"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a> defines several additional disposition parameters: "creation-date", "modification-date", "quoted-date-time", and "size". These 775 do not appear to be implemented by any user agent, thus have been omitted from this specification. 776 </p> 777 <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a> <a id="alternatives" href="#alternatives">Alternative Approaches to Internationalization</a></h1> 778 <p id="rfc.section.C.p.1">By default, HTTP header field parameters cannot carry characters outside the ISO-8859-1 (<a href="#ISO-8859-1" id="rfc.xref.ISO-8859-1.2"><cite title="Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1">[ISO-8859-1]</cite></a>) character encoding (see <a href="#RFC2616" id="rfc.xref.RFC2616.9"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.2">Section 2.2</a>). For the "filename" parameter, this of course is an unacceptable restriction. 779 </p> 780 <p id="rfc.section.C.p.2">Unfortunately, user agent implementers have not managed to come up with an interoperable approach, although the IETF Standards 781 Track specifies exactly one solution (<a href="#RFC2231" id="rfc.xref.RFC2231.1"><cite title="MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations">[RFC2231]</cite></a>, clarified and profiled for HTTP in <a href="#RFC5987" id="rfc.xref.RFC5987.10"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>). 782 </p> 783 <p id="rfc.section.C.p.3">For completeness, the sections below describe the various approaches that have been tried, and explains how they are inferior 784 to the RFC 5987 encoding used in this specification. 785 </p> 786 <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a> <a id="alternatives.rfc2047" href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2> 787 <p id="rfc.section.C.1.p.1">RFC 2047 defines an encoding mechanism for header fields, but this encoding is not supposed to be used for header field parameters 788 - see <a href="http://tools.ietf.org/html/rfc2047#section-5">Section 5</a> of <a href="#RFC2047" id="rfc.xref.RFC2047.1"><cite title="MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text">[RFC2047]</cite></a>: 789 </p> 790 <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5"> 791 <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p> 792 <p>...</p> 793 <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured 794 field body except within a 'comment' or 'phrase'. 795 </p> 796 </blockquote> 797 <p id="rfc.section.C.1.p.3">In practice, some user agents implement the encoding, some do not (exposing the encoded string to the user), and some get 798 confused by it. 799 </p> 800 <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a> <a id="alternatives.percent" href="#alternatives.percent">Percent Encoding</a></h2> 801 <p id="rfc.section.C.2.p.1">Some user agents accept percent encoded (<a href="#RFC3986" id="rfc.xref.RFC3986.1"><cite title="Uniform Resource Identifier (URI): Generic Syntax">[RFC3986]</cite></a>, <a href="http://tools.ietf.org/html/rfc3986#section-2.1">Section 2.1</a>) sequences of characters encoded using the UTF-8 (<a href="#RFC3629" id="rfc.xref.RFC3629.1"><cite title="UTF-8, a transformation format of ISO 10646">[RFC3629]</cite></a>) character encoding. 802 </p> 803 <p id="rfc.section.C.2.p.2">In practice, this is hard to use because those user agents that do not support it will display the escaped character sequence 804 to the user. 805 </p> 806 <p id="rfc.section.C.2.p.3">Furthermore, the first user agent to implement this did choose the encoding based on local settings; thus making it very hard 807 to use in multi-lingual environments. 808 </p> 809 <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a> <a id="alternatives.sniff" href="#alternatives.sniff">Encoding Sniffing</a></h2> 810 <p id="rfc.section.C.3.p.1">Some user agents inspect the value (which defaults to ISO-8859-1) and switch to UTF-8 when it seems to be more likely to be 811 the correct interpretation. 812 </p> 813 <p id="rfc.section.C.3.p.2">As with the approaches above, this is not interoperable and furthermore risks misinterpreting the actual value.</p> 814 <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a> <a id="alternatives.implementations" href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></h2> 815 <p id="rfc.section.C.4.p.1">Unfortunately, as of October 2010, neither the encoding defined in RFCs 2231 and 5987, nor any of the alternate approaches 816 discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which 817 at least has the advantage of actually being specified properly. 818 </p> 819 <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches:</p> 820 <div id="rfc.table.u.1"> 821 <table class="tt full left" cellpadding="3" cellspacing="0"> 822 <thead> 823 <tr> 824 <th>User Agent</th> 825 <th>RFC 2231/5987</th> 826 <th>RFC 2047</th> 827 <th>Percent Encoding</th> 828 <th>Encoding Sniffing</th> 829 </tr> 830 </thead> 831 <tbody> 832 <tr> 833 <td class="left">Chrome</td> 834 <td class="left">no</td> 835 <td class="left">yes</td> 836 <td class="left">yes</td> 837 <td class="left">yes</td> 838 </tr> 839 <tr> 840 <td class="left">Firefox</td> 841 <td class="left">yes (*)</td> 842 <td class="left">yes</td> 843 <td class="left">no</td> 844 <td class="left">yes</td> 845 </tr> 846 <tr> 847 <td class="left">Internet Explorer</td> 848 <td class="left">no</td> 849 <td class="left">no</td> 850 <td class="left">yes</td> 851 <td class="left">no</td> 852 </tr> 853 <tr> 854 <td class="left">Konqueror</td> 855 <td class="left">yes</td> 856 <td class="left">no</td> 857 <td class="left">no</td> 858 <td class="left">no</td> 859 </tr> 860 <tr> 861 <td class="left">Opera</td> 862 <td class="left">yes</td> 863 <td class="left">no</td> 864 <td class="left">no</td> 865 <td class="left">no</td> 866 </tr> 867 <tr> 868 <td class="left">Safari</td> 869 <td class="left">no</td> 870 <td class="left">no</td> 871 <td class="left">no</td> 872 <td class="left">yes</td> 873 </tr> 874 </tbody> 875 </table> 876 <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section 3.3</a>. 877 </p> 878 </div> 879 <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a> <a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1> 880 <p id="rfc.section.D.p.1">Note: the issues names in the change log entries for draft-reschke-rfc2183-in-http refer to <<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc2183-in-http-issues.html">http://greenbytes.de/tech/webdav/draft-reschke-rfc2183-in-http-issues.html</a>>. 881 </p> 882 <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a> Since draft-reschke-rfc2183-in-http-00 883 </h2> 884 <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -> "header field"). Update rfc2231-in-http reference.</p> 885 <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a> Since draft-reschke-rfc2183-in-http-01 886 </h2> 887 <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples 888 using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve 889 issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry". 890 </p> 891 <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a> Since draft-reschke-rfc2183-in-http-02 892 </h2> 893 <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p> 894 <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a> Since draft-reschke-rfc2183-in-http-03 895 </h2> 896 <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p> 897 <h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a> <a id="changes.since.00" href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></h2> 898 <p id="rfc.section.D.5.p.1">Closed issues: </p> 899 <ul> 900 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/242">http://tools.ietf.org/wg/httpbis/trac/ticket/242</a>>: "handling of unknown disposition types" 901 </li> 902 </ul> 903 <p id="rfc.section.D.5.p.2">Slightly updated the notes about the proposed fallback behavior.</p> 904 <h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a> <a id="changes.since.01" href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></h2> 905 <p id="rfc.section.D.6.p.1">Various editorial improvements.</p> 906 <h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a> <a id="changes.since.02" href="#changes.since.02">Since draft-ietf-httpbis-content-disp-02</a></h2> 907 <p id="rfc.section.D.7.p.1">Closed issues: </p> 908 <ul> 909 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/244">http://tools.ietf.org/wg/httpbis/trac/ticket/244</a>>: "state that repeating parameters are invalid" 910 </li> 911 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/245">http://tools.ietf.org/wg/httpbis/trac/ticket/245</a>>: "warn about %xx in filenames being misinterpreted" 912 </li> 913 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/246">http://tools.ietf.org/wg/httpbis/trac/ticket/246</a>>: "mention control chars when talking about postprecessing the filename parameter" 914 </li> 915 </ul> 916 <p id="rfc.section.D.7.p.2">Update <a href="#alternatives.implementations" title="Implementations (to be removed by RFC Editor before publication)">Appendix C.4</a>; Opera 10.63 RC implements the recommended fallback behavior. 917 </p> 796 <div id="changes.from.rfc2616"> 797 <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1> 798 <p id="rfc.section.A.p.1">Compared to <a href="https://tools.ietf.org/html/rfc2616#section-19.5.1">Section 19.5.1</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.8"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, the following normative changes reflecting actual implementations have been made: 799 </p> 800 <ul> 801 <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This 802 restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly 803 declaring the media type. 804 </li> 805 <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't 806 reflect actual use. 807 </li> 808 <li>The definition for the disposition type "inline" (<a href="#RFC2183" id="rfc.xref.RFC2183.6"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, <a href="https://tools.ietf.org/html/rfc2183#section-2.1">Section 2.1</a>) has been re-added with a suggestion for its processing. 809 </li> 810 <li>This specification requires support for the extended parameter encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.9"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>. 811 </li> 812 </ul> 813 </div> 814 <div id="diffs.compared.to.rfc2183"> 815 <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a> <a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1> 816 <p id="rfc.section.B.p.1"><a href="https://tools.ietf.org/html/rfc2183#section-2">Section 2</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.7"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a> defines several additional disposition parameters: "creation-date", "modification-date", "quoted-date-time", and "size". These 817 do not appear to be implemented by any user agent, thus have been omitted from this specification. 818 </p> 819 </div> 820 <div id="alternatives"> 821 <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a> <a href="#alternatives">Alternative Approaches to Internationalization</a></h1> 822 <p id="rfc.section.C.p.1">By default, HTTP header field parameters cannot carry characters outside the ISO-8859-1 (<a href="#ISO-8859-1" id="rfc.xref.ISO-8859-1.2"><cite title="Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1">[ISO-8859-1]</cite></a>) character encoding (see <a href="#RFC2616" id="rfc.xref.RFC2616.9"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-2.2">Section 2.2</a>). For the "filename" parameter, this of course is an unacceptable restriction. 823 </p> 824 <p id="rfc.section.C.p.2">Unfortunately, user agent implementers have not managed to come up with an interoperable approach, although the IETF Standards 825 Track specifies exactly one solution (<a href="#RFC2231" id="rfc.xref.RFC2231.1"><cite title="MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations">[RFC2231]</cite></a>, clarified and profiled for HTTP in <a href="#RFC5987" id="rfc.xref.RFC5987.10"><cite title="Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters">[RFC5987]</cite></a>). 826 </p> 827 <p id="rfc.section.C.p.3">For completeness, the sections below describe the various approaches that have been tried, and explains how they are inferior 828 to the RFC 5987 encoding used in this specification. 829 </p> 830 <div id="alternatives.rfc2047"> 831 <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a> <a href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2> 832 <p id="rfc.section.C.1.p.1">RFC 2047 defines an encoding mechanism for header fields, but this encoding is not supposed to be used for header field parameters 833 - see <a href="https://tools.ietf.org/html/rfc2047#section-5">Section 5</a> of <a href="#RFC2047" id="rfc.xref.RFC2047.1"><cite title="MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text">[RFC2047]</cite></a>: 834 </p> 835 <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5"> 836 <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p> 837 <p>...</p> 838 <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured 839 field body except within a 'comment' or 'phrase'. 840 </p> 841 </blockquote> 842 <p id="rfc.section.C.1.p.3">In practice, some user agents implement the encoding, some do not (exposing the encoded string to the user), and some get 843 confused by it. 844 </p> 845 </div> 846 <div id="alternatives.percent"> 847 <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a> <a href="#alternatives.percent">Percent Encoding</a></h2> 848 <p id="rfc.section.C.2.p.1">Some user agents accept percent encoded (<a href="#RFC3986" id="rfc.xref.RFC3986.1"><cite title="Uniform Resource Identifier (URI): Generic Syntax">[RFC3986]</cite></a>, <a href="https://tools.ietf.org/html/rfc3986#section-2.1">Section 2.1</a>) sequences of characters encoded using the UTF-8 (<a href="#RFC3629" id="rfc.xref.RFC3629.1"><cite title="UTF-8, a transformation format of ISO 10646">[RFC3629]</cite></a>) character encoding. 849 </p> 850 <p id="rfc.section.C.2.p.2">In practice, this is hard to use because those user agents that do not support it will display the escaped character sequence 851 to the user. 852 </p> 853 <p id="rfc.section.C.2.p.3">Furthermore, the first user agent to implement this did choose the encoding based on local settings; thus making it very hard 854 to use in multi-lingual environments. 855 </p> 856 </div> 857 <div id="alternatives.sniff"> 858 <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a> <a href="#alternatives.sniff">Encoding Sniffing</a></h2> 859 <p id="rfc.section.C.3.p.1">Some user agents inspect the value (which defaults to ISO-8859-1) and switch to UTF-8 when it seems to be more likely to be 860 the correct interpretation. 861 </p> 862 <p id="rfc.section.C.3.p.2">As with the approaches above, this is not interoperable and furthermore risks misinterpreting the actual value.</p> 863 </div> 864 <div id="alternatives.implementations"> 865 <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a> <a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></h2> 866 <p id="rfc.section.C.4.p.1">Unfortunately, as of October 2010, neither the encoding defined in RFCs 2231 and 5987, nor any of the alternate approaches 867 discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which 868 at least has the advantage of actually being specified properly. 869 </p> 870 <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches:</p> 871 <div id="rfc.table.u.1"> 872 <table class="tt full left" cellpadding="3" cellspacing="0"> 873 <thead> 874 <tr> 875 <th>User Agent</th> 876 <th>RFC 2231/5987</th> 877 <th>RFC 2047</th> 878 <th>Percent Encoding</th> 879 <th>Encoding Sniffing</th> 880 </tr> 881 </thead> 882 <tbody> 883 <tr> 884 <td class="left">Chrome</td> 885 <td class="left">no</td> 886 <td class="left">yes</td> 887 <td class="left">yes</td> 888 <td class="left">yes</td> 889 </tr> 890 <tr> 891 <td class="left">Firefox</td> 892 <td class="left">yes (*)</td> 893 <td class="left">yes</td> 894 <td class="left">no</td> 895 <td class="left">yes</td> 896 </tr> 897 <tr> 898 <td class="left">Internet Explorer</td> 899 <td class="left">no</td> 900 <td class="left">no</td> 901 <td class="left">yes</td> 902 <td class="left">no</td> 903 </tr> 904 <tr> 905 <td class="left">Konqueror</td> 906 <td class="left">yes</td> 907 <td class="left">no</td> 908 <td class="left">no</td> 909 <td class="left">no</td> 910 </tr> 911 <tr> 912 <td class="left">Opera</td> 913 <td class="left">yes</td> 914 <td class="left">no</td> 915 <td class="left">no</td> 916 <td class="left">no</td> 917 </tr> 918 <tr> 919 <td class="left">Safari</td> 920 <td class="left">no</td> 921 <td class="left">no</td> 922 <td class="left">no</td> 923 <td class="left">yes</td> 924 </tr> 925 </tbody> 926 </table> 927 <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section 3.3</a>. 928 </p> 929 </div> 930 </div> 931 </div> 932 <div id="change.log"> 933 <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a> <a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1> 934 <p id="rfc.section.D.p.1">Note: the issues names in the change log entries for draft-reschke-rfc2183-in-http refer to <<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc2183-in-http-issues.html">http://greenbytes.de/tech/webdav/draft-reschke-rfc2183-in-http-issues.html</a>>. 935 </p> 936 <div> 937 <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a> Since draft-reschke-rfc2183-in-http-00 938 </h2> 939 <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -> "header field"). Update rfc2231-in-http reference.</p> 940 </div> 941 <div> 942 <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a> Since draft-reschke-rfc2183-in-http-01 943 </h2> 944 <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples 945 using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve 946 issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry". 947 </p> 948 </div> 949 <div> 950 <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a> Since draft-reschke-rfc2183-in-http-02 951 </h2> 952 <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p> 953 </div> 954 <div> 955 <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a> Since draft-reschke-rfc2183-in-http-03 956 </h2> 957 <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p> 958 </div> 959 <div id="changes.since.00"> 960 <h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a> <a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></h2> 961 <p id="rfc.section.D.5.p.1">Closed issues: </p> 962 <ul> 963 <li><<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/242">http://tools.ietf.org/wg/httpbis/trac/ticket/242</a>>: "handling of unknown disposition types" 964 </li> 965 </ul> 966 <p id="rfc.section.D.5.p.2">Slightly updated the notes about the proposed fallback behavior.</p> 967 </div> 968 <div id="changes.since.01"> 969 <h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a> <a href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></h2> 970 <p id="rfc.section.D.6.p.1">Various editorial improvements.</p> 971 </div> 972 <div id="changes.since.02"> 973 <h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a> <a href="#changes.since.02">Since draft-ietf-httpbis-content-disp-02</a></h2> 974 <p id="rfc.section.D.7.p.1">Closed issues: </p> 975 <ul> 976 <li><<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/244">http://tools.ietf.org/wg/httpbis/trac/ticket/244</a>>: "state that repeating parameters are invalid" 977 </li> 978 <li><<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/245">http://tools.ietf.org/wg/httpbis/trac/ticket/245</a>>: "warn about %xx in filenames being misinterpreted" 979 </li> 980 <li><<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/246">http://tools.ietf.org/wg/httpbis/trac/ticket/246</a>>: "mention control chars when talking about postprecessing the filename parameter" 981 </li> 982 </ul> 983 <p id="rfc.section.D.7.p.2">Update <a href="#alternatives.implementations" title="Implementations (to be removed by RFC Editor before publication)">Appendix C.4</a>; Opera 10.63 RC implements the recommended fallback behavior. 984 </p> 985 </div> 986 </div> 918 987 <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1> 919 988 <p class="noprint"><a href="#rfc.index.C">C</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> … … 921 990 <div class="print2col"> 922 991 <ul class="ind"> 923 <li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind">924 <li class="indline1">Content-Disposition header <a class="iref" href="#rfc.iref.c.1"><b>3</b></a>, <a class="iref"href="#rfc.xref.header.field.definition.1">7.2</a></li>992 <li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul> 993 <li>Content-Disposition header <a href="#rfc.iref.c.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li> 925 994 </ul> 926 995 </li> 927 <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind">928 <li class="indline1">Headers 929 <ul class="ind">930 <li class="indline1">Content-Disposition <a class="iref" href="#rfc.iref.h.1"><b>3</b></a>, <a class="iref"href="#rfc.xref.header.field.definition.1">7.2</a></li>996 <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul> 997 <li>Headers 998 <ul> 999 <li>Content-Disposition <a href="#rfc.iref.h.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li> 931 1000 </ul> 932 1001 </li> 933 1002 </ul> 934 1003 </li> 935 <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind">936 <li class="indline1"><em>ISO-8859-1</em> <a class="iref" href="#rfc.xref.ISO-8859-1.1">3.3</a>, <a class="iref" href="#ISO-8859-1"><b>9.1</b></a>, <a class="iref"href="#rfc.xref.ISO-8859-1.2">C</a></li>1004 <li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul> 1005 <li><em>ISO-8859-1</em> <a href="#rfc.xref.ISO-8859-1.1">3.3</a>, <a href="#ISO-8859-1"><b>9.1</b></a>, <a href="#rfc.xref.ISO-8859-1.2">C</a></li> 937 1006 </ul> 938 1007 </li> 939 <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind">940 <li class="indline1"><em>RFC2046</em> <a class="iref" href="#rfc.xref.RFC2046.1">3.3</a>, <a class="iref"href="#RFC2046"><b>9.2</b></a></li>941 <li class="indline1"><em>RFC2047</em> <a class="iref" href="#RFC2047"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2047.1">C.1</a><ul class="ind">942 <li class="indline1"><em>Section 5</em> <a class="iref"href="#rfc.xref.RFC2047.1">C.1</a></li>1008 <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul> 1009 <li><em>RFC2046</em> <a href="#rfc.xref.RFC2046.1">3.3</a>, <a href="#RFC2046"><b>9.2</b></a></li> 1010 <li><em>RFC2047</em> <a href="#RFC2047"><b>9.2</b></a>, <a href="#rfc.xref.RFC2047.1">C.1</a><ul> 1011 <li><em>Section 5</em> <a href="#rfc.xref.RFC2047.1">C.1</a></li> 943 1012 </ul> 944 1013 </li> 945 <li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">2</a>, <a class="iref"href="#RFC2119"><b>9.1</b></a></li>946 <li class="indline1"><em>RFC2183</em> <a class="iref" href="#rfc.xref.RFC2183.1">1</a>, <a class="iref" href="#rfc.xref.RFC2183.2">3.2</a>, <a class="iref" href="#rfc.xref.RFC2183.3">3.4</a>, <a class="iref" href="#rfc.xref.RFC2183.4">3.5</a>, <a class="iref" href="#rfc.xref.RFC2183.5">7.1</a>, <a class="iref" href="#RFC2183"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2183.6">A</a>, <a class="iref" href="#rfc.xref.RFC2183.7">B</a><ul class="ind">947 <li class="indline1"><em>Section 2</em> <a class="iref"href="#rfc.xref.RFC2183.7">B</a></li>948 <li class="indline1"><em>Section 2.1</em> <a class="iref"href="#rfc.xref.RFC2183.6">A</a></li>949 <li class="indline1"><em>Section 2.8</em> <a class="iref" href="#rfc.xref.RFC2183.2">3.2</a>, <a class="iref"href="#rfc.xref.RFC2183.3">3.4</a></li>950 <li class="indline1"><em>Section 9</em> <a class="iref" href="#rfc.xref.RFC2183.4">3.5</a>, <a class="iref"href="#rfc.xref.RFC2183.5">7.1</a></li>1014 <li><em>RFC2119</em> <a href="#rfc.xref.RFC2119.1">2</a>, <a href="#RFC2119"><b>9.1</b></a></li> 1015 <li><em>RFC2183</em> <a href="#rfc.xref.RFC2183.1">1</a>, <a href="#rfc.xref.RFC2183.2">3.2</a>, <a href="#rfc.xref.RFC2183.3">3.4</a>, <a href="#rfc.xref.RFC2183.4">3.5</a>, <a href="#rfc.xref.RFC2183.5">7.1</a>, <a href="#RFC2183"><b>9.2</b></a>, <a href="#rfc.xref.RFC2183.6">A</a>, <a href="#rfc.xref.RFC2183.7">B</a><ul> 1016 <li><em>Section 2</em> <a href="#rfc.xref.RFC2183.7">B</a></li> 1017 <li><em>Section 2.1</em> <a href="#rfc.xref.RFC2183.6">A</a></li> 1018 <li><em>Section 2.8</em> <a href="#rfc.xref.RFC2183.2">3.2</a>, <a href="#rfc.xref.RFC2183.3">3.4</a></li> 1019 <li><em>Section 9</em> <a href="#rfc.xref.RFC2183.4">3.5</a>, <a href="#rfc.xref.RFC2183.5">7.1</a></li> 951 1020 </ul> 952 1021 </li> 953 <li class="indline1"><em>RFC2231</em> <a class="iref" href="#RFC2231"><b>9.2</b></a>, <a class="iref"href="#rfc.xref.RFC2231.1">C</a></li>954 <li class="indline1"><em>RFC2616</em> <a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">2</a>, <a class="iref" href="#rfc.xref.RFC2616.4">3.1</a>, <a class="iref" href="#rfc.xref.RFC2616.5">3.1</a>, <a class="iref" href="#rfc.xref.RFC2616.6">3.1</a>, <a class="iref" href="#rfc.xref.RFC2616.7">6</a>, <a class="iref" href="#RFC2616"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.RFC2616.8">A</a>, <a class="iref" href="#rfc.xref.RFC2616.9">C</a><ul class="ind">955 <li class="indline1"><em>Section 2.1</em> <a class="iref"href="#rfc.xref.RFC2616.3">2</a></li>956 <li class="indline1"><em>Section 2.2</em> <a class="iref" href="#rfc.xref.RFC2616.5">3.1</a>, <a class="iref"href="#rfc.xref.RFC2616.9">C</a></li>957 <li class="indline1"><em>Section 3.6</em> <a class="iref"href="#rfc.xref.RFC2616.6">3.1</a></li>958 <li class="indline1"><em>Section 15.5</em> <a class="iref"href="#rfc.xref.RFC2616.2">1</a></li>959 <li class="indline1"><em>Section 15</em> <a class="iref"href="#rfc.xref.RFC2616.7">6</a></li>960 <li class="indline1"><em>Section 19.5.1</em> <a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref"href="#rfc.xref.RFC2616.8">A</a></li>1022 <li><em>RFC2231</em> <a href="#RFC2231"><b>9.2</b></a>, <a href="#rfc.xref.RFC2231.1">C</a></li> 1023 <li><em>RFC2616</em> <a href="#rfc.xref.RFC2616.1">1</a>, <a href="#rfc.xref.RFC2616.2">1</a>, <a href="#rfc.xref.RFC2616.3">2</a>, <a href="#rfc.xref.RFC2616.4">3.1</a>, <a href="#rfc.xref.RFC2616.5">3.1</a>, <a href="#rfc.xref.RFC2616.6">3.1</a>, <a href="#rfc.xref.RFC2616.7">6</a>, <a href="#RFC2616"><b>9.1</b></a>, <a href="#rfc.xref.RFC2616.8">A</a>, <a href="#rfc.xref.RFC2616.9">C</a><ul> 1024 <li><em>Section 2.1</em> <a href="#rfc.xref.RFC2616.3">2</a></li> 1025 <li><em>Section 2.2</em> <a href="#rfc.xref.RFC2616.5">3.1</a>, <a href="#rfc.xref.RFC2616.9">C</a></li> 1026 <li><em>Section 3.6</em> <a href="#rfc.xref.RFC2616.6">3.1</a></li> 1027 <li><em>Section 15.5</em> <a href="#rfc.xref.RFC2616.2">1</a></li> 1028 <li><em>Section 15</em> <a href="#rfc.xref.RFC2616.7">6</a></li> 1029 <li><em>Section 19.5.1</em> <a href="#rfc.xref.RFC2616.1">1</a>, <a href="#rfc.xref.RFC2616.8">A</a></li> 961 1030 </ul> 962 1031 </li> 963 <li class="indline1"><em>RFC3629</em> <a class="iref" href="#RFC3629"><b>9.2</b></a>, <a class="iref"href="#rfc.xref.RFC3629.1">C.2</a></li>964 <li class="indline1"><em>RFC3864</em> <a class="iref" href="#rfc.xref.RFC3864.1">7.2</a>, <a class="iref"href="#RFC3864"><b>9.2</b></a></li>965 <li class="indline1"><em>RFC3986</em> <a class="iref" href="#RFC3986"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC3986.1">C.2</a><ul class="ind">966 <li class="indline1"><em>Section 2.1</em> <a class="iref"href="#rfc.xref.RFC3986.1">C.2</a></li>1032 <li><em>RFC3629</em> <a href="#RFC3629"><b>9.2</b></a>, <a href="#rfc.xref.RFC3629.1">C.2</a></li> 1033 <li><em>RFC3864</em> <a href="#rfc.xref.RFC3864.1">7.2</a>, <a href="#RFC3864"><b>9.2</b></a></li> 1034 <li><em>RFC3986</em> <a href="#RFC3986"><b>9.2</b></a>, <a href="#rfc.xref.RFC3986.1">C.2</a><ul> 1035 <li><em>Section 2.1</em> <a href="#rfc.xref.RFC3986.1">C.2</a></li> 967 1036 </ul> 968 1037 </li> 969 <li class="indline1"><em>RFC5987</em> <a class="iref" href="#rfc.xref.RFC5987.1">3.1</a>, <a class="iref" href="#rfc.xref.RFC5987.2">3.1</a>, <a class="iref" href="#rfc.xref.RFC5987.3">3.3</a>, <a class="iref" href="#rfc.xref.RFC5987.4">4</a>, <a class="iref" href="#rfc.xref.RFC5987.5">4</a>, <a class="iref" href="#rfc.xref.RFC5987.6">5</a>, <a class="iref" href="#rfc.xref.RFC5987.7">6</a>, <a class="iref" href="#rfc.xref.RFC5987.8">6</a>, <a class="iref" href="#RFC5987"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.RFC5987.9">A</a>, <a class="iref" href="#rfc.xref.RFC5987.10">C</a><ul class="ind">970 <li class="indline1"><em>Section 3.2</em> <a class="iref"href="#rfc.xref.RFC5987.2">3.1</a></li>971 <li class="indline1"><em>Section 5</em> <a class="iref"href="#rfc.xref.RFC5987.8">6</a></li>1038 <li><em>RFC5987</em> <a href="#rfc.xref.RFC5987.1">3.1</a>, <a href="#rfc.xref.RFC5987.2">3.1</a>, <a href="#rfc.xref.RFC5987.3">3.3</a>, <a href="#rfc.xref.RFC5987.4">4</a>, <a href="#rfc.xref.RFC5987.5">4</a>, <a href="#rfc.xref.RFC5987.6">5</a>, <a href="#rfc.xref.RFC5987.7">6</a>, <a href="#rfc.xref.RFC5987.8">6</a>, <a href="#RFC5987"><b>9.1</b></a>, <a href="#rfc.xref.RFC5987.9">A</a>, <a href="#rfc.xref.RFC5987.10">C</a><ul> 1039 <li><em>Section 3.2</em> <a href="#rfc.xref.RFC5987.2">3.1</a></li> 1040 <li><em>Section 5</em> <a href="#rfc.xref.RFC5987.8">6</a></li> 972 1041 </ul> 973 1042 </li> … … 976 1045 </ul> 977 1046 </div> 1047 <div class="avoidbreak"> 1048 <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1> 1049 <p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW 48155<br>Germany<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> 1050 </div> 978 1051 </body> 979 1052 </html>
Note: See TracChangeset
for help on using the changeset viewer.