Ignore:
Timestamp:
14/06/14 11:20:37 (7 years ago)
Author:
julian.reschke@…
Message:

update to latest version of rfc2629.xslt, regen all HTML

Location:
draft-ietf-httpbis-content-disp
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis-content-disp/00/draft-ietf-httpbis-content-disp.html

    r986 r2726  
    22  PUBLIC "-//W3C//DTD HTML 4.01//EN">
    33<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/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    66      <title>Use of the Content-Disposition&nbsp;Header&nbsp;Field
     
    3333body {
    3434  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;
    3738}
    3839cite {
    3940  font-style: normal;
    4041}
    41 dd {
    42   margin-right: 2em;
    43 }
    4442dl {
    4543  margin-left: 2em;
    4644}
    47 
    4845ul.empty {
    4946  list-style-type: none;
     
    5956}
    6057h1 {
    61   font-size: 14pt;
     58  font-size: 130%;
    6259  line-height: 21pt;
    6360  page-break-after: avoid;
     
    6663  page-break-before: always;
    6764}
    68 h1 a {
    69   color: #333333;
    70 }
    7165h2 {
    72   font-size: 12pt;
     66  font-size: 120%;
    7367  line-height: 15pt;
    7468  page-break-after: avoid;
    7569}
    76 h3, h4, h5, h6 {
    77   font-size: 10pt;
     70h3 {
     71  font-size: 110%;
    7872  page-break-after: avoid;
    7973}
    80 h2 a, h3 a, h4 a, h5 a, h6 a {
     74h4, h5, h6 {
     75  page-break-after: avoid;
     76}
     77h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    8178  color: black;
    8279}
     
    8683li {
    8784  margin-left: 2em;
    88   margin-right: 2em;
    8985}
    9086ol {
    9187  margin-left: 2em;
    92   margin-right: 2em;
     88}
     89ol.la {
     90  list-style-type: lower-alpha;
     91}
     92ol.ua {
     93  list-style-type: upper-alpha;
    9394}
    9495ol p {
     
    9798p {
    9899  margin-left: 2em;
    99   margin-right: 2em;
    100100}
    101101pre {
     
    103103  background-color: lightyellow;
    104104  padding: .25em;
     105  page-break-inside: avoid;
    105106}
    106107pre.text2 {
     
    131132table.tt {
    132133  vertical-align: top;
     134  border-color: gray;
     135}
     136table.tt th {
     137  border-color: gray;
     138}
     139table.tt td {
     140  border-color: gray;
     141}
     142table.all {
     143  border-style: solid;
     144  border-width: 2px;
    133145}
    134146table.full {
    135   border-style: outset;
    136   border-width: 1px;
    137 }
    138 table.headers {
    139   border-style: outset;
    140   border-width: 1px;
     147  border-style: solid;
     148  border-width: 2px;
    141149}
    142150table.tt td {
    143151  vertical-align: top;
    144152}
     153table.all td {
     154  border-style: solid;
     155  border-width: 1px;
     156}
    145157table.full td {
    146   border-style: inset;
     158  border-style: none solid;
    147159  border-width: 1px;
    148160}
     
    150162  vertical-align: top;
    151163}
     164table.all th {
     165  border-style: solid;
     166  border-width: 1px;
     167}
    152168table.full th {
    153   border-style: inset;
    154   border-width: 1px;
     169  border-style: solid;
     170  border-width: 1px 1px 2px 1px;
    155171}
    156172table.headers th {
    157   border-style: none none inset none;
    158   border-width: 1px;
     173  border-style: none none solid none;
     174  border-width: 2px;
    159175}
    160176table.left {
     
    171187  caption-side: bottom;
    172188  font-weight: bold;
    173   font-size: 9pt;
     189  font-size: 10pt;
    174190  margin-top: .5em;
    175191}
     
    178194  border-spacing: 1px;
    179195  width: 95%;
    180   font-size: 10pt;
     196  font-size: 11pt;
    181197  color: white;
    182198}
     
    186202td.topnowrap {
    187203  vertical-align: top;
    188   white-space: nowrap; 
     204  white-space: nowrap;
    189205}
    190206table.header td {
     
    203219  display:table-header-group;
    204220}
    205 ul.toc {
     221ul.toc, ul.toc ul {
    206222  list-style: none;
    207223  margin-left: 1.5em;
    208   margin-right: 0em;
    209224  padding-left: 0em;
    210225}
    211 li.tocline0 {
     226ul.toc li {
    212227  line-height: 150%;
    213228  font-weight: bold;
     229  margin-left: 0em;
     230}
     231ul.toc li li {
     232  line-height: normal;
     233  font-weight: normal;
    214234  font-size: 10pt;
    215235  margin-left: 0em;
    216   margin-right: 0em;
    217 }
    218 li.tocline1 {
    219   line-height: normal;
    220   font-weight: normal;
    221   font-size: 9pt;
    222   margin-left: 0em;
    223   margin-right: 0em;
    224 }
    225 li.tocline2 {
     236}
     237li.excluded {
    226238  font-size: 0pt;
    227239}
     
    229241  margin-left: 0em;
    230242}
    231 ul.ind {
     243.title, .filename, h1, h2, h3, h4 {
     244  font-family: candara, helvetica, arial, sans-serif;
     245}
     246samp, tt, code, pre {
     247  font: consolas, monospace;
     248}
     249ul.ind, ul.ind ul {
    232250  list-style: none;
    233251  margin-left: 1.5em;
    234   margin-right: 0em;
    235252  padding-left: 0em;
    236253  page-break-before: avoid;
    237254}
    238 li.indline0 {
     255ul.ind li {
    239256  font-weight: bold;
    240257  line-height: 200%;
    241258  margin-left: 0em;
    242   margin-right: 0em;
    243 }
    244 li.indline1 {
     259}
     260ul.ind li li {
    245261  font-weight: normal;
    246262  line-height: 150%;
    247263  margin-left: 0em;
    248   margin-right: 0em;
    249264}
    250265.avoidbreak {
     
    273288  font-weight: bold;
    274289  text-align: center;
    275   font-size: 9pt;
     290  font-size: 10pt;
    276291}
    277292.filename {
    278293  color: #333333;
     294  font-size: 75%;
    279295  font-weight: bold;
    280   font-size: 12pt;
    281296  line-height: 21pt;
    282297  text-align: center;
     
    285300  font-weight: bold;
    286301}
    287 .hidden {
    288   display: none;
    289 }
    290302.left {
    291303  text-align: left;
     
    295307}
    296308.title {
    297   color: #990000;
    298   font-size: 18pt;
     309  color: green;
     310  font-size: 150%;
    299311  line-height: 18pt;
    300312  font-weight: bold;
     
    302314  margin-top: 36pt;
    303315}
    304 .vcardline {
    305   display: block;
    306 }
    307316.warning {
    308   font-size: 14pt;
     317  font-size: 130%;
    309318  background-color: yellow;
    310319}
     
    315324    display: none;
    316325  }
    317  
     326
    318327  a {
    319328    color: black;
     
    330339    background-color: white;
    331340    vertical-align: top;
    332     font-size: 12pt;
    333   }
    334 
    335   ul.toc a::after {
     341    font-size: 110%;
     342  }
     343
     344  ul.toc a:nth-child(2)::after {
    336345    content: leader('.') target-counter(attr(href), page);
    337346  }
    338  
    339   a.iref {
     347
     348  ul.ind li li a {
    340349    content: target-counter(attr(href), page);
    341350  }
    342  
     351
    343352  .print2col {
    344353    column-count: 2;
     
    350359@page {
    351360  @top-left {
    352        content: "Internet-Draft"; 
    353   } 
     361       content: "Internet-Draft";
     362  }
    354363  @top-right {
    355        content: "September 2010"; 
    356   } 
     364       content: "September 2010";
     365  }
    357366  @top-center {
    358        content: "Content-Disposition in HTTP"; 
    359   } 
     367       content: "Content-Disposition in HTTP";
     368  }
    360369  @bottom-left {
    361        content: "Reschke"; 
    362   } 
     370       content: "Reschke";
     371  }
    363372  @bottom-center {
    364        content: "Standards Track";
    365   } 
     373       content: "Expires March 7, 2011";
     374  }
    366375  @bottom-right {
    367        content: "[Page " counter(page) "]"; 
    368   } 
    369 }
    370 
    371 @page:first { 
     376       content: "[Page " counter(page) "]";
     377  }
     378}
     379
     380@page:first {
    372381    @top-left {
    373382      content: normal;
     
    397406      <link rel="Appendix" title="C Alternative Approaches to Internationalization" href="#rfc.section.C">
    398407      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
    399       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.522, 2010-08-31 15:02:33, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     408      <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/">
    400409      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    401410      <meta name="dct.creator" content="Reschke, J. F.">
     
    417426            </tr>
    418427            <tr>
    419                <td class="left">Updates: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
     428               <td class="left">Updates: <a href="https://tools.ietf.org/html/rfc2616">2616</a> (if approved)
    420429               </td>
    421430               <td class="right">September 3, 2010</td>
     
    432441      </table>
    433442      <p class="title">Use of the Content-Disposition&nbsp;Header&nbsp;Field in the Hypertext&nbsp;Transfer&nbsp;Protocol&nbsp;(HTTP)<br><span class="filename">draft-ietf-httpbis-content-disp-00</span></p>
    434       <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
     443      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1>
    435444      <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.
    436445         This specification takes over the definition and registration of Content-Disposition, as used in HTTP, and clarifies internationalization
    437446         aspects.
    438       </p> 
    439       <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1> 
     447      </p>
     448      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1>
    440449      <p>This specification is expected to replace the definition of Content-Disposition in the HTTP/1.1 specification, as currently
    441450         revised by the IETF HTTPbis working group. See also &lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/123">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/123</a>&gt;.
    442       </p> 
     451      </p>
    443452      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
    444453         list is at &lt;<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>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>&gt;.
    445       </p>   
    446       <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>
    447       <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
    448       <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
    449          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>.
    450454      </p>
    451       <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
    452          documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
    453          in progress”.
    454       </p>
    455       <p>This Internet-Draft will expire on March 7, 2011.</p>
    456       <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    457       <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
    458       <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
    459          and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
    460          text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
    461          BSD License.
    462       </p>
     455      <div id="rfc.status">
     456         <h1><a href="#rfc.status">Status of This Memo</a></h1>
     457         <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
     458         <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
     459            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>.
     460         </p>
     461         <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
     462            documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
     463            in progress”.
     464         </p>
     465         <p>This Internet-Draft will expire on March 7, 2011.</p>
     466      </div>
     467      <div id="rfc.copyrightnotice">
     468         <h1><a href="#rfc.copyrightnotice">Copyright Notice</a></h1>
     469         <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     470         <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
     471            and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
     472            text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
     473            BSD License.
     474         </p>
     475      </div>
    463476      <hr class="noprint">
    464477      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
    465478      <ul class="toc">
    466          <li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li>
    467          <li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">Notational Conventions</a></li>
    468          <li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#header.field.definition">Header Field Definition</a><ul class="toc">
    469                <li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Grammar</a></li>
    470                <li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#disposition.type">Disposition Type</a></li>
    471                <li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li>
    472                <li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.extensionsS">Disposition Parameter: Extensions</a></li>
    473                <li class="tocline1">3.5&nbsp;&nbsp;&nbsp;<a href="#extensibility">Extensibility</a></li>
     479         <li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li>
     480         <li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">Notational Conventions</a></li>
     481         <li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.definition">Header Field Definition</a><ul>
     482               <li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Grammar</a></li>
     483               <li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.type">Disposition Type</a></li>
     484               <li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li>
     485               <li><a href="#rfc.section.3.4">3.4</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.extensionsS">Disposition Parameter: Extensions</a></li>
     486               <li><a href="#rfc.section.3.5">3.5</a>&nbsp;&nbsp;&nbsp;<a href="#extensibility">Extensibility</a></li>
    474487            </ul>
    475488         </li>
    476          <li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Examples</a></li>
    477          <li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#i18n">Internationalization Considerations</a></li>
    478          <li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
    479          <li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#iana.considerations">IANA Considerations</a><ul class="toc">
    480                <li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></li>
    481                <li class="tocline1">7.2&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
     489         <li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Examples</a></li>
     490         <li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#i18n">Internationalization Considerations</a></li>
     491         <li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
     492         <li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#iana.considerations">IANA Considerations</a><ul>
     493               <li><a href="#rfc.section.7.1">7.1</a>&nbsp;&nbsp;&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></li>
     494               <li><a href="#rfc.section.7.2">7.2</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
    482495            </ul>
    483496         </li>
    484          <li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Acknowledgements</a></li>
    485          <li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul class="toc">
    486                <li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
    487                <li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
     497         <li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Acknowledgements</a></li>
     498         <li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul>
     499               <li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
     500               <li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
    488501            </ul>
    489502         </li>
    490          <li class="tocline0"><a href="#rfc.authors">Author's Address</a></li>
    491          <li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li>
    492          <li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li>
    493          <li class="tocline0">C.&nbsp;&nbsp;&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a><ul class="toc">
    494                <li class="tocline1">C.1&nbsp;&nbsp;&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li>
    495                <li class="tocline1">C.2&nbsp;&nbsp;&nbsp;<a href="#alternatives.percent">Percent Encoding</a></li>
    496                <li class="tocline1">C.3&nbsp;&nbsp;&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></li>
    497                <li class="tocline1">C.4&nbsp;&nbsp;&nbsp;<a href="#alternatives.implementations">Implementations</a></li>
     503         <li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li>
     504         <li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li>
     505         <li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a><ul>
     506               <li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li>
     507               <li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.percent">Percent Encoding</a></li>
     508               <li><a href="#rfc.section.C.3">C.3</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></li>
     509               <li><a href="#rfc.section.C.4">C.4</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.implementations">Implementations</a></li>
    498510            </ul>
    499511         </li>
    500          <li class="tocline0">D.&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc">
    501                <li class="tocline1">D.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li>
    502                <li class="tocline1">D.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li>
    503                <li class="tocline1">D.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li>
    504                <li class="tocline1">D.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li>
     512         <li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul>
     513               <li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li>
     514               <li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li>
     515               <li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li>
     516               <li><a href="#rfc.section.D.4">D.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li>
    505517            </ul>
    506518         </li>
    507          <li class="tocline0"><a href="#rfc.index">Index</a></li>
     519         <li><a href="#rfc.index">Index</a></li>
     520         <li><a href="#rfc.authors">Author's Address</a></li>
    508521      </ul>
    509       <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
    510       <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>):
    511       </p>
    512       <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5">
    513          <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks
    514             for implementers.
    515          </p>
    516       </blockquote>
    517       <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
    518          testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions
    519          (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.
    520       </p>
    521       <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;Notational Conventions
    522       </h1>
    523       <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
    524          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>.
    525       </p>
    526       <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).
    527       </p>
    528       <div id="rfc.iref.h.1"></div>
    529       <div id="rfc.iref.c.1"></div>
    530       <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a id="header.field.definition" href="#header.field.definition">Header Field Definition</a></h1>
    531       <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,
    532          and also can be used to attach additional metadata, such as the filename.
    533       </p>
    534       <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Grammar
    535       </h2>
    536       <div id="rfc.figure.u.1"></div><pre class="inline">  content-disposition = "Content-Disposition" ":"
     522      <div id="introduction">
     523         <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#introduction">Introduction</a></h1>
     524         <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>):
     525         </p>
     526         <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5">
     527            <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks
     528               for implementers.
     529            </p>
     530         </blockquote>
     531         <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
     532            testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions
     533            (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.
     534         </p>
     535      </div>
     536      <div>
     537         <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;Notational Conventions
     538         </h1>
     539         <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
     540            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>.
     541         </p>
     542         <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).
     543         </p>
     544      </div>
     545      <div id="header.field.definition">
     546         <div id="rfc.iref.h.1"></div>
     547         <div id="rfc.iref.c.1"></div>
     548         <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a href="#header.field.definition">Header Field Definition</a></h1>
     549         <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,
     550            and also can be used to attach additional metadata, such as the filename.
     551         </p>
     552         <div>
     553            <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Grammar
     554            </h2>
     555            <div id="rfc.figure.u.1"></div><pre class="inline">  content-disposition = "Content-Disposition" ":"
    537556                         disposition-type *( ";" disposition-parm )
    538557
     
    549568                      | ext-token "=" ext-value
    550569  ext-token           = &lt;the characters in token, followed by "*"&gt;
    551 </pre><div id="rfc.figure.u.2"></div>
    552       <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>:
    553       </p>  <pre class="inline">  token       = &lt;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>&gt;
    554   value       = &lt;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>&gt;
    555 </pre><div id="rfc.figure.u.3"></div>
    556       <p>Defined in <a href="#RFC5987" id="rfc.xref.RFC5987.1"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>:
    557       </p>  <pre class="inline">  ext-value   = &lt;ext-value, defined in <a href="#RFC5987" id="rfc.xref.RFC5987.2"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>, <a href="http://tools.ietf.org/html/rfc5987#section-3.2">Section 3.2</a>&gt;
    558 </pre><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="disposition.type" href="#disposition.type">Disposition Type</a></h2>
    559       <p id="rfc.section.3.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the user agent should not display the
    560          response, but directly enter a "save as..." dialog.
    561       </p>
    562       <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p>
    563       <p id="rfc.section.3.2.p.3">Other 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>).
    564       </p>
    565       <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;<a id="disposition.parameter.filename" href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2>
    566       <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
    567          for storing the message payload.
    568       </p>
    569       <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
    570          "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page
    571          being displayed).
    572       </p>
    573       <p id="rfc.section.3.3.p.3">"filename" and "filename*" behave the same, except that "filename*" uses the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.3"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[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>). When both "filename" and "filename*" are present, a recipient <em class="bcp14">SHOULD</em> pick "filename*" and ignore "filename" - this will make it possible to send the same header value to clients that do not support
    574          "filename*".
    575       </p>
    576       <p id="rfc.section.3.3.p.4">It is essential that user agents treat the specified filename as advisory only, thus be very careful in extracting the desired
    577          information. In particular:
    578       </p>
    579       <ul>
    580          <li>
    581             <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").
    582             </p>
    583          </li>
    584          <li>
    585             <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
    586                extension could introduce a privilege escalation when later on the file is opened locally (consider ".exe"). Thus, recipients
    587                need to ensure that a file extension is used that is safe, optimally matching the media type of the received payload.
    588             </p>
    589          </li>
    590          <li>
    591             <p>Other aspects recipients need to be aware of are names that have a special meaning in the filesystem or in shell commands,
    592                such as "." and "..", "~", "|", and also device names.
    593             </p>
    594          </li>
    595       </ul>
    596       <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;<a id="disposition.parameter.extensionsS" href="#disposition.parameter.extensionsS">Disposition Parameter: Extensions</a></h2>
    597       <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>).
    598       </p>
    599       <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;<a id="extensibility" href="#extensibility">Extensibility</a></h2>
    600       <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
    601          using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP.
    602       </p>
    603       <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;Examples
    604       </h1>
    605       <div id="rfc.figure.u.4"></div>
    606       <p>Direct UA to show "save as" dialog, with a filename of "foo.html":</p>  <pre class="text">Content-Disposition: Attachment; filename=foo.html
    607 </pre><div id="rfc.figure.u.5"></div>
    608       <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "foo.html" for
    609          a subsequent save operation:
    610       </p>  <pre class="text">Content-Disposition: INLINE; FILENAME= "foo.html"
    611 </pre><div id="rfc.figure.u.6"></div>
    612       <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
    613 </pre>  <p>Note that this example uses the extended encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.4"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[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
    614          in the token production.
    615       </p>
    616       <div id="rfc.figure.u.7"></div>
    617       <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; filename*= UTF-8''<b>%e2%82%ac</b>%20rates
    618 </pre>  <p>Here, the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.5"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a> is also used to encode the non-ISO-8859-1 character.
    619       </p>
    620       <div id="rfc.figure.u.8"></div>
    621       <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; filename="EURO rates";
     570</pre><div id="rfc.figure.u.2"></div>
     571            <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>:
     572            </p><pre class="inline">  token       = &lt;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>&gt;
     573  value       = &lt;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>&gt;
     574</pre><div id="rfc.figure.u.3"></div>
     575            <p>Defined in <a href="#RFC5987" id="rfc.xref.RFC5987.1"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>:
     576            </p><pre class="inline">  ext-value   = &lt;ext-value, defined in <a href="#RFC5987" id="rfc.xref.RFC5987.2"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>, <a href="https://tools.ietf.org/html/rfc5987#section-3.2">Section 3.2</a>&gt;
     577</pre></div>
     578         <div id="disposition.type">
     579            <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a href="#disposition.type">Disposition Type</a></h2>
     580            <p id="rfc.section.3.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the user agent should not display the
     581               response, but directly enter a "save as..." dialog.
     582            </p>
     583            <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p>
     584            <p id="rfc.section.3.2.p.3">Other 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>).
     585            </p>
     586         </div>
     587         <div id="disposition.parameter.filename">
     588            <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2>
     589            <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
     590               for storing the message payload.
     591            </p>
     592            <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
     593               "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page
     594               being displayed).
     595            </p>
     596            <p id="rfc.section.3.3.p.3">"filename" and "filename*" behave the same, except that "filename*" uses the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.3"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[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>). When both "filename" and "filename*" are present, a recipient <em class="bcp14">SHOULD</em> pick "filename*" and ignore "filename" - this will make it possible to send the same header value to clients that do not support
     597               "filename*".
     598            </p>
     599            <p id="rfc.section.3.3.p.4">It is essential that user agents treat the specified filename as advisory only, thus be very careful in extracting the desired
     600               information. In particular:
     601            </p>
     602            <ul>
     603               <li>
     604                  <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").
     605                  </p>
     606               </li>
     607               <li>
     608                  <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
     609                     extension could introduce a privilege escalation when later on the file is opened locally (consider ".exe"). Thus, recipients
     610                     need to ensure that a file extension is used that is safe, optimally matching the media type of the received payload.
     611                  </p>
     612               </li>
     613               <li>
     614                  <p>Other aspects recipients need to be aware of are names that have a special meaning in the filesystem or in shell commands,
     615                     such as "." and "..", "~", "|", and also device names.
     616                  </p>
     617               </li>
     618            </ul>
     619         </div>
     620         <div id="disposition.parameter.extensionsS">
     621            <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;<a href="#disposition.parameter.extensionsS">Disposition Parameter: Extensions</a></h2>
     622            <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>).
     623            </p>
     624         </div>
     625         <div id="extensibility">
     626            <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;<a href="#extensibility">Extensibility</a></h2>
     627            <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
     628               using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP.
     629            </p>
     630         </div>
     631      </div>
     632      <div>
     633         <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;Examples
     634         </h1>
     635         <div id="rfc.figure.u.4"></div>
     636         <p>Direct UA to show "save as" dialog, with a filename of "foo.html":</p><pre class="text">Content-Disposition: Attachment; filename=foo.html
     637</pre><div id="rfc.figure.u.5"></div>
     638         <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "foo.html" for
     639            a subsequent save operation:
     640         </p><pre class="text">Content-Disposition: INLINE; FILENAME= "foo.html"
     641</pre><div id="rfc.figure.u.6"></div>
     642         <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
     643</pre><p>Note that this example uses the extended encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.4"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[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
     644            in the token production.
     645         </p>
     646         <div id="rfc.figure.u.7"></div>
     647         <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; filename*= UTF-8''<b>%e2%82%ac</b>%20rates
     648</pre><p>Here, the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.5"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a> is also used to encode the non-ISO-8859-1 character.
     649         </p>
     650         <div id="rfc.figure.u.8"></div>
     651         <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; filename="EURO rates";
    622652                                 filename*=utf-8''<b>%e2%82%ac</b>%20rates
    623 </pre>  <p>Note: as of August 2010, many user agents unfortunately did not properly handle unexpected parameters, and some that implement
    624          RFC 5987 did not pick the extended parameter when both were present.
    625       </p>
    626       <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="i18n" href="#i18n">Internationalization Considerations</a></h1>
    627       <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>), using the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.6"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>, allows the server to transmit characters outside the ISO-8859-1 character set, and also to optionally specify the language
    628          in use.
    629       </p>
    630       <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p>
    631       <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
    632       <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&nbsp;3.3</a>.
    633       </p>
    634       <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="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a> (see <a href="#RFC5987" id="rfc.xref.RFC5987.8"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>).
    635       </p>
    636       <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="iana.considerations" href="#iana.considerations">IANA Considerations</a></h1>
    637       <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a id="registry" href="#registry">Registry for Disposition Values and Parameter</a></h2>
    638       <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
    639          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>.
    640       </p>
    641       <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2>
    642       <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
    643          (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>).
    644       </p>
    645       <p id="rfc.section.7.2.p.2"> </p>
    646       <dl>
    647          <dt>Header field name:</dt>
    648          <dd>Content-Disposition</dd>
    649          <dt>Applicable protocol:</dt>
    650          <dd>http</dd>
    651          <dt>Status:</dt>
    652          <dd>standard</dd>
    653          <dt>Author/Change controller:</dt>
    654          <dd>IETF</dd>
    655          <dt>Specification document:</dt>
    656          <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section&nbsp;3</a>)
    657          </dd>
    658       </dl>
    659       <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;Acknowledgements
    660       </h1>
    661       <p id="rfc.section.8.p.1">Thanks to Rolf Eike Beer, Alfred Hoenes, and Roar Lauritzsen for their valuable feedback.</p>
     653</pre><p>Note: as of August 2010, many user agents unfortunately did not properly handle unexpected parameters, and some that implement
     654            RFC 5987 did not pick the extended parameter when both were present.
     655         </p>
     656      </div>
     657      <div id="i18n">
     658         <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#i18n">Internationalization Considerations</a></h1>
     659         <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>), using the encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.6"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>, allows the server to transmit characters outside the ISO-8859-1 character set, and also to optionally specify the language
     660            in use.
     661         </p>
     662         <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p>
     663      </div>
     664      <div id="security.considerations">
     665         <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#security.considerations">Security Considerations</a></h1>
     666         <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&nbsp;3.3</a>.
     667         </p>
     668         <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="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a> (see <a href="https://tools.ietf.org/html/rfc5987" id="rfc.xref.RFC5987.8">Appendix ERROR: Anchor 'security.considerations' in RFC5987 not found in source file ''.</a>).
     669         </p>
     670      </div>
     671      <div id="iana.considerations">
     672         <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a href="#iana.considerations">IANA Considerations</a></h1>
     673         <div id="registry">
     674            <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></h2>
     675            <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
     676               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>.
     677            </p>
     678         </div>
     679         <div id="header.field.registration">
     680            <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a href="#header.field.registration">Header Field Registration</a></h2>
     681            <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
     682               (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>).
     683            </p>
     684            <p id="rfc.section.7.2.p.2"></p>
     685            <dl>
     686               <dt>Header field name:</dt>
     687               <dd>Content-Disposition</dd>
     688               <dt>Applicable protocol:</dt>
     689               <dd>http</dd>
     690               <dt>Status:</dt>
     691               <dd>standard</dd>
     692               <dt>Author/Change controller:</dt>
     693               <dd>IETF</dd>
     694               <dt>Specification document:</dt>
     695               <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section&nbsp;3</a>)
     696               </dd>
     697            </dl>
     698         </div>
     699      </div>
     700      <div>
     701         <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;Acknowledgements
     702         </h1>
     703         <p id="rfc.section.8.p.1">Thanks to Rolf Eike Beer, Alfred Hoenes, and Roar Lauritzsen for their valuable feedback.</p>
     704      </div>
    662705      <h1 id="rfc.references"><a id="rfc.section.9" href="#rfc.section.9">9.</a> References
    663706      </h1>
    664707      <h2 id="rfc.references.1"><a href="#rfc.section.9.1" id="rfc.section.9.1">9.1</a> Normative References
    665708      </h2>
    666       <table>       
     709      <table>
    667710         <tr>
    668711            <td class="reference"><b id="ISO-8859-1">[ISO-8859-1]</b></td>
     
    671714         <tr>
    672715            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
    673             <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&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
     716            <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&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
    674717            </td>
    675718         </tr>
    676719         <tr>
    677720            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
    678             <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&nbsp;2616, June&nbsp;1999.
     721            <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&nbsp;2616, June&nbsp;1999.
    679722            </td>
    680723         </tr>
    681724         <tr>
    682725            <td class="reference"><b id="RFC5987">[RFC5987]</b></td>
    683             <td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J.</a>, “<a href="http://tools.ietf.org/html/rfc5987">Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers</a>”, RFC&nbsp;5987, August&nbsp;2010.
     726            <td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J.</a>, “<a href="https://tools.ietf.org/html/rfc5987">Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers</a>”, RFC&nbsp;5987, August&nbsp;2010.
    684727            </td>
    685728         </tr>
     
    687730      <h2 id="rfc.references.2"><a href="#rfc.section.9.2" id="rfc.section.9.2">9.2</a> Informative References
    688731      </h2>
    689       <table>             
     732      <table>
    690733         <tr>
    691734            <td class="reference"><b id="RFC2046">[RFC2046]</b></td>
    692             <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&nbsp;2046, November&nbsp;1996.
     735            <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&nbsp;2046, November&nbsp;1996.
    693736            </td>
    694737         </tr>
    695738         <tr>
    696739            <td class="reference"><b id="RFC2047">[RFC2047]</b></td>
    697             <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&nbsp;2047, November&nbsp;1996.
     740            <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&nbsp;2047, November&nbsp;1996.
    698741            </td>
    699742         </tr>
    700743         <tr>
    701744            <td class="reference"><b id="RFC2183">[RFC2183]</b></td>
    702             <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&nbsp;2183, August&nbsp;1997.
     745            <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&nbsp;2183, August&nbsp;1997.
    703746            </td>
    704747         </tr>
    705748         <tr>
    706749            <td class="reference"><b id="RFC2231">[RFC2231]</b></td>
    707             <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&nbsp;2231, November&nbsp;1997.
     750            <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&nbsp;2231, November&nbsp;1997.
    708751            </td>
    709752         </tr>
    710753         <tr>
    711754            <td class="reference"><b id="RFC3629">[RFC3629]</b></td>
    712             <td class="top"><a href="mailto:fyergeau@alis.com" title="Alis Technologies">Yergeau, F.</a>, “<a href="http://tools.ietf.org/html/rfc3629">UTF-8, a transformation format of ISO 10646</a>”, RFC&nbsp;3629, STD&nbsp;63, November&nbsp;2003.
     755            <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>”, RFC&nbsp;3629, STD&nbsp;63, November&nbsp;2003.
    713756            </td>
    714757         </tr>
    715758         <tr>
    716759            <td class="reference"><b id="RFC3864">[RFC3864]</b></td>
    717             <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&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
     760            <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&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
    718761            </td>
    719762         </tr>
    720763         <tr>
    721764            <td class="reference"><b id="RFC3986">[RFC3986]</b></td>
    722             <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>”, RFC&nbsp;3986, STD&nbsp;66, January&nbsp;2005.
     765            <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>”, RFC&nbsp;3986, STD&nbsp;66, January&nbsp;2005.
    723766            </td>
    724767         </tr>
    725768      </table>
    726       <div class="avoidbreak">
    727          <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1>
    728          <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>&nbsp;<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>
    729       </div>
    730       <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="changes.from.rfc2616" href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1>
    731       <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:
    732       </p>
    733       <ul>
    734          <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This
    735             restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly
    736             declaring the media type.
    737          </li>
    738          <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't
    739             reflect actual use.
    740          </li>
    741          <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.
    742          </li>
    743          <li>This specification requires support for the extended parameter encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.9"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>.
    744          </li>
    745       </ul>
    746       <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="diffs.compared.to.rfc2183" href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1>
    747       <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
    748          do not appear to be implemented by any user agent, thus have been omitted from this specification.
    749       </p>
    750       <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a id="alternatives" href="#alternatives">Alternative Approaches to Internationalization</a></h1>
    751       <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.
    752       </p>
    753       <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
    754          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="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>).
    755       </p>
    756       <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
    757          to the RFC 5987 encoding used in this specification.
    758       </p>
    759       <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a id="alternatives.rfc2047" href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2>
    760       <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
    761          - 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>:
    762       </p>
    763       <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5">
    764          <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p> 
    765          <p>...</p> 
    766          <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured
    767             field body except within a 'comment' or 'phrase'.
    768          </p>
    769       </blockquote>
    770       <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
    771          confused by it.
    772       </p>
    773       <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a id="alternatives.percent" href="#alternatives.percent">Percent Encoding</a></h2>
    774       <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.
    775       </p>
    776       <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
    777          to the user.
    778       </p>
    779       <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
    780          to use in multi-lingual environments.
    781       </p>
    782       <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;<a id="alternatives.sniff" href="#alternatives.sniff">Encoding Sniffing</a></h2>
    783       <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
    784          the correct interpretation.
    785       </p>
    786       <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>
    787       <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a>&nbsp;<a id="alternatives.implementations" href="#alternatives.implementations">Implementations</a></h2>
    788       <p id="rfc.section.C.4.p.1">Unfortunately, as of August 2010, neither the encoding defined in RFCs 2231 and 5789, nor any of the alternate approaches
    789          discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which
    790          at least has the advantage of actually being specified properly.
    791       </p>
    792       <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches: <span class="comment" id="impls">[<a href="#impls" class="smpl">impls</a>: Discuss: should we mention the implementation status of actual UAs in a RFC? Up to the IESG to decide...]</span>
    793       </p>
    794       <div id="rfc.table.u.1">
    795          <table class="tt full left" cellpadding="3" cellspacing="0">
    796             <thead>
    797                <tr>
    798                   <th>User Agent</th>
    799                   <th>RFC 2231/5987</th>
    800                   <th>RFC 2047</th>
    801                   <th>Percent Encoding</th>
    802                   <th>Encoding Sniffing</th>
    803                </tr>
    804             </thead>
    805             <tbody>
    806                <tr>
    807                   <td class="left">Chrome</td>
    808                   <td class="left">no</td>
    809                   <td class="left">yes</td>
    810                   <td class="left">yes</td>
    811                   <td class="left">yes</td>
    812                </tr>
    813                <tr>
    814                   <td class="left">Firefox</td>
    815                   <td class="left">yes (*)</td>
    816                   <td class="left">yes</td>
    817                   <td class="left">no</td>
    818                   <td class="left">yes</td>
    819                </tr>
    820                <tr>
    821                   <td class="left">Internet Explorer</td>
    822                   <td class="left">no</td>
    823                   <td class="left">no</td>
    824                   <td class="left">yes</td>
    825                   <td class="left">no</td>
    826                </tr>
    827                <tr>
    828                   <td class="left">Konqueror</td>
    829                   <td class="left">yes</td>
    830                   <td class="left">no</td>
    831                   <td class="left">no</td>
    832                   <td class="left">no</td>
    833                </tr>
    834                <tr>
    835                   <td class="left">Opera</td>
    836                   <td class="left">yes (*)</td>
    837                   <td class="left">no</td>
    838                   <td class="left">no</td>
    839                   <td class="left">no</td>
    840                </tr>
    841                <tr>
    842                   <td class="left">Safari</td>
    843                   <td class="left">no</td>
    844                   <td class="left">no</td>
    845                   <td class="left">no</td>
    846                   <td class="left">yes</td>
    847                </tr>
    848             </tbody>
    849          </table>
    850          <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>.
    851          </p>
    852       </div>
    853       <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
    854       <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Since draft-reschke-rfc2183-in-http-00
    855       </h2>
    856       <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -&gt; "header field"). Update rfc2231-in-http reference.</p>
    857       <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;Since draft-reschke-rfc2183-in-http-01
    858       </h2>
    859       <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples
    860          using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve
    861          issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry".
    862       </p>
    863       <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;Since draft-reschke-rfc2183-in-http-02
    864       </h2>
    865       <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p>
    866       <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;Since draft-reschke-rfc2183-in-http-03
    867       </h2>
    868       <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p>
     769      <div id="changes.from.rfc2616">
     770         <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1>
     771         <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:
     772         </p>
     773         <ul>
     774            <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This
     775               restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly
     776               declaring the media type.
     777            </li>
     778            <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't
     779               reflect actual use.
     780            </li>
     781            <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.
     782            </li>
     783            <li>This specification requires support for the extended parameter encoding defined in <a href="#RFC5987" id="rfc.xref.RFC5987.9"><cite title="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>.
     784            </li>
     785         </ul>
     786      </div>
     787      <div id="diffs.compared.to.rfc2183">
     788         <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1>
     789         <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
     790            do not appear to be implemented by any user agent, thus have been omitted from this specification.
     791         </p>
     792      </div>
     793      <div id="alternatives">
     794         <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a></h1>
     795         <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.
     796         </p>
     797         <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
     798            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="Applicability of RFC 2231 Encoding to Hypertext Transfer Protocol (HTTP) Headers">[RFC5987]</cite></a>).
     799         </p>
     800         <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
     801            to the RFC 5987 encoding used in this specification.
     802         </p>
     803         <div id="alternatives.rfc2047">
     804            <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2>
     805            <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
     806               - 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>:
     807            </p>
     808            <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5">
     809               <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p>
     810               <p>...</p>
     811               <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured
     812                  field body except within a 'comment' or 'phrase'.
     813               </p>
     814            </blockquote>
     815            <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
     816               confused by it.
     817            </p>
     818         </div>
     819         <div id="alternatives.percent">
     820            <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a href="#alternatives.percent">Percent Encoding</a></h2>
     821            <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.
     822            </p>
     823            <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
     824               to the user.
     825            </p>
     826            <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
     827               to use in multi-lingual environments.
     828            </p>
     829         </div>
     830         <div id="alternatives.sniff">
     831            <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></h2>
     832            <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
     833               the correct interpretation.
     834            </p>
     835            <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>
     836         </div>
     837         <div id="alternatives.implementations">
     838            <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a>&nbsp;<a href="#alternatives.implementations">Implementations</a></h2>
     839            <p id="rfc.section.C.4.p.1">Unfortunately, as of August 2010, neither the encoding defined in RFCs 2231 and 5789, nor any of the alternate approaches
     840               discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which
     841               at least has the advantage of actually being specified properly.
     842            </p>
     843            <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches: <span class="comment" id="impls">[<a href="#impls" class="smpl">impls</a>: Discuss: should we mention the implementation status of actual UAs in a RFC? Up to the IESG to decide...]</span>
     844            </p>
     845            <div id="rfc.table.u.1">
     846               <table class="tt full left" cellpadding="3" cellspacing="0">
     847                  <thead>
     848                     <tr>
     849                        <th>User Agent</th>
     850                        <th>RFC 2231/5987</th>
     851                        <th>RFC 2047</th>
     852                        <th>Percent Encoding</th>
     853                        <th>Encoding Sniffing</th>
     854                     </tr>
     855                  </thead>
     856                  <tbody>
     857                     <tr>
     858                        <td class="left">Chrome</td>
     859                        <td class="left">no</td>
     860                        <td class="left">yes</td>
     861                        <td class="left">yes</td>
     862                        <td class="left">yes</td>
     863                     </tr>
     864                     <tr>
     865                        <td class="left">Firefox</td>
     866                        <td class="left">yes (*)</td>
     867                        <td class="left">yes</td>
     868                        <td class="left">no</td>
     869                        <td class="left">yes</td>
     870                     </tr>
     871                     <tr>
     872                        <td class="left">Internet Explorer</td>
     873                        <td class="left">no</td>
     874                        <td class="left">no</td>
     875                        <td class="left">yes</td>
     876                        <td class="left">no</td>
     877                     </tr>
     878                     <tr>
     879                        <td class="left">Konqueror</td>
     880                        <td class="left">yes</td>
     881                        <td class="left">no</td>
     882                        <td class="left">no</td>
     883                        <td class="left">no</td>
     884                     </tr>
     885                     <tr>
     886                        <td class="left">Opera</td>
     887                        <td class="left">yes (*)</td>
     888                        <td class="left">no</td>
     889                        <td class="left">no</td>
     890                        <td class="left">no</td>
     891                     </tr>
     892                     <tr>
     893                        <td class="left">Safari</td>
     894                        <td class="left">no</td>
     895                        <td class="left">no</td>
     896                        <td class="left">no</td>
     897                        <td class="left">yes</td>
     898                     </tr>
     899                  </tbody>
     900               </table>
     901               <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>.
     902               </p>
     903            </div>
     904         </div>
     905      </div>
     906      <div id="change.log">
     907         <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
     908         <div>
     909            <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Since draft-reschke-rfc2183-in-http-00
     910            </h2>
     911            <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -&gt; "header field"). Update rfc2231-in-http reference.</p>
     912         </div>
     913         <div>
     914            <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;Since draft-reschke-rfc2183-in-http-01
     915            </h2>
     916            <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples
     917               using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve
     918               issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry".
     919            </p>
     920         </div>
     921         <div>
     922            <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;Since draft-reschke-rfc2183-in-http-02
     923            </h2>
     924            <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p>
     925         </div>
     926         <div>
     927            <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;Since draft-reschke-rfc2183-in-http-03
     928            </h2>
     929            <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p>
     930         </div>
     931      </div>
    869932      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
    870933      <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>
     
    872935      <div class="print2col">
    873936         <ul class="ind">
    874             <li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind">
    875                   <li class="indline1">Content-Disposition header&nbsp;&nbsp;<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>
     937            <li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul>
     938                  <li>Content-Disposition header&nbsp;&nbsp;<a href="#rfc.iref.c.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li>
    876939               </ul>
    877940            </li>
    878             <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind">
    879                   <li class="indline1">Headers&nbsp;&nbsp;
    880                      <ul class="ind">
    881                         <li class="indline1">Content-Disposition&nbsp;&nbsp;<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>
     941            <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul>
     942                  <li>Headers&nbsp;&nbsp;
     943                     <ul>
     944                        <li>Content-Disposition&nbsp;&nbsp;<a href="#rfc.iref.h.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li>
    882945                     </ul>
    883946                  </li>
    884947               </ul>
    885948            </li>
    886             <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind">
    887                   <li class="indline1"><em>ISO-8859-1</em>&nbsp;&nbsp;<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>
     949            <li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul>
     950                  <li><em>ISO-8859-1</em>&nbsp;&nbsp;<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>
    888951               </ul>
    889952            </li>
    890             <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind">
    891                   <li class="indline1"><em>RFC2046</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2046.1">3.3</a>, <a class="iref" href="#RFC2046"><b>9.2</b></a></li>
    892                   <li class="indline1"><em>RFC2047</em>&nbsp;&nbsp;<a class="iref" href="#RFC2047"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2047.1">C.1</a><ul class="ind">
    893                         <li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2047.1">C.1</a></li>
     953            <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul>
     954                  <li><em>RFC2046</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2046.1">3.3</a>, <a href="#RFC2046"><b>9.2</b></a></li>
     955                  <li><em>RFC2047</em>&nbsp;&nbsp;<a href="#RFC2047"><b>9.2</b></a>, <a href="#rfc.xref.RFC2047.1">C.1</a><ul>
     956                        <li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2047.1">C.1</a></li>
    894957                     </ul>
    895958                  </li>
    896                   <li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">2</a>, <a class="iref" href="#RFC2119"><b>9.1</b></a></li>
    897                   <li class="indline1"><em>RFC2183</em>&nbsp;&nbsp;<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">
    898                         <li class="indline1"><em>Section 2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.7">B</a></li>
    899                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.6">A</a></li>
    900                         <li class="indline1"><em>Section 2.8</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.2">3.2</a>, <a class="iref" href="#rfc.xref.RFC2183.3">3.4</a></li>
    901                         <li class="indline1"><em>Section 9</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.4">3.5</a>, <a class="iref" href="#rfc.xref.RFC2183.5">7.1</a></li>
     959                  <li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">2</a>, <a href="#RFC2119"><b>9.1</b></a></li>
     960                  <li><em>RFC2183</em>&nbsp;&nbsp;<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>
     961                        <li><em>Section 2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.7">B</a></li>
     962                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.6">A</a></li>
     963                        <li><em>Section 2.8</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.2">3.2</a>, <a href="#rfc.xref.RFC2183.3">3.4</a></li>
     964                        <li><em>Section 9</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.4">3.5</a>, <a href="#rfc.xref.RFC2183.5">7.1</a></li>
    902965                     </ul>
    903966                  </li>
    904                   <li class="indline1"><em>RFC2231</em>&nbsp;&nbsp;<a class="iref" href="#RFC2231"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2231.1">C</a></li>
    905                   <li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<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">
    906                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.3">2</a></li>
    907                         <li class="indline1"><em>Section 2.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.5">3.1</a>, <a class="iref" href="#rfc.xref.RFC2616.9">C</a></li>
    908                         <li class="indline1"><em>Section 3.6</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.6">3.1</a></li>
    909                         <li class="indline1"><em>Section 15.5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">1</a></li>
    910                         <li class="indline1"><em>Section 15</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.7">6</a></li>
    911                         <li class="indline1"><em>Section 19.5.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#rfc.xref.RFC2616.8">A</a></li>
     967                  <li><em>RFC2231</em>&nbsp;&nbsp;<a href="#RFC2231"><b>9.2</b></a>, <a href="#rfc.xref.RFC2231.1">C</a></li>
     968                  <li><em>RFC2616</em>&nbsp;&nbsp;<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>
     969                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.3">2</a></li>
     970                        <li><em>Section 2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.5">3.1</a>, <a href="#rfc.xref.RFC2616.9">C</a></li>
     971                        <li><em>Section 3.6</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.6">3.1</a></li>
     972                        <li><em>Section 15.5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.2">1</a></li>
     973                        <li><em>Section 15</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.7">6</a></li>
     974                        <li><em>Section 19.5.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">1</a>, <a href="#rfc.xref.RFC2616.8">A</a></li>
    912975                     </ul>
    913976                  </li>
    914                   <li class="indline1"><em>RFC3629</em>&nbsp;&nbsp;<a class="iref" href="#RFC3629"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC3629.1">C.2</a></li>
    915                   <li class="indline1"><em>RFC3864</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3864.1">7.2</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li>
    916                   <li class="indline1"><em>RFC3986</em>&nbsp;&nbsp;<a class="iref" href="#RFC3986"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC3986.1">C.2</a><ul class="ind">
    917                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3986.1">C.2</a></li>
     977                  <li><em>RFC3629</em>&nbsp;&nbsp;<a href="#RFC3629"><b>9.2</b></a>, <a href="#rfc.xref.RFC3629.1">C.2</a></li>
     978                  <li><em>RFC3864</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC3864.1">7.2</a>, <a href="#RFC3864"><b>9.2</b></a></li>
     979                  <li><em>RFC3986</em>&nbsp;&nbsp;<a href="#RFC3986"><b>9.2</b></a>, <a href="#rfc.xref.RFC3986.1">C.2</a><ul>
     980                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC3986.1">C.2</a></li>
    918981                     </ul>
    919982                  </li>
    920                   <li class="indline1"><em>RFC5987</em>&nbsp;&nbsp;<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">
    921                         <li class="indline1"><em>Section 3.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5987.2">3.1</a></li>
     983                  <li><em>RFC5987</em>&nbsp;&nbsp;<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>
     984                        <li><em>Section 3.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5987.2">3.1</a></li>
    922985                     </ul>
    923986                  </li>
     
    926989         </ul>
    927990      </div>
     991      <div class="avoidbreak">
     992         <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1>
     993         <p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW&nbsp;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>
     994      </div>
    928995   </body>
    929996</html>
  • draft-ietf-httpbis-content-disp/01/draft-ietf-httpbis-content-disp.html

    r1013 r2726  
    22  PUBLIC "-//W3C//DTD HTML 4.01//EN">
    33<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/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    66      <title>Use of the Content-Disposition&nbsp;Header&nbsp;Field
     
    3333body {
    3434  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;
    3738}
    3839cite {
    3940  font-style: normal;
    4041}
    41 dd {
    42   margin-right: 2em;
    43 }
    4442dl {
    4543  margin-left: 2em;
    4644}
    47 
    4845ul.empty {
    4946  list-style-type: none;
     
    5956}
    6057h1 {
    61   font-size: 14pt;
     58  font-size: 130%;
    6259  line-height: 21pt;
    6360  page-break-after: avoid;
     
    6663  page-break-before: always;
    6764}
    68 h1 a {
    69   color: #333333;
    70 }
    7165h2 {
    72   font-size: 12pt;
     66  font-size: 120%;
    7367  line-height: 15pt;
    7468  page-break-after: avoid;
    7569}
    76 h3, h4, h5, h6 {
    77   font-size: 10pt;
     70h3 {
     71  font-size: 110%;
    7872  page-break-after: avoid;
    7973}
    80 h2 a, h3 a, h4 a, h5 a, h6 a {
     74h4, h5, h6 {
     75  page-break-after: avoid;
     76}
     77h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    8178  color: black;
    8279}
     
    8683li {
    8784  margin-left: 2em;
    88   margin-right: 2em;
    8985}
    9086ol {
    9187  margin-left: 2em;
    92   margin-right: 2em;
     88}
     89ol.la {
     90  list-style-type: lower-alpha;
     91}
     92ol.ua {
     93  list-style-type: upper-alpha;
    9394}
    9495ol p {
     
    9798p {
    9899  margin-left: 2em;
    99   margin-right: 2em;
    100100}
    101101pre {
     
    103103  background-color: lightyellow;
    104104  padding: .25em;
     105  page-break-inside: avoid;
    105106}
    106107pre.text2 {
     
    131132table.tt {
    132133  vertical-align: top;
     134  border-color: gray;
     135}
     136table.tt th {
     137  border-color: gray;
     138}
     139table.tt td {
     140  border-color: gray;
     141}
     142table.all {
     143  border-style: solid;
     144  border-width: 2px;
    133145}
    134146table.full {
    135   border-style: outset;
    136   border-width: 1px;
    137 }
    138 table.headers {
    139   border-style: outset;
    140   border-width: 1px;
     147  border-style: solid;
     148  border-width: 2px;
    141149}
    142150table.tt td {
    143151  vertical-align: top;
    144152}
     153table.all td {
     154  border-style: solid;
     155  border-width: 1px;
     156}
    145157table.full td {
    146   border-style: inset;
     158  border-style: none solid;
    147159  border-width: 1px;
    148160}
     
    150162  vertical-align: top;
    151163}
     164table.all th {
     165  border-style: solid;
     166  border-width: 1px;
     167}
    152168table.full th {
    153   border-style: inset;
    154   border-width: 1px;
     169  border-style: solid;
     170  border-width: 1px 1px 2px 1px;
    155171}
    156172table.headers th {
    157   border-style: none none inset none;
    158   border-width: 1px;
     173  border-style: none none solid none;
     174  border-width: 2px;
    159175}
    160176table.left {
     
    171187  caption-side: bottom;
    172188  font-weight: bold;
    173   font-size: 9pt;
     189  font-size: 10pt;
    174190  margin-top: .5em;
    175191}
     
    178194  border-spacing: 1px;
    179195  width: 95%;
    180   font-size: 10pt;
     196  font-size: 11pt;
    181197  color: white;
    182198}
     
    186202td.topnowrap {
    187203  vertical-align: top;
    188   white-space: nowrap; 
     204  white-space: nowrap;
    189205}
    190206table.header td {
     
    203219  display:table-header-group;
    204220}
    205 ul.toc {
     221ul.toc, ul.toc ul {
    206222  list-style: none;
    207223  margin-left: 1.5em;
    208   margin-right: 0em;
    209224  padding-left: 0em;
    210225}
    211 li.tocline0 {
     226ul.toc li {
    212227  line-height: 150%;
    213228  font-weight: bold;
     229  margin-left: 0em;
     230}
     231ul.toc li li {
     232  line-height: normal;
     233  font-weight: normal;
    214234  font-size: 10pt;
    215235  margin-left: 0em;
    216   margin-right: 0em;
    217 }
    218 li.tocline1 {
    219   line-height: normal;
    220   font-weight: normal;
    221   font-size: 9pt;
    222   margin-left: 0em;
    223   margin-right: 0em;
    224 }
    225 li.tocline2 {
     236}
     237li.excluded {
    226238  font-size: 0pt;
    227239}
     
    229241  margin-left: 0em;
    230242}
    231 ul.ind {
     243.title, .filename, h1, h2, h3, h4 {
     244  font-family: candara, helvetica, arial, sans-serif;
     245}
     246samp, tt, code, pre {
     247  font: consolas, monospace;
     248}
     249ul.ind, ul.ind ul {
    232250  list-style: none;
    233251  margin-left: 1.5em;
    234   margin-right: 0em;
    235252  padding-left: 0em;
    236253  page-break-before: avoid;
    237254}
    238 li.indline0 {
     255ul.ind li {
    239256  font-weight: bold;
    240257  line-height: 200%;
    241258  margin-left: 0em;
    242   margin-right: 0em;
    243 }
    244 li.indline1 {
     259}
     260ul.ind li li {
    245261  font-weight: normal;
    246262  line-height: 150%;
    247263  margin-left: 0em;
    248   margin-right: 0em;
    249264}
    250265.avoidbreak {
     
    273288  font-weight: bold;
    274289  text-align: center;
    275   font-size: 9pt;
     290  font-size: 10pt;
    276291}
    277292.filename {
    278293  color: #333333;
     294  font-size: 75%;
    279295  font-weight: bold;
    280   font-size: 12pt;
    281296  line-height: 21pt;
    282297  text-align: center;
     
    285300  font-weight: bold;
    286301}
    287 .hidden {
    288   display: none;
    289 }
    290302.left {
    291303  text-align: left;
     
    295307}
    296308.title {
    297   color: #990000;
    298   font-size: 18pt;
     309  color: green;
     310  font-size: 150%;
    299311  line-height: 18pt;
    300312  font-weight: bold;
     
    302314  margin-top: 36pt;
    303315}
    304 .vcardline {
    305   display: block;
    306 }
    307316.warning {
    308   font-size: 14pt;
     317  font-size: 130%;
    309318  background-color: yellow;
    310319}
     
    315324    display: none;
    316325  }
    317  
     326
    318327  a {
    319328    color: black;
     
    330339    background-color: white;
    331340    vertical-align: top;
    332     font-size: 12pt;
    333   }
    334 
    335   ul.toc a::after {
     341    font-size: 110%;
     342  }
     343
     344  ul.toc a:nth-child(2)::after {
    336345    content: leader('.') target-counter(attr(href), page);
    337346  }
    338  
    339   a.iref {
     347
     348  ul.ind li li a {
    340349    content: target-counter(attr(href), page);
    341350  }
    342  
     351
    343352  .print2col {
    344353    column-count: 2;
     
    350359@page {
    351360  @top-left {
    352        content: "Internet-Draft"; 
    353   } 
     361       content: "Internet-Draft";
     362  }
    354363  @top-right {
    355        content: "September 2010"; 
    356   } 
     364       content: "September 2010";
     365  }
    357366  @top-center {
    358        content: "Content-Disposition in HTTP"; 
    359   } 
     367       content: "Content-Disposition in HTTP";
     368  }
    360369  @bottom-left {
    361        content: "Reschke"; 
    362   } 
     370       content: "Reschke";
     371  }
    363372  @bottom-center {
    364        content: "Standards Track";
    365   } 
     373       content: "Expires March 20, 2011";
     374  }
    366375  @bottom-right {
    367        content: "[Page " counter(page) "]"; 
    368   } 
    369 }
    370 
    371 @page:first { 
     376       content: "[Page " counter(page) "]";
     377  }
     378}
     379
     380@page:first {
    372381    @top-left {
    373382      content: normal;
     
    397406      <link rel="Appendix" title="C Alternative Approaches to Internationalization" href="#rfc.section.C">
    398407      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
    399       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.522, 2010-08-31 15:02:33, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     408      <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/">
    400409      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    401410      <meta name="dct.creator" content="Reschke, J. F.">
     
    417426            </tr>
    418427            <tr>
    419                <td class="left">Updates: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
     428               <td class="left">Updates: <a href="https://tools.ietf.org/html/rfc2616">2616</a> (if approved)
    420429               </td>
    421430               <td class="right">September 16, 2010</td>
     
    432441      </table>
    433442      <p class="title">Use of the Content-Disposition&nbsp;Header&nbsp;Field in the Hypertext&nbsp;Transfer&nbsp;Protocol&nbsp;(HTTP)<br><span class="filename">draft-ietf-httpbis-content-disp-01</span></p>
    434       <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
     443      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1>
    435444      <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.
    436445         This specification takes over the definition and registration of Content-Disposition, as used in HTTP, and clarifies internationalization
    437446         aspects.
    438       </p> 
    439       <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1> 
     447      </p>
     448      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1>
    440449      <p>This specification is expected to replace the definition of Content-Disposition in the HTTP/1.1 specification, as currently
    441450         revised by the IETF HTTPbis working group. See also &lt;<a href="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/123">http://trac.tools.ietf.org/wg/httpbis/trac/ticket/123</a>&gt;.
    442       </p> 
     451      </p>
    443452      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
    444453         list is at &lt;<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>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>&gt;.
    445       </p> 
     454      </p>
    446455      <p>The changes in this draft are summarized in <a href="#changes.since.00" title="Since draft-ietf-httpbis-content-disp-00">Appendix&nbsp;D.5</a>.
    447       </p>
    448       <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>
    449       <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
    450       <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
    451          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>.
    452456      </p>
    453       <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
    454          documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
    455          in progress”.
    456       </p>
    457       <p>This Internet-Draft will expire on March 20, 2011.</p>
    458       <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    459       <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
    460       <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
    461          and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
    462          text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
    463          BSD License.
    464       </p>
     457      <div id="rfc.status">
     458         <h1><a href="#rfc.status">Status of This Memo</a></h1>
     459         <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
     460         <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
     461            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>.
     462         </p>
     463         <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
     464            documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
     465            in progress”.
     466         </p>
     467         <p>This Internet-Draft will expire on March 20, 2011.</p>
     468      </div>
     469      <div id="rfc.copyrightnotice">
     470         <h1><a href="#rfc.copyrightnotice">Copyright Notice</a></h1>
     471         <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     472         <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
     473            and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
     474            text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
     475            BSD License.
     476         </p>
     477      </div>
    465478      <hr class="noprint">
    466479      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
    467480      <ul class="toc">
    468          <li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li>
    469          <li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">Notational Conventions</a></li>
    470          <li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#header.field.definition">Header Field Definition</a><ul class="toc">
    471                <li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Grammar</a></li>
    472                <li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#disposition.type">Disposition Type</a></li>
    473                <li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li>
    474                <li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></li>
    475                <li class="tocline1">3.5&nbsp;&nbsp;&nbsp;<a href="#extensibility">Extensibility</a></li>
     481         <li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li>
     482         <li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">Notational Conventions</a></li>
     483         <li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.definition">Header Field Definition</a><ul>
     484               <li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Grammar</a></li>
     485               <li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.type">Disposition Type</a></li>
     486               <li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li>
     487               <li><a href="#rfc.section.3.4">3.4</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></li>
     488               <li><a href="#rfc.section.3.5">3.5</a>&nbsp;&nbsp;&nbsp;<a href="#extensibility">Extensibility</a></li>
    476489            </ul>
    477490         </li>
    478          <li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a></li>
    479          <li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#i18n">Internationalization Considerations</a></li>
    480          <li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
    481          <li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#iana.considerations">IANA Considerations</a><ul class="toc">
    482                <li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></li>
    483                <li class="tocline1">7.2&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
     491         <li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a></li>
     492         <li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#i18n">Internationalization Considerations</a></li>
     493         <li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
     494         <li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#iana.considerations">IANA Considerations</a><ul>
     495               <li><a href="#rfc.section.7.1">7.1</a>&nbsp;&nbsp;&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></li>
     496               <li><a href="#rfc.section.7.2">7.2</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
    484497            </ul>
    485498         </li>
    486          <li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Acknowledgements</a></li>
    487          <li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul class="toc">
    488                <li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
    489                <li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
     499         <li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Acknowledgements</a></li>
     500         <li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul>
     501               <li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
     502               <li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
    490503            </ul>
    491504         </li>
    492          <li class="tocline0"><a href="#rfc.authors">Author's Address</a></li>
    493          <li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li>
    494          <li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li>
    495          <li class="tocline0">C.&nbsp;&nbsp;&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a><ul class="toc">
    496                <li class="tocline1">C.1&nbsp;&nbsp;&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li>
    497                <li class="tocline1">C.2&nbsp;&nbsp;&nbsp;<a href="#alternatives.percent">Percent Encoding</a></li>
    498                <li class="tocline1">C.3&nbsp;&nbsp;&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></li>
    499                <li class="tocline1">C.4&nbsp;&nbsp;&nbsp;<a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></li>
     505         <li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li>
     506         <li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li>
     507         <li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a><ul>
     508               <li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li>
     509               <li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.percent">Percent Encoding</a></li>
     510               <li><a href="#rfc.section.C.3">C.3</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></li>
     511               <li><a href="#rfc.section.C.4">C.4</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></li>
    500512            </ul>
    501513         </li>
    502          <li class="tocline0">D.&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc">
    503                <li class="tocline1">D.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li>
    504                <li class="tocline1">D.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li>
    505                <li class="tocline1">D.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li>
    506                <li class="tocline1">D.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li>
    507                <li class="tocline1">D.5&nbsp;&nbsp;&nbsp;<a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></li>
     514         <li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul>
     515               <li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li>
     516               <li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li>
     517               <li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li>
     518               <li><a href="#rfc.section.D.4">D.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li>
     519               <li><a href="#rfc.section.D.5">D.5</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></li>
    508520            </ul>
    509521         </li>
    510          <li class="tocline0"><a href="#rfc.index">Index</a></li>
     522         <li><a href="#rfc.index">Index</a></li>
     523         <li><a href="#rfc.authors">Author's Address</a></li>
    511524      </ul>
    512       <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
    513       <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>):
    514       </p>
    515       <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5">
    516          <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks
    517             for implementers.
    518          </p>
    519       </blockquote>
    520       <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
    521          testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions
    522          (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.
    523       </p>
    524       <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;Notational Conventions
    525       </h1>
    526       <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
    527          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>.
    528       </p>
    529       <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).
    530       </p>
    531       <div id="rfc.iref.h.1"></div>
    532       <div id="rfc.iref.c.1"></div>
    533       <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a id="header.field.definition" href="#header.field.definition">Header Field Definition</a></h1>
    534       <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,
    535          and also can be used to attach additional metadata, such as the filename.
    536       </p>
    537       <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Grammar
    538       </h2>
    539       <div id="rfc.figure.u.1"></div><pre class="inline">  content-disposition = "Content-Disposition" ":"
     525      <div id="introduction">
     526         <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#introduction">Introduction</a></h1>
     527         <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>):
     528         </p>
     529         <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5">
     530            <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks
     531               for implementers.
     532            </p>
     533         </blockquote>
     534         <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
     535            testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions
     536            (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.
     537         </p>
     538      </div>
     539      <div>
     540         <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;Notational Conventions
     541         </h1>
     542         <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
     543            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>.
     544         </p>
     545         <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).
     546         </p>
     547      </div>
     548      <div id="header.field.definition">
     549         <div id="rfc.iref.h.1"></div>
     550         <div id="rfc.iref.c.1"></div>
     551         <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a href="#header.field.definition">Header Field Definition</a></h1>
     552         <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,
     553            and also can be used to attach additional metadata, such as the filename.
     554         </p>
     555         <div>
     556            <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Grammar
     557            </h2>
     558            <div id="rfc.figure.u.1"></div><pre class="inline">  content-disposition = "Content-Disposition" ":"
    540559                         disposition-type *( ";" disposition-parm )
    541560
     
    552571                      | ext-token "=" ext-value
    553572  ext-token           = &lt;the characters in token, followed by "*"&gt;
    554 </pre><div id="rfc.figure.u.2"></div>
    555       <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>:
    556       </p>  <pre class="inline">  token       = &lt;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>&gt;
    557   value       = &lt;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>&gt;
    558 </pre><div id="rfc.figure.u.3"></div>
    559       <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>:
    560       </p>  <pre class="inline">  ext-value   = &lt;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>&gt;
    561 </pre><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="disposition.type" href="#disposition.type">Disposition Type</a></h2>
    562       <p id="rfc.section.3.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the user agent should not display the
    563          response, but directly enter a "save as..." dialog.
    564       </p>
    565       <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p>
    566       <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>).
    567       </p>
    568       <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;<a id="disposition.parameter.filename" href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2>
    569       <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
    570          for storing the message payload.
    571       </p>
    572       <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
    573          "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page
    574          being displayed).
    575       </p>
    576       <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>).
    577       </p>
    578       <p id="rfc.section.3.3.p.4">Many user agent implementations predating this specification do not understand the "filename*" parameter. Therefore, when
    579          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
    580          more expressive "filename*" parameter, and the "filename" parameter as fallback for legacy recipients (see <a href="#examples" title="Examples">Section&nbsp;4</a> for an example).
    581       </p>
    582       <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
    583          information. In particular:
    584       </p>
    585       <ul>
    586          <li>
    587             <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").
    588             </p>
    589          </li>
    590          <li>
    591             <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
    592                extension could introduce a privilege escalation when later on the file is opened locally (consider ".exe"). Thus, recipients
    593                need to ensure that a file extension is used that is safe, optimally matching the media type of the received payload.
    594             </p>
    595          </li>
    596          <li>
    597             <p>Other aspects recipients need to be aware of are names that have a special meaning in the file system or in shell commands,
    598                such as "." and "..", "~", "|", and also device names.
    599             </p>
    600          </li>
    601       </ul>
    602       <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;<a id="disposition.parameter.extensions" href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></h2>
    603       <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>).
    604       </p>
    605       <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;<a id="extensibility" href="#extensibility">Extensibility</a></h2>
    606       <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
    607          using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP.
    608       </p>
    609       <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a id="examples" href="#examples">Examples</a></h1>
    610       <div id="rfc.figure.u.4"></div>
    611       <p>Direct UA to show "save as" dialog, with a filename of "example.html":</p>  <pre class="text">Content-Disposition: Attachment; filename=example.html
    612 </pre><div id="rfc.figure.u.5"></div>
    613       <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "example.html"
    614          for a subsequent save operation:
    615       </p>  <pre class="text">Content-Disposition: INLINE; FILENAME= "example.html"
    616 </pre><div id="rfc.figure.u.6"></div>
    617       <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
    618 </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
    619          in the token production.
    620       </p>
    621       <div id="rfc.figure.u.7"></div>
    622       <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;
     573</pre><div id="rfc.figure.u.2"></div>
     574            <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>:
     575            </p><pre class="inline">  token       = &lt;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>&gt;
     576  value       = &lt;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>&gt;
     577</pre><div id="rfc.figure.u.3"></div>
     578            <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>:
     579            </p><pre class="inline">  ext-value   = &lt;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>&gt;
     580</pre></div>
     581         <div id="disposition.type">
     582            <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a href="#disposition.type">Disposition Type</a></h2>
     583            <p id="rfc.section.3.2.p.1">If the disposition type matches "attachment" (case-insensitively), this indicates that the user agent should not display the
     584               response, but directly enter a "save as..." dialog.
     585            </p>
     586            <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p>
     587            <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>).
     588            </p>
     589         </div>
     590         <div id="disposition.parameter.filename">
     591            <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2>
     592            <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
     593               for storing the message payload.
     594            </p>
     595            <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
     596               "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page
     597               being displayed).
     598            </p>
     599            <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>).
     600            </p>
     601            <p id="rfc.section.3.3.p.4">Many user agent implementations predating this specification do not understand the "filename*" parameter. Therefore, when
     602               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
     603               more expressive "filename*" parameter, and the "filename" parameter as fallback for legacy recipients (see <a href="#examples" title="Examples">Section&nbsp;4</a> for an example).
     604            </p>
     605            <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
     606               information. In particular:
     607            </p>
     608            <ul>
     609               <li>
     610                  <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").
     611                  </p>
     612               </li>
     613               <li>
     614                  <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
     615                     extension could introduce a privilege escalation when later on the file is opened locally (consider ".exe"). Thus, recipients
     616                     need to ensure that a file extension is used that is safe, optimally matching the media type of the received payload.
     617                  </p>
     618               </li>
     619               <li>
     620                  <p>Other aspects recipients need to be aware of are names that have a special meaning in the file system or in shell commands,
     621                     such as "." and "..", "~", "|", and also device names.
     622                  </p>
     623               </li>
     624            </ul>
     625         </div>
     626         <div id="disposition.parameter.extensions">
     627            <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;<a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></h2>
     628            <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>).
     629            </p>
     630         </div>
     631         <div id="extensibility">
     632            <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;<a href="#extensibility">Extensibility</a></h2>
     633            <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
     634               using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP.
     635            </p>
     636         </div>
     637      </div>
     638      <div id="examples">
     639         <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a href="#examples">Examples</a></h1>
     640         <div id="rfc.figure.u.4"></div>
     641         <p>Direct UA to show "save as" dialog, with a filename of "example.html":</p><pre class="text">Content-Disposition: Attachment; filename=example.html
     642</pre><div id="rfc.figure.u.5"></div>
     643         <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "example.html"
     644            for a subsequent save operation:
     645         </p><pre class="text">Content-Disposition: INLINE; FILENAME= "example.html"
     646</pre><div id="rfc.figure.u.6"></div>
     647         <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
     648</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
     649            in the token production.
     650         </p>
     651         <div id="rfc.figure.u.7"></div>
     652         <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;
    623653                     filename*= UTF-8''<b>%e2%82%ac</b>%20rates
    624 </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.
    625       </p>
    626       <div id="rfc.figure.u.8"></div>
    627       <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;
     654</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.
     655         </p>
     656         <div id="rfc.figure.u.8"></div>
     657         <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;
    628658                     filename="EURO rates";
    629659                     filename*=utf-8''<b>%e2%82%ac</b>%20rates
    630 </pre>  <p>Note: as of September 2010, those user agents that do not support the RFC 5987 encoding ignore "filename*" when it occurs
    631          after "filename". Unfortunately, some user agents that do support RFC 5987 do pick the "filename" rather than the "filename*"
    632          parameter when it occurs first; it is expected that this situation is going to improve soon.
    633       </p>
    634       <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="i18n" href="#i18n">Internationalization Considerations</a></h1>
    635       <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;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
    636          in use.
    637       </p>
    638       <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p>
    639       <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
    640       <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&nbsp;3.3</a>.
    641       </p>
    642       <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>).
    643       </p>
    644       <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="iana.considerations" href="#iana.considerations">IANA Considerations</a></h1>
    645       <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a id="registry" href="#registry">Registry for Disposition Values and Parameter</a></h2>
    646       <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
    647          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>.
    648       </p>
    649       <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2>
    650       <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
    651          (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>).
    652       </p>
    653       <p id="rfc.section.7.2.p.2"> </p>
    654       <dl>
    655          <dt>Header field name:</dt>
    656          <dd>Content-Disposition</dd>
    657          <dt>Applicable protocol:</dt>
    658          <dd>http</dd>
    659          <dt>Status:</dt>
    660          <dd>standard</dd>
    661          <dt>Author/Change controller:</dt>
    662          <dd>IETF</dd>
    663          <dt>Specification document:</dt>
    664          <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section&nbsp;3</a>)
    665          </dd>
    666       </dl>
    667       <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;Acknowledgements
    668       </h1>
    669       <p id="rfc.section.8.p.1">Thanks to Rolf Eike Beer, Bjoern Hoehrmann, Alfred Hoenes, Roar Lauritzsen, and Henrik Nordstrom for their valuable feedback.</p>
     660</pre><p>Note: as of September 2010, those user agents that do not support the RFC 5987 encoding ignore "filename*" when it occurs
     661            after "filename". Unfortunately, some user agents that do support RFC 5987 do pick the "filename" rather than the "filename*"
     662            parameter when it occurs first; it is expected that this situation is going to improve soon.
     663         </p>
     664      </div>
     665      <div id="i18n">
     666         <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#i18n">Internationalization Considerations</a></h1>
     667         <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;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
     668            in use.
     669         </p>
     670         <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p>
     671      </div>
     672      <div id="security.considerations">
     673         <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#security.considerations">Security Considerations</a></h1>
     674         <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&nbsp;3.3</a>.
     675         </p>
     676         <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>).
     677         </p>
     678      </div>
     679      <div id="iana.considerations">
     680         <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a href="#iana.considerations">IANA Considerations</a></h1>
     681         <div id="registry">
     682            <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></h2>
     683            <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
     684               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>.
     685            </p>
     686         </div>
     687         <div id="header.field.registration">
     688            <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a href="#header.field.registration">Header Field Registration</a></h2>
     689            <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
     690               (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>).
     691            </p>
     692            <p id="rfc.section.7.2.p.2"></p>
     693            <dl>
     694               <dt>Header field name:</dt>
     695               <dd>Content-Disposition</dd>
     696               <dt>Applicable protocol:</dt>
     697               <dd>http</dd>
     698               <dt>Status:</dt>
     699               <dd>standard</dd>
     700               <dt>Author/Change controller:</dt>
     701               <dd>IETF</dd>
     702               <dt>Specification document:</dt>
     703               <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section&nbsp;3</a>)
     704               </dd>
     705            </dl>
     706         </div>
     707      </div>
     708      <div>
     709         <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;Acknowledgements
     710         </h1>
     711         <p id="rfc.section.8.p.1">Thanks to Rolf Eike Beer, Bjoern Hoehrmann, Alfred Hoenes, Roar Lauritzsen, and Henrik Nordstrom for their valuable feedback.</p>
     712      </div>
    670713      <h1 id="rfc.references"><a id="rfc.section.9" href="#rfc.section.9">9.</a> References
    671714      </h1>
    672715      <h2 id="rfc.references.1"><a href="#rfc.section.9.1" id="rfc.section.9.1">9.1</a> Normative References
    673716      </h2>
    674       <table>       
     717      <table>
    675718         <tr>
    676719            <td class="reference"><b id="ISO-8859-1">[ISO-8859-1]</b></td>
     
    679722         <tr>
    680723            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
    681             <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&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
     724            <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&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
    682725            </td>
    683726         </tr>
    684727         <tr>
    685728            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
    686             <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&nbsp;2616, June&nbsp;1999.
     729            <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&nbsp;2616, June&nbsp;1999.
    687730            </td>
    688731         </tr>
    689732         <tr>
    690733            <td class="reference"><b id="RFC5987">[RFC5987]</b></td>
    691             <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&nbsp;5987, August&nbsp;2010.
     734            <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&nbsp;5987, August&nbsp;2010.
    692735            </td>
    693736         </tr>
     
    695738      <h2 id="rfc.references.2"><a href="#rfc.section.9.2" id="rfc.section.9.2">9.2</a> Informative References
    696739      </h2>
    697       <table>             
     740      <table>
    698741         <tr>
    699742            <td class="reference"><b id="RFC2046">[RFC2046]</b></td>
    700             <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&nbsp;2046, November&nbsp;1996.
     743            <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&nbsp;2046, November&nbsp;1996.
    701744            </td>
    702745         </tr>
    703746         <tr>
    704747            <td class="reference"><b id="RFC2047">[RFC2047]</b></td>
    705             <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&nbsp;2047, November&nbsp;1996.
     748            <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&nbsp;2047, November&nbsp;1996.
    706749            </td>
    707750         </tr>
    708751         <tr>
    709752            <td class="reference"><b id="RFC2183">[RFC2183]</b></td>
    710             <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&nbsp;2183, August&nbsp;1997.
     753            <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&nbsp;2183, August&nbsp;1997.
    711754            </td>
    712755         </tr>
    713756         <tr>
    714757            <td class="reference"><b id="RFC2231">[RFC2231]</b></td>
    715             <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&nbsp;2231, November&nbsp;1997.
     758            <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&nbsp;2231, November&nbsp;1997.
    716759            </td>
    717760         </tr>
    718761         <tr>
    719762            <td class="reference"><b id="RFC3629">[RFC3629]</b></td>
    720             <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&nbsp;63, RFC&nbsp;3629, November&nbsp;2003.
     763            <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&nbsp;63, RFC&nbsp;3629, November&nbsp;2003.
    721764            </td>
    722765         </tr>
    723766         <tr>
    724767            <td class="reference"><b id="RFC3864">[RFC3864]</b></td>
    725             <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&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
     768            <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&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
    726769            </td>
    727770         </tr>
    728771         <tr>
    729772            <td class="reference"><b id="RFC3986">[RFC3986]</b></td>
    730             <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&nbsp;66, RFC&nbsp;3986, January&nbsp;2005.
     773            <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&nbsp;66, RFC&nbsp;3986, January&nbsp;2005.
    731774            </td>
    732775         </tr>
    733776      </table>
    734       <div class="avoidbreak">
    735          <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1>
    736          <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>&nbsp;<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>
    737       </div>
    738       <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="changes.from.rfc2616" href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1>
    739       <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:
    740       </p>
    741       <ul>
    742          <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This
    743             restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly
    744             declaring the media type.
    745          </li>
    746          <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't
    747             reflect actual use.
    748          </li>
    749          <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.
    750          </li>
    751          <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>.
    752          </li>
    753       </ul>
    754       <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="diffs.compared.to.rfc2183" href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1>
    755       <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
    756          do not appear to be implemented by any user agent, thus have been omitted from this specification.
    757       </p>
    758       <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a id="alternatives" href="#alternatives">Alternative Approaches to Internationalization</a></h1>
    759       <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.
    760       </p>
    761       <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
    762          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>).
    763       </p>
    764       <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
    765          to the RFC 5987 encoding used in this specification.
    766       </p>
    767       <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a id="alternatives.rfc2047" href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2>
    768       <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
    769          - 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>:
    770       </p>
    771       <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5">
    772          <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p> 
    773          <p>...</p> 
    774          <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured
    775             field body except within a 'comment' or 'phrase'.
    776          </p>
    777       </blockquote>
    778       <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
    779          confused by it.
    780       </p>
    781       <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a id="alternatives.percent" href="#alternatives.percent">Percent Encoding</a></h2>
    782       <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.
    783       </p>
    784       <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
    785          to the user.
    786       </p>
    787       <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
    788          to use in multi-lingual environments.
    789       </p>
    790       <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;<a id="alternatives.sniff" href="#alternatives.sniff">Encoding Sniffing</a></h2>
    791       <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
    792          the correct interpretation.
    793       </p>
    794       <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>
    795       <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a>&nbsp;<a id="alternatives.implementations" href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></h2>
    796       <p id="rfc.section.C.4.p.1">Unfortunately, as of September 2010, neither the encoding defined in RFCs 2231 and 5987, nor any of the alternate approaches
    797          discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which
    798          at least has the advantage of actually being specified properly.
    799       </p>
    800       <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches:</p>
    801       <div id="rfc.table.u.1">
    802          <table class="tt full left" cellpadding="3" cellspacing="0">
    803             <thead>
    804                <tr>
    805                   <th>User Agent</th>
    806                   <th>RFC 2231/5987</th>
    807                   <th>RFC 2047</th>
    808                   <th>Percent Encoding</th>
    809                   <th>Encoding Sniffing</th>
    810                </tr>
    811             </thead>
    812             <tbody>
    813                <tr>
    814                   <td class="left">Chrome</td>
    815                   <td class="left">no</td>
    816                   <td class="left">yes</td>
    817                   <td class="left">yes</td>
    818                   <td class="left">yes</td>
    819                </tr>
    820                <tr>
    821                   <td class="left">Firefox</td>
    822                   <td class="left">yes (*)</td>
    823                   <td class="left">yes</td>
    824                   <td class="left">no</td>
    825                   <td class="left">yes</td>
    826                </tr>
    827                <tr>
    828                   <td class="left">Internet Explorer</td>
    829                   <td class="left">no</td>
    830                   <td class="left">no</td>
    831                   <td class="left">yes</td>
    832                   <td class="left">no</td>
    833                </tr>
    834                <tr>
    835                   <td class="left">Konqueror</td>
    836                   <td class="left">yes</td>
    837                   <td class="left">no</td>
    838                   <td class="left">no</td>
    839                   <td class="left">no</td>
    840                </tr>
    841                <tr>
    842                   <td class="left">Opera</td>
    843                   <td class="left">yes (*)</td>
    844                   <td class="left">no</td>
    845                   <td class="left">no</td>
    846                   <td class="left">no</td>
    847                </tr>
    848                <tr>
    849                   <td class="left">Safari</td>
    850                   <td class="left">no</td>
    851                   <td class="left">no</td>
    852                   <td class="left">no</td>
    853                   <td class="left">yes</td>
    854                </tr>
    855             </tbody>
    856          </table>
    857          <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>.
    858          </p>
    859       </div>
    860       <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
    861       <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Since draft-reschke-rfc2183-in-http-00
    862       </h2>
    863       <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -&gt; "header field"). Update rfc2231-in-http reference.</p>
    864       <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;Since draft-reschke-rfc2183-in-http-01
    865       </h2>
    866       <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples
    867          using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve
    868          issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry".
    869       </p>
    870       <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;Since draft-reschke-rfc2183-in-http-02
    871       </h2>
    872       <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p>
    873       <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;Since draft-reschke-rfc2183-in-http-03
    874       </h2>
    875       <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p>
    876       <h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;<a id="changes.since.00" href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></h2>
    877       <p id="rfc.section.D.5.p.1">Closed issues: </p>
    878       <ul>
    879          <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/242">http://tools.ietf.org/wg/httpbis/trac/ticket/242</a>&gt;: "handling of unknown disposition types"
    880          </li>
    881       </ul>
    882       <p id="rfc.section.D.5.p.2">Slightly updated the notes about the proposed fallback behavior.</p>
     777      <div id="changes.from.rfc2616">
     778         <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1>
     779         <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:
     780         </p>
     781         <ul>
     782            <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This
     783               restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly
     784               declaring the media type.
     785            </li>
     786            <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't
     787               reflect actual use.
     788            </li>
     789            <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.
     790            </li>
     791            <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>.
     792            </li>
     793         </ul>
     794      </div>
     795      <div id="diffs.compared.to.rfc2183">
     796         <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1>
     797         <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
     798            do not appear to be implemented by any user agent, thus have been omitted from this specification.
     799         </p>
     800      </div>
     801      <div id="alternatives">
     802         <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a></h1>
     803         <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.
     804         </p>
     805         <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
     806            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>).
     807         </p>
     808         <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
     809            to the RFC 5987 encoding used in this specification.
     810         </p>
     811         <div id="alternatives.rfc2047">
     812            <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2>
     813            <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
     814               - 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>:
     815            </p>
     816            <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5">
     817               <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p>
     818               <p>...</p>
     819               <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured
     820                  field body except within a 'comment' or 'phrase'.
     821               </p>
     822            </blockquote>
     823            <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
     824               confused by it.
     825            </p>
     826         </div>
     827         <div id="alternatives.percent">
     828            <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a href="#alternatives.percent">Percent Encoding</a></h2>
     829            <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.
     830            </p>
     831            <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
     832               to the user.
     833            </p>
     834            <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
     835               to use in multi-lingual environments.
     836            </p>
     837         </div>
     838         <div id="alternatives.sniff">
     839            <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></h2>
     840            <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
     841               the correct interpretation.
     842            </p>
     843            <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>
     844         </div>
     845         <div id="alternatives.implementations">
     846            <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a>&nbsp;<a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></h2>
     847            <p id="rfc.section.C.4.p.1">Unfortunately, as of September 2010, neither the encoding defined in RFCs 2231 and 5987, nor any of the alternate approaches
     848               discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which
     849               at least has the advantage of actually being specified properly.
     850            </p>
     851            <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches:</p>
     852            <div id="rfc.table.u.1">
     853               <table class="tt full left" cellpadding="3" cellspacing="0">
     854                  <thead>
     855                     <tr>
     856                        <th>User Agent</th>
     857                        <th>RFC 2231/5987</th>
     858                        <th>RFC 2047</th>
     859                        <th>Percent Encoding</th>
     860                        <th>Encoding Sniffing</th>
     861                     </tr>
     862                  </thead>
     863                  <tbody>
     864                     <tr>
     865                        <td class="left">Chrome</td>
     866                        <td class="left">no</td>
     867                        <td class="left">yes</td>
     868                        <td class="left">yes</td>
     869                        <td class="left">yes</td>
     870                     </tr>
     871                     <tr>
     872                        <td class="left">Firefox</td>
     873                        <td class="left">yes (*)</td>
     874                        <td class="left">yes</td>
     875                        <td class="left">no</td>
     876                        <td class="left">yes</td>
     877                     </tr>
     878                     <tr>
     879                        <td class="left">Internet Explorer</td>
     880                        <td class="left">no</td>
     881                        <td class="left">no</td>
     882                        <td class="left">yes</td>
     883                        <td class="left">no</td>
     884                     </tr>
     885                     <tr>
     886                        <td class="left">Konqueror</td>
     887                        <td class="left">yes</td>
     888                        <td class="left">no</td>
     889                        <td class="left">no</td>
     890                        <td class="left">no</td>
     891                     </tr>
     892                     <tr>
     893                        <td class="left">Opera</td>
     894                        <td class="left">yes (*)</td>
     895                        <td class="left">no</td>
     896                        <td class="left">no</td>
     897                        <td class="left">no</td>
     898                     </tr>
     899                     <tr>
     900                        <td class="left">Safari</td>
     901                        <td class="left">no</td>
     902                        <td class="left">no</td>
     903                        <td class="left">no</td>
     904                        <td class="left">yes</td>
     905                     </tr>
     906                  </tbody>
     907               </table>
     908               <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>.
     909               </p>
     910            </div>
     911         </div>
     912      </div>
     913      <div id="change.log">
     914         <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
     915         <div>
     916            <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Since draft-reschke-rfc2183-in-http-00
     917            </h2>
     918            <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -&gt; "header field"). Update rfc2231-in-http reference.</p>
     919         </div>
     920         <div>
     921            <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;Since draft-reschke-rfc2183-in-http-01
     922            </h2>
     923            <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples
     924               using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve
     925               issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry".
     926            </p>
     927         </div>
     928         <div>
     929            <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;Since draft-reschke-rfc2183-in-http-02
     930            </h2>
     931            <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p>
     932         </div>
     933         <div>
     934            <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;Since draft-reschke-rfc2183-in-http-03
     935            </h2>
     936            <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p>
     937         </div>
     938         <div id="changes.since.00">
     939            <h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;<a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></h2>
     940            <p id="rfc.section.D.5.p.1">Closed issues: </p>
     941            <ul>
     942               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/242">http://tools.ietf.org/wg/httpbis/trac/ticket/242</a>&gt;: "handling of unknown disposition types"
     943               </li>
     944            </ul>
     945            <p id="rfc.section.D.5.p.2">Slightly updated the notes about the proposed fallback behavior.</p>
     946         </div>
     947      </div>
    883948      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
    884949      <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>
     
    886951      <div class="print2col">
    887952         <ul class="ind">
    888             <li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind">
    889                   <li class="indline1">Content-Disposition header&nbsp;&nbsp;<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>
     953            <li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul>
     954                  <li>Content-Disposition header&nbsp;&nbsp;<a href="#rfc.iref.c.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li>
    890955               </ul>
    891956            </li>
    892             <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind">
    893                   <li class="indline1">Headers&nbsp;&nbsp;
    894                      <ul class="ind">
    895                         <li class="indline1">Content-Disposition&nbsp;&nbsp;<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>
     957            <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul>
     958                  <li>Headers&nbsp;&nbsp;
     959                     <ul>
     960                        <li>Content-Disposition&nbsp;&nbsp;<a href="#rfc.iref.h.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li>
    896961                     </ul>
    897962                  </li>
    898963               </ul>
    899964            </li>
    900             <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind">
    901                   <li class="indline1"><em>ISO-8859-1</em>&nbsp;&nbsp;<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>
     965            <li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul>
     966                  <li><em>ISO-8859-1</em>&nbsp;&nbsp;<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>
    902967               </ul>
    903968            </li>
    904             <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind">
    905                   <li class="indline1"><em>RFC2046</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2046.1">3.3</a>, <a class="iref" href="#RFC2046"><b>9.2</b></a></li>
    906                   <li class="indline1"><em>RFC2047</em>&nbsp;&nbsp;<a class="iref" href="#RFC2047"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2047.1">C.1</a><ul class="ind">
    907                         <li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2047.1">C.1</a></li>
     969            <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul>
     970                  <li><em>RFC2046</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2046.1">3.3</a>, <a href="#RFC2046"><b>9.2</b></a></li>
     971                  <li><em>RFC2047</em>&nbsp;&nbsp;<a href="#RFC2047"><b>9.2</b></a>, <a href="#rfc.xref.RFC2047.1">C.1</a><ul>
     972                        <li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2047.1">C.1</a></li>
    908973                     </ul>
    909974                  </li>
    910                   <li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">2</a>, <a class="iref" href="#RFC2119"><b>9.1</b></a></li>
    911                   <li class="indline1"><em>RFC2183</em>&nbsp;&nbsp;<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">
    912                         <li class="indline1"><em>Section 2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.7">B</a></li>
    913                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.6">A</a></li>
    914                         <li class="indline1"><em>Section 2.8</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.2">3.2</a>, <a class="iref" href="#rfc.xref.RFC2183.3">3.4</a></li>
    915                         <li class="indline1"><em>Section 9</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.4">3.5</a>, <a class="iref" href="#rfc.xref.RFC2183.5">7.1</a></li>
     975                  <li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">2</a>, <a href="#RFC2119"><b>9.1</b></a></li>
     976                  <li><em>RFC2183</em>&nbsp;&nbsp;<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>
     977                        <li><em>Section 2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.7">B</a></li>
     978                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.6">A</a></li>
     979                        <li><em>Section 2.8</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.2">3.2</a>, <a href="#rfc.xref.RFC2183.3">3.4</a></li>
     980                        <li><em>Section 9</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.4">3.5</a>, <a href="#rfc.xref.RFC2183.5">7.1</a></li>
    916981                     </ul>
    917982                  </li>
    918                   <li class="indline1"><em>RFC2231</em>&nbsp;&nbsp;<a class="iref" href="#RFC2231"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2231.1">C</a></li>
    919                   <li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<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">
    920                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.3">2</a></li>
    921                         <li class="indline1"><em>Section 2.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.5">3.1</a>, <a class="iref" href="#rfc.xref.RFC2616.9">C</a></li>
    922                         <li class="indline1"><em>Section 3.6</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.6">3.1</a></li>
    923                         <li class="indline1"><em>Section 15.5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">1</a></li>
    924                         <li class="indline1"><em>Section 15</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.7">6</a></li>
    925                         <li class="indline1"><em>Section 19.5.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#rfc.xref.RFC2616.8">A</a></li>
     983                  <li><em>RFC2231</em>&nbsp;&nbsp;<a href="#RFC2231"><b>9.2</b></a>, <a href="#rfc.xref.RFC2231.1">C</a></li>
     984                  <li><em>RFC2616</em>&nbsp;&nbsp;<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>
     985                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.3">2</a></li>
     986                        <li><em>Section 2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.5">3.1</a>, <a href="#rfc.xref.RFC2616.9">C</a></li>
     987                        <li><em>Section 3.6</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.6">3.1</a></li>
     988                        <li><em>Section 15.5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.2">1</a></li>
     989                        <li><em>Section 15</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.7">6</a></li>
     990                        <li><em>Section 19.5.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">1</a>, <a href="#rfc.xref.RFC2616.8">A</a></li>
    926991                     </ul>
    927992                  </li>
    928                   <li class="indline1"><em>RFC3629</em>&nbsp;&nbsp;<a class="iref" href="#RFC3629"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC3629.1">C.2</a></li>
    929                   <li class="indline1"><em>RFC3864</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3864.1">7.2</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li>
    930                   <li class="indline1"><em>RFC3986</em>&nbsp;&nbsp;<a class="iref" href="#RFC3986"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC3986.1">C.2</a><ul class="ind">
    931                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3986.1">C.2</a></li>
     993                  <li><em>RFC3629</em>&nbsp;&nbsp;<a href="#RFC3629"><b>9.2</b></a>, <a href="#rfc.xref.RFC3629.1">C.2</a></li>
     994                  <li><em>RFC3864</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC3864.1">7.2</a>, <a href="#RFC3864"><b>9.2</b></a></li>
     995                  <li><em>RFC3986</em>&nbsp;&nbsp;<a href="#RFC3986"><b>9.2</b></a>, <a href="#rfc.xref.RFC3986.1">C.2</a><ul>
     996                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC3986.1">C.2</a></li>
    932997                     </ul>
    933998                  </li>
    934                   <li class="indline1"><em>RFC5987</em>&nbsp;&nbsp;<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">
    935                         <li class="indline1"><em>Section 3.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5987.2">3.1</a></li>
    936                         <li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5987.8">6</a></li>
     999                  <li><em>RFC5987</em>&nbsp;&nbsp;<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>
     1000                        <li><em>Section 3.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5987.2">3.1</a></li>
     1001                        <li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5987.8">6</a></li>
    9371002                     </ul>
    9381003                  </li>
     
    9411006         </ul>
    9421007      </div>
     1008      <div class="avoidbreak">
     1009         <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1>
     1010         <p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW&nbsp;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>
     1011      </div>
    9431012   </body>
    9441013</html>
  • draft-ietf-httpbis-content-disp/02/draft-ietf-httpbis-content-disp.html

    r1017 r2726  
    22  PUBLIC "-//W3C//DTD HTML 4.01//EN">
    33<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/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    66      <title>Use of the Content-Disposition&nbsp;Header&nbsp;Field
     
    3333body {
    3434  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;
    3738}
    3839cite {
    3940  font-style: normal;
    4041}
    41 dd {
    42   margin-right: 2em;
    43 }
    4442dl {
    4543  margin-left: 2em;
    4644}
    47 
    4845ul.empty {
    4946  list-style-type: none;
     
    5956}
    6057h1 {
    61   font-size: 14pt;
     58  font-size: 130%;
    6259  line-height: 21pt;
    6360  page-break-after: avoid;
     
    6663  page-break-before: always;
    6764}
    68 h1 a {
    69   color: #333333;
    70 }
    7165h2 {
    72   font-size: 12pt;
     66  font-size: 120%;
    7367  line-height: 15pt;
    7468  page-break-after: avoid;
    7569}
    76 h3, h4, h5, h6 {
    77   font-size: 10pt;
     70h3 {
     71  font-size: 110%;
    7872  page-break-after: avoid;
    7973}
    80 h2 a, h3 a, h4 a, h5 a, h6 a {
     74h4, h5, h6 {
     75  page-break-after: avoid;
     76}
     77h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    8178  color: black;
    8279}
     
    8683li {
    8784  margin-left: 2em;
    88   margin-right: 2em;
    8985}
    9086ol {
    9187  margin-left: 2em;
    92   margin-right: 2em;
     88}
     89ol.la {
     90  list-style-type: lower-alpha;
     91}
     92ol.ua {
     93  list-style-type: upper-alpha;
    9394}
    9495ol p {
     
    9798p {
    9899  margin-left: 2em;
    99   margin-right: 2em;
    100100}
    101101pre {
     
    103103  background-color: lightyellow;
    104104  padding: .25em;
     105  page-break-inside: avoid;
    105106}
    106107pre.text2 {
     
    131132table.tt {
    132133  vertical-align: top;
     134  border-color: gray;
     135}
     136table.tt th {
     137  border-color: gray;
     138}
     139table.tt td {
     140  border-color: gray;
     141}
     142table.all {
     143  border-style: solid;
     144  border-width: 2px;
    133145}
    134146table.full {
    135   border-style: outset;
    136   border-width: 1px;
    137 }
    138 table.headers {
    139   border-style: outset;
    140   border-width: 1px;
     147  border-style: solid;
     148  border-width: 2px;
    141149}
    142150table.tt td {
    143151  vertical-align: top;
    144152}
     153table.all td {
     154  border-style: solid;
     155  border-width: 1px;
     156}
    145157table.full td {
    146   border-style: inset;
     158  border-style: none solid;
    147159  border-width: 1px;
    148160}
     
    150162  vertical-align: top;
    151163}
     164table.all th {
     165  border-style: solid;
     166  border-width: 1px;
     167}
    152168table.full th {
    153   border-style: inset;
    154   border-width: 1px;
     169  border-style: solid;
     170  border-width: 1px 1px 2px 1px;
    155171}
    156172table.headers th {
    157   border-style: none none inset none;
    158   border-width: 1px;
     173  border-style: none none solid none;
     174  border-width: 2px;
    159175}
    160176table.left {
     
    171187  caption-side: bottom;
    172188  font-weight: bold;
    173   font-size: 9pt;
     189  font-size: 10pt;
    174190  margin-top: .5em;
    175191}
     
    178194  border-spacing: 1px;
    179195  width: 95%;
    180   font-size: 10pt;
     196  font-size: 11pt;
    181197  color: white;
    182198}
     
    186202td.topnowrap {
    187203  vertical-align: top;
    188   white-space: nowrap; 
     204  white-space: nowrap;
    189205}
    190206table.header td {
     
    203219  display:table-header-group;
    204220}
    205 ul.toc {
     221ul.toc, ul.toc ul {
    206222  list-style: none;
    207223  margin-left: 1.5em;
    208   margin-right: 0em;
    209224  padding-left: 0em;
    210225}
    211 li.tocline0 {
     226ul.toc li {
    212227  line-height: 150%;
    213228  font-weight: bold;
     229  margin-left: 0em;
     230}
     231ul.toc li li {
     232  line-height: normal;
     233  font-weight: normal;
    214234  font-size: 10pt;
    215235  margin-left: 0em;
    216   margin-right: 0em;
    217 }
    218 li.tocline1 {
    219   line-height: normal;
    220   font-weight: normal;
    221   font-size: 9pt;
    222   margin-left: 0em;
    223   margin-right: 0em;
    224 }
    225 li.tocline2 {
     236}
     237li.excluded {
    226238  font-size: 0pt;
    227239}
     
    229241  margin-left: 0em;
    230242}
    231 ul.ind {
     243.title, .filename, h1, h2, h3, h4 {
     244  font-family: candara, helvetica, arial, sans-serif;
     245}
     246samp, tt, code, pre {
     247  font: consolas, monospace;
     248}
     249ul.ind, ul.ind ul {
    232250  list-style: none;
    233251  margin-left: 1.5em;
    234   margin-right: 0em;
    235252  padding-left: 0em;
    236253  page-break-before: avoid;
    237254}
    238 li.indline0 {
     255ul.ind li {
    239256  font-weight: bold;
    240257  line-height: 200%;
    241258  margin-left: 0em;
    242   margin-right: 0em;
    243 }
    244 li.indline1 {
     259}
     260ul.ind li li {
    245261  font-weight: normal;
    246262  line-height: 150%;
    247263  margin-left: 0em;
    248   margin-right: 0em;
    249264}
    250265.avoidbreak {
     
    273288  font-weight: bold;
    274289  text-align: center;
    275   font-size: 9pt;
     290  font-size: 10pt;
    276291}
    277292.filename {
    278293  color: #333333;
     294  font-size: 75%;
    279295  font-weight: bold;
    280   font-size: 12pt;
    281296  line-height: 21pt;
    282297  text-align: center;
     
    285300  font-weight: bold;
    286301}
    287 .hidden {
    288   display: none;
    289 }
    290302.left {
    291303  text-align: left;
     
    295307}
    296308.title {
    297   color: #990000;
    298   font-size: 18pt;
     309  color: green;
     310  font-size: 150%;
    299311  line-height: 18pt;
    300312  font-weight: bold;
     
    302314  margin-top: 36pt;
    303315}
    304 .vcardline {
    305   display: block;
    306 }
    307316.warning {
    308   font-size: 14pt;
     317  font-size: 130%;
    309318  background-color: yellow;
    310319}
     
    315324    display: none;
    316325  }
    317  
     326
    318327  a {
    319328    color: black;
     
    330339    background-color: white;
    331340    vertical-align: top;
    332     font-size: 12pt;
    333   }
    334 
    335   ul.toc a::after {
     341    font-size: 110%;
     342  }
     343
     344  ul.toc a:nth-child(2)::after {
    336345    content: leader('.') target-counter(attr(href), page);
    337346  }
    338  
    339   a.iref {
     347
     348  ul.ind li li a {
    340349    content: target-counter(attr(href), page);
    341350  }
    342  
     351
    343352  .print2col {
    344353    column-count: 2;
     
    350359@page {
    351360  @top-left {
    352        content: "Internet-Draft"; 
    353   } 
     361       content: "Internet-Draft";
     362  }
    354363  @top-right {
    355        content: "September 2010"; 
    356   } 
     364       content: "September 2010";
     365  }
    357366  @top-center {
    358        content: "Content-Disposition in HTTP"; 
    359   } 
     367       content: "Content-Disposition in HTTP";
     368  }
    360369  @bottom-left {
    361        content: "Reschke"; 
    362   } 
     370       content: "Reschke";
     371  }
    363372  @bottom-center {
    364        content: "Standards Track";
    365   } 
     373       content: "Expires March 26, 2011";
     374  }
    366375  @bottom-right {
    367        content: "[Page " counter(page) "]"; 
    368   } 
    369 }
    370 
    371 @page:first { 
     376       content: "[Page " counter(page) "]";
     377  }
     378}
     379
     380@page:first {
    372381    @top-left {
    373382      content: normal;
     
    397406      <link rel="Appendix" title="C Alternative Approaches to Internationalization" href="#rfc.section.C">
    398407      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
    399       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.522, 2010-08-31 15:02:33, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     408      <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/">
    400409      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    401410      <meta name="dct.creator" content="Reschke, J. F.">
     
    417426            </tr>
    418427            <tr>
    419                <td class="left">Updates: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
     428               <td class="left">Updates: <a href="https://tools.ietf.org/html/rfc2616">2616</a> (if approved)
    420429               </td>
    421430               <td class="right">September 22, 2010</td>
     
    432441      </table>
    433442      <p class="title">Use of the Content-Disposition&nbsp;Header&nbsp;Field in the Hypertext&nbsp;Transfer&nbsp;Protocol&nbsp;(HTTP)<br><span class="filename">draft-ietf-httpbis-content-disp-02</span></p>
    434       <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
     443      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1>
    435444      <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.
    436445         This specification takes over the definition and registration of Content-Disposition, as used in HTTP, and clarifies internationalization
    437446         aspects.
    438       </p> 
    439       <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1> 
     447      </p>
     448      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor before publication)</a></h1>
    440449      <p>This specification is expected to replace the definition of Content-Disposition in the HTTP/1.1 specification, as currently
    441450         revised by the IETF HTTPbis working group. See also &lt;<a href="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/123">http://trac.tools.ietf.org/wg/httpbis/trac/ticket/123</a>&gt;.
    442       </p> 
     451      </p>
    443452      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
    444453         list is at &lt;<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>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>&gt;.
    445       </p> 
     454      </p>
    446455      <p>The changes in this draft are summarized in <a href="#changes.since.01" title="Since draft-ietf-httpbis-content-disp-01">Appendix&nbsp;D.6</a>.
    447       </p>
    448       <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>
    449       <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
    450       <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
    451          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>.
    452456      </p>
    453       <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
    454          documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
    455          in progress”.
    456       </p>
    457       <p>This Internet-Draft will expire on March 26, 2011.</p>
    458       <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    459       <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
    460       <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
    461          and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
    462          text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
    463          BSD License.
    464       </p>
     457      <div id="rfc.status">
     458         <h1><a href="#rfc.status">Status of This Memo</a></h1>
     459         <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
     460         <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
     461            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>.
     462         </p>
     463         <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
     464            documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
     465            in progress”.
     466         </p>
     467         <p>This Internet-Draft will expire on March 26, 2011.</p>
     468      </div>
     469      <div id="rfc.copyrightnotice">
     470         <h1><a href="#rfc.copyrightnotice">Copyright Notice</a></h1>
     471         <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     472         <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
     473            and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
     474            text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
     475            BSD License.
     476         </p>
     477      </div>
    465478      <hr class="noprint">
    466479      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
    467480      <ul class="toc">
    468          <li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li>
    469          <li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">Notational Conventions</a></li>
    470          <li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#header.field.definition">Header Field Definition</a><ul class="toc">
    471                <li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Grammar</a></li>
    472                <li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#disposition.type">Disposition Type</a></li>
    473                <li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li>
    474                <li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></li>
    475                <li class="tocline1">3.5&nbsp;&nbsp;&nbsp;<a href="#extensibility">Extensibility</a></li>
     481         <li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li>
     482         <li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">Notational Conventions</a></li>
     483         <li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.definition">Header Field Definition</a><ul>
     484               <li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Grammar</a></li>
     485               <li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.type">Disposition Type</a></li>
     486               <li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></li>
     487               <li><a href="#rfc.section.3.4">3.4</a>&nbsp;&nbsp;&nbsp;<a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></li>
     488               <li><a href="#rfc.section.3.5">3.5</a>&nbsp;&nbsp;&nbsp;<a href="#extensibility">Extensibility</a></li>
    476489            </ul>
    477490         </li>
    478          <li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a></li>
    479          <li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#i18n">Internationalization Considerations</a></li>
    480          <li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
    481          <li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#iana.considerations">IANA Considerations</a><ul class="toc">
    482                <li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></li>
    483                <li class="tocline1">7.2&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
     491         <li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a></li>
     492         <li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#i18n">Internationalization Considerations</a></li>
     493         <li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
     494         <li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#iana.considerations">IANA Considerations</a><ul>
     495               <li><a href="#rfc.section.7.1">7.1</a>&nbsp;&nbsp;&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></li>
     496               <li><a href="#rfc.section.7.2">7.2</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
    484497            </ul>
    485498         </li>
    486          <li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Acknowledgements</a></li>
    487          <li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul class="toc">
    488                <li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
    489                <li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
     499         <li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Acknowledgements</a></li>
     500         <li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul>
     501               <li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
     502               <li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
    490503            </ul>
    491504         </li>
    492          <li class="tocline0"><a href="#rfc.authors">Author's Address</a></li>
    493          <li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li>
    494          <li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li>
    495          <li class="tocline0">C.&nbsp;&nbsp;&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a><ul class="toc">
    496                <li class="tocline1">C.1&nbsp;&nbsp;&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li>
    497                <li class="tocline1">C.2&nbsp;&nbsp;&nbsp;<a href="#alternatives.percent">Percent Encoding</a></li>
    498                <li class="tocline1">C.3&nbsp;&nbsp;&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></li>
    499                <li class="tocline1">C.4&nbsp;&nbsp;&nbsp;<a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></li>
     505         <li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></li>
     506         <li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></li>
     507         <li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a><ul>
     508               <li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></li>
     509               <li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.percent">Percent Encoding</a></li>
     510               <li><a href="#rfc.section.C.3">C.3</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></li>
     511               <li><a href="#rfc.section.C.4">C.4</a>&nbsp;&nbsp;&nbsp;<a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></li>
    500512            </ul>
    501513         </li>
    502          <li class="tocline0">D.&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc">
    503                <li class="tocline1">D.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li>
    504                <li class="tocline1">D.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li>
    505                <li class="tocline1">D.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li>
    506                <li class="tocline1">D.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li>
    507                <li class="tocline1">D.5&nbsp;&nbsp;&nbsp;<a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></li>
    508                <li class="tocline1">D.6&nbsp;&nbsp;&nbsp;<a href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></li>
     514         <li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul>
     515               <li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Since draft-reschke-rfc2183-in-http-00</a></li>
     516               <li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">Since draft-reschke-rfc2183-in-http-01</a></li>
     517               <li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">Since draft-reschke-rfc2183-in-http-02</a></li>
     518               <li><a href="#rfc.section.D.4">D.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">Since draft-reschke-rfc2183-in-http-03</a></li>
     519               <li><a href="#rfc.section.D.5">D.5</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></li>
     520               <li><a href="#rfc.section.D.6">D.6</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></li>
    509521            </ul>
    510522         </li>
    511          <li class="tocline0"><a href="#rfc.index">Index</a></li>
     523         <li><a href="#rfc.index">Index</a></li>
     524         <li><a href="#rfc.authors">Author's Address</a></li>
    512525      </ul>
    513       <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
    514       <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>):
    515       </p>
    516       <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5">
    517          <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks
    518             for implementers.
    519          </p>
    520       </blockquote>
    521       <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
    522          testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions
    523          (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.
    524       </p>
    525       <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;Notational Conventions
    526       </h1>
    527       <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
    528          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>.
    529       </p>
    530       <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).
    531       </p>
    532       <div id="rfc.iref.h.1"></div>
    533       <div id="rfc.iref.c.1"></div>
    534       <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a id="header.field.definition" href="#header.field.definition">Header Field Definition</a></h1>
    535       <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,
    536          and also can be used to attach additional metadata, such as the filename to use when saving the response payload locally.
    537       </p>
    538       <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Grammar
    539       </h2>
    540       <div id="rfc.figure.u.1"></div><pre class="inline">  content-disposition = "Content-Disposition" ":"
     526      <div id="introduction">
     527         <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#introduction">Introduction</a></h1>
     528         <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>):
     529         </p>
     530         <blockquote id="rfc.section.1.p.2" cite="http://tools.ietf.org/html/rfc2616#section-15.5">
     531            <p>Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks
     532               for implementers.
     533            </p>
     534         </blockquote>
     535         <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
     536            testing with existing User Agents, it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions
     537            (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.
     538         </p>
     539      </div>
     540      <div>
     541         <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;Notational Conventions
     542         </h1>
     543         <p id="rfc.section.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
     544            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>.
     545         </p>
     546         <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).
     547         </p>
     548      </div>
     549      <div id="header.field.definition">
     550         <div id="rfc.iref.h.1"></div>
     551         <div id="rfc.iref.c.1"></div>
     552         <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a href="#header.field.definition">Header Field Definition</a></h1>
     553         <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,
     554            and also can be used to attach additional metadata, such as the filename to use when saving the response payload locally.
     555         </p>
     556         <div>
     557            <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Grammar
     558            </h2>
     559            <div id="rfc.figure.u.1"></div><pre class="inline">  content-disposition = "Content-Disposition" ":"
    541560                         disposition-type *( ";" disposition-parm )
    542561
     
    553572                      | ext-token "=" ext-value
    554573  ext-token           = &lt;the characters in token, followed by "*"&gt;
    555 </pre><div id="rfc.figure.u.2"></div>
    556       <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>:
    557       </p>  <pre class="inline">  token       = &lt;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>&gt;
    558   value       = &lt;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>&gt;
    559 </pre><div id="rfc.figure.u.3"></div>
    560       <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>:
    561       </p>  <pre class="inline">  ext-value   = &lt;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>&gt;
    562 </pre><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="disposition.type" href="#disposition.type">Disposition Type</a></h2>
    563       <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
    564          to save the response locally, rather than process it normally (as per its media type).
    565       </p>
    566       <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p>
    567       <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>).
    568       </p>
    569       <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;<a id="disposition.parameter.filename" href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2>
    570       <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
    571          for storing the message payload.
    572       </p>
    573       <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
    574          "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page
    575          being displayed).
    576       </p>
    577       <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>).
    578       </p>
    579       <p id="rfc.section.3.3.p.4">Many user agent implementations predating this specification do not understand the "filename*" parameter. Therefore, when
    580          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
    581          more expressive "filename*" parameter, and the "filename" parameter as fallback for legacy recipients (see <a href="#examples" title="Examples">Section&nbsp;4</a> for an example).
    582       </p>
    583       <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
    584          information. In particular:
    585       </p>
    586       <ul>
    587          <li>
    588             <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").
    589             </p>
    590          </li>
    591          <li>
    592             <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
    593                extension could introduce a privilege escalation when the saved file is later opened (consider ".exe"). Thus, recipients need
    594                to ensure that a file extension is used that is safe, optimally matching the media type of the received payload.
    595             </p>
    596          </li>
    597          <li>
    598             <p>Other aspects recipients need to be aware of are names that have a special meaning in the file system or in shell commands,
    599                such as "." and "..", "~", "|", and also device names.
    600             </p>
    601          </li>
    602       </ul>
    603       <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;<a id="disposition.parameter.extensions" href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></h2>
    604       <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>).
    605       </p>
    606       <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;<a id="extensibility" href="#extensibility">Extensibility</a></h2>
    607       <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
    608          using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP.
    609       </p>
    610       <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a id="examples" href="#examples">Examples</a></h1>
    611       <div id="rfc.figure.u.4"></div>
    612       <p>Direct UA to show "save as" dialog, with a filename of "example.html":</p>  <pre class="text">Content-Disposition: Attachment; filename=example.html
    613 </pre><div id="rfc.figure.u.5"></div>
    614       <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "example.html"
    615          for a subsequent save operation:
    616       </p>  <pre class="text">Content-Disposition: INLINE; FILENAME= "example.html"
    617 </pre><div id="rfc.figure.u.6"></div>
    618       <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
    619 </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
    620          in the token production.
    621       </p>
    622       <div id="rfc.figure.u.7"></div>
    623       <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;
     574</pre><div id="rfc.figure.u.2"></div>
     575            <p>Defined in <a href="#RFC2616" id="rfc.xref.RFC2616.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>:
     576            </p><pre class="inline">  token       = &lt;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>&gt;
     577  value       = &lt;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>&gt;
     578</pre><div id="rfc.figure.u.3"></div>
     579            <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>:
     580            </p><pre class="inline">  ext-value   = &lt;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>&gt;
     581</pre></div>
     582         <div id="disposition.type">
     583            <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a href="#disposition.type">Disposition Type</a></h2>
     584            <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
     585               to save the response locally, rather than process it normally (as per its media type).
     586            </p>
     587            <p id="rfc.section.3.2.p.2">On the other hand, if it matches "inline" (case-insensitively), this implies default processing.</p>
     588            <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>).
     589            </p>
     590         </div>
     591         <div id="disposition.parameter.filename">
     592            <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;<a href="#disposition.parameter.filename">Disposition Parameter: 'Filename'</a></h2>
     593            <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
     594               for storing the message payload.
     595            </p>
     596            <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
     597               "attachment" disposition type), or later on (for instance, when the user decides to save the contents of the current page
     598               being displayed).
     599            </p>
     600            <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>).
     601            </p>
     602            <p id="rfc.section.3.3.p.4">Many user agent implementations predating this specification do not understand the "filename*" parameter. Therefore, when
     603               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
     604               more expressive "filename*" parameter, and the "filename" parameter as fallback for legacy recipients (see <a href="#examples" title="Examples">Section&nbsp;4</a> for an example).
     605            </p>
     606            <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
     607               information. In particular:
     608            </p>
     609            <ul>
     610               <li>
     611                  <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").
     612                  </p>
     613               </li>
     614               <li>
     615                  <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
     616                     extension could introduce a privilege escalation when the saved file is later opened (consider ".exe"). Thus, recipients need
     617                     to ensure that a file extension is used that is safe, optimally matching the media type of the received payload.
     618                  </p>
     619               </li>
     620               <li>
     621                  <p>Other aspects recipients need to be aware of are names that have a special meaning in the file system or in shell commands,
     622                     such as "." and "..", "~", "|", and also device names.
     623                  </p>
     624               </li>
     625            </ul>
     626         </div>
     627         <div id="disposition.parameter.extensions">
     628            <h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;<a href="#disposition.parameter.extensions">Disposition Parameter: Extensions</a></h2>
     629            <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>).
     630            </p>
     631         </div>
     632         <div id="extensibility">
     633            <h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;<a href="#extensibility">Extensibility</a></h2>
     634            <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
     635               using Content-Disposition, such as MIME and HTTP. Therefore, not all registered values may make sense in the context of HTTP.
     636            </p>
     637         </div>
     638      </div>
     639      <div id="examples">
     640         <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a href="#examples">Examples</a></h1>
     641         <div id="rfc.figure.u.4"></div>
     642         <p>Direct UA to show "save as" dialog, with a filename of "example.html":</p><pre class="text">Content-Disposition: Attachment; filename=example.html
     643</pre><div id="rfc.figure.u.5"></div>
     644         <p>Direct UA to behave as if the Content-Disposition header field wasn't present, but to remember the filename "example.html"
     645            for a subsequent save operation:
     646         </p><pre class="text">Content-Disposition: INLINE; FILENAME= "example.html"
     647</pre><div id="rfc.figure.u.6"></div>
     648         <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
     649</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
     650            in the token production.
     651         </p>
     652         <div id="rfc.figure.u.7"></div>
     653         <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;
    624654                     filename*= UTF-8''<b>%e2%82%ac</b>%20rates
    625 </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.
    626       </p>
    627       <div id="rfc.figure.u.8"></div>
    628       <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;
     655</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.
     656         </p>
     657         <div id="rfc.figure.u.8"></div>
     658         <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;
    629659                     filename="EURO rates";
    630660                     filename*=utf-8''<b>%e2%82%ac</b>%20rates
    631 </pre>  <p>Note: as of September 2010, those user agents that do not support the RFC 5987 encoding ignore "filename*" when it occurs
    632          after "filename". Unfortunately, some user agents that do support RFC 5987 do pick the "filename" rather than the "filename*"
    633          parameter when it occurs first; it is expected that this situation is going to improve soon.
    634       </p>
    635       <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="i18n" href="#i18n">Internationalization Considerations</a></h1>
    636       <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;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
    637          in use.
    638       </p>
    639       <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p>
    640       <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
    641       <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&nbsp;3.3</a>.
    642       </p>
    643       <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>).
    644       </p>
    645       <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="iana.considerations" href="#iana.considerations">IANA Considerations</a></h1>
    646       <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a id="registry" href="#registry">Registry for Disposition Values and Parameter</a></h2>
    647       <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
    648          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>.
    649       </p>
    650       <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2>
    651       <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
    652          (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>).
    653       </p>
    654       <p id="rfc.section.7.2.p.2"> </p>
    655       <dl>
    656          <dt>Header field name:</dt>
    657          <dd>Content-Disposition</dd>
    658          <dt>Applicable protocol:</dt>
    659          <dd>http</dd>
    660          <dt>Status:</dt>
    661          <dd>standard</dd>
    662          <dt>Author/Change controller:</dt>
    663          <dd>IETF</dd>
    664          <dt>Specification document:</dt>
    665          <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section&nbsp;3</a>)
    666          </dd>
    667       </dl>
    668       <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;Acknowledgements
    669       </h1>
    670       <p id="rfc.section.8.p.1">Thanks to Rolf Eike Beer, Bjoern Hoehrmann, Alfred Hoenes, Roar Lauritzsen, Henrik Nordstrom, and Mark Nottingham for their
    671          valuable feedback.
    672       </p>
     661</pre><p>Note: as of September 2010, those user agents that do not support the RFC 5987 encoding ignore "filename*" when it occurs
     662            after "filename". Unfortunately, some user agents that do support RFC 5987 do pick the "filename" rather than the "filename*"
     663            parameter when it occurs first; it is expected that this situation is going to improve soon.
     664         </p>
     665      </div>
     666      <div id="i18n">
     667         <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#i18n">Internationalization Considerations</a></h1>
     668         <p id="rfc.section.5.p.1">The "filename*" parameter (<a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;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
     669            in use.
     670         </p>
     671         <p id="rfc.section.5.p.2">Future parameters might also require internationalization, in which case the same encoding can be used.</p>
     672      </div>
     673      <div id="security.considerations">
     674         <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#security.considerations">Security Considerations</a></h1>
     675         <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&nbsp;3.3</a>.
     676         </p>
     677         <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>).
     678         </p>
     679      </div>
     680      <div id="iana.considerations">
     681         <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a href="#iana.considerations">IANA Considerations</a></h1>
     682         <div id="registry">
     683            <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a href="#registry">Registry for Disposition Values and Parameter</a></h2>
     684            <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
     685               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>.
     686            </p>
     687         </div>
     688         <div id="header.field.registration">
     689            <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a href="#header.field.registration">Header Field Registration</a></h2>
     690            <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
     691               (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>).
     692            </p>
     693            <p id="rfc.section.7.2.p.2"></p>
     694            <dl>
     695               <dt>Header field name:</dt>
     696               <dd>Content-Disposition</dd>
     697               <dt>Applicable protocol:</dt>
     698               <dd>http</dd>
     699               <dt>Status:</dt>
     700               <dd>standard</dd>
     701               <dt>Author/Change controller:</dt>
     702               <dd>IETF</dd>
     703               <dt>Specification document:</dt>
     704               <dd>this specification (<a href="#header.field.definition" id="rfc.xref.header.field.definition.1" title="Header Field Definition">Section&nbsp;3</a>)
     705               </dd>
     706            </dl>
     707         </div>
     708      </div>
     709      <div>
     710         <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;Acknowledgements
     711         </h1>
     712         <p id="rfc.section.8.p.1">Thanks to Rolf Eike Beer, Bjoern Hoehrmann, Alfred Hoenes, Roar Lauritzsen, Henrik Nordstrom, and Mark Nottingham for their
     713            valuable feedback.
     714         </p>
     715      </div>
    673716      <h1 id="rfc.references"><a id="rfc.section.9" href="#rfc.section.9">9.</a> References
    674717      </h1>
    675718      <h2 id="rfc.references.1"><a href="#rfc.section.9.1" id="rfc.section.9.1">9.1</a> Normative References
    676719      </h2>
    677       <table>       
     720      <table>
    678721         <tr>
    679722            <td class="reference"><b id="ISO-8859-1">[ISO-8859-1]</b></td>
     
    682725         <tr>
    683726            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
    684             <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&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
     727            <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&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
    685728            </td>
    686729         </tr>
    687730         <tr>
    688731            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
    689             <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&nbsp;2616, June&nbsp;1999.
     732            <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&nbsp;2616, June&nbsp;1999.
    690733            </td>
    691734         </tr>
    692735         <tr>
    693736            <td class="reference"><b id="RFC5987">[RFC5987]</b></td>
    694             <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&nbsp;5987, August&nbsp;2010.
     737            <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&nbsp;5987, August&nbsp;2010.
    695738            </td>
    696739         </tr>
     
    698741      <h2 id="rfc.references.2"><a href="#rfc.section.9.2" id="rfc.section.9.2">9.2</a> Informative References
    699742      </h2>
    700       <table>             
     743      <table>
    701744         <tr>
    702745            <td class="reference"><b id="RFC2046">[RFC2046]</b></td>
    703             <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&nbsp;2046, November&nbsp;1996.
     746            <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&nbsp;2046, November&nbsp;1996.
    704747            </td>
    705748         </tr>
    706749         <tr>
    707750            <td class="reference"><b id="RFC2047">[RFC2047]</b></td>
    708             <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&nbsp;2047, November&nbsp;1996.
     751            <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&nbsp;2047, November&nbsp;1996.
    709752            </td>
    710753         </tr>
    711754         <tr>
    712755            <td class="reference"><b id="RFC2183">[RFC2183]</b></td>
    713             <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&nbsp;2183, August&nbsp;1997.
     756            <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&nbsp;2183, August&nbsp;1997.
    714757            </td>
    715758         </tr>
    716759         <tr>
    717760            <td class="reference"><b id="RFC2231">[RFC2231]</b></td>
    718             <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&nbsp;2231, November&nbsp;1997.
     761            <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&nbsp;2231, November&nbsp;1997.
    719762            </td>
    720763         </tr>
    721764         <tr>
    722765            <td class="reference"><b id="RFC3629">[RFC3629]</b></td>
    723             <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&nbsp;63, RFC&nbsp;3629, November&nbsp;2003.
     766            <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&nbsp;63, RFC&nbsp;3629, November&nbsp;2003.
    724767            </td>
    725768         </tr>
    726769         <tr>
    727770            <td class="reference"><b id="RFC3864">[RFC3864]</b></td>
    728             <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&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
     771            <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&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
    729772            </td>
    730773         </tr>
    731774         <tr>
    732775            <td class="reference"><b id="RFC3986">[RFC3986]</b></td>
    733             <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&nbsp;66, RFC&nbsp;3986, January&nbsp;2005.
     776            <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&nbsp;66, RFC&nbsp;3986, January&nbsp;2005.
    734777            </td>
    735778         </tr>
    736779      </table>
    737       <div class="avoidbreak">
    738          <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1>
    739          <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>&nbsp;<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>
    740       </div>
    741       <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="changes.from.rfc2616" href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1>
    742       <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:
    743       </p>
    744       <ul>
    745          <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This
    746             restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly
    747             declaring the media type.
    748          </li>
    749          <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't
    750             reflect actual use.
    751          </li>
    752          <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.
    753          </li>
    754          <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>.
    755          </li>
    756       </ul>
    757       <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="diffs.compared.to.rfc2183" href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1>
    758       <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
    759          do not appear to be implemented by any user agent, thus have been omitted from this specification.
    760       </p>
    761       <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a id="alternatives" href="#alternatives">Alternative Approaches to Internationalization</a></h1>
    762       <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.
    763       </p>
    764       <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
    765          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>).
    766       </p>
    767       <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
    768          to the RFC 5987 encoding used in this specification.
    769       </p>
    770       <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a id="alternatives.rfc2047" href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2>
    771       <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
    772          - 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>:
    773       </p>
    774       <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5">
    775          <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p> 
    776          <p>...</p> 
    777          <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured
    778             field body except within a 'comment' or 'phrase'.
    779          </p>
    780       </blockquote>
    781       <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
    782          confused by it.
    783       </p>
    784       <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a id="alternatives.percent" href="#alternatives.percent">Percent Encoding</a></h2>
    785       <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.
    786       </p>
    787       <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
    788          to the user.
    789       </p>
    790       <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
    791          to use in multi-lingual environments.
    792       </p>
    793       <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;<a id="alternatives.sniff" href="#alternatives.sniff">Encoding Sniffing</a></h2>
    794       <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
    795          the correct interpretation.
    796       </p>
    797       <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>
    798       <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a>&nbsp;<a id="alternatives.implementations" href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></h2>
    799       <p id="rfc.section.C.4.p.1">Unfortunately, as of September 2010, neither the encoding defined in RFCs 2231 and 5987, nor any of the alternate approaches
    800          discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which
    801          at least has the advantage of actually being specified properly.
    802       </p>
    803       <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches:</p>
    804       <div id="rfc.table.u.1">
    805          <table class="tt full left" cellpadding="3" cellspacing="0">
    806             <thead>
    807                <tr>
    808                   <th>User Agent</th>
    809                   <th>RFC 2231/5987</th>
    810                   <th>RFC 2047</th>
    811                   <th>Percent Encoding</th>
    812                   <th>Encoding Sniffing</th>
    813                </tr>
    814             </thead>
    815             <tbody>
    816                <tr>
    817                   <td class="left">Chrome</td>
    818                   <td class="left">no</td>
    819                   <td class="left">yes</td>
    820                   <td class="left">yes</td>
    821                   <td class="left">yes</td>
    822                </tr>
    823                <tr>
    824                   <td class="left">Firefox</td>
    825                   <td class="left">yes (*)</td>
    826                   <td class="left">yes</td>
    827                   <td class="left">no</td>
    828                   <td class="left">yes</td>
    829                </tr>
    830                <tr>
    831                   <td class="left">Internet Explorer</td>
    832                   <td class="left">no</td>
    833                   <td class="left">no</td>
    834                   <td class="left">yes</td>
    835                   <td class="left">no</td>
    836                </tr>
    837                <tr>
    838                   <td class="left">Konqueror</td>
    839                   <td class="left">yes</td>
    840                   <td class="left">no</td>
    841                   <td class="left">no</td>
    842                   <td class="left">no</td>
    843                </tr>
    844                <tr>
    845                   <td class="left">Opera</td>
    846                   <td class="left">yes (*)</td>
    847                   <td class="left">no</td>
    848                   <td class="left">no</td>
    849                   <td class="left">no</td>
    850                </tr>
    851                <tr>
    852                   <td class="left">Safari</td>
    853                   <td class="left">no</td>
    854                   <td class="left">no</td>
    855                   <td class="left">no</td>
    856                   <td class="left">yes</td>
    857                </tr>
    858             </tbody>
    859          </table>
    860          <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>.
    861          </p>
    862       </div>
    863       <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
    864       <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Since draft-reschke-rfc2183-in-http-00
    865       </h2>
    866       <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -&gt; "header field"). Update rfc2231-in-http reference.</p>
    867       <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;Since draft-reschke-rfc2183-in-http-01
    868       </h2>
    869       <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples
    870          using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve
    871          issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry".
    872       </p>
    873       <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;Since draft-reschke-rfc2183-in-http-02
    874       </h2>
    875       <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p>
    876       <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;Since draft-reschke-rfc2183-in-http-03
    877       </h2>
    878       <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p>
    879       <h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;<a id="changes.since.00" href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></h2>
    880       <p id="rfc.section.D.5.p.1">Closed issues: </p>
    881       <ul>
    882          <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/242">http://tools.ietf.org/wg/httpbis/trac/ticket/242</a>&gt;: "handling of unknown disposition types"
    883          </li>
    884       </ul>
    885       <p id="rfc.section.D.5.p.2">Slightly updated the notes about the proposed fallback behavior.</p>
    886       <h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;<a id="changes.since.01" href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></h2>
    887       <p id="rfc.section.D.6.p.1">None yet.</p>
     780      <div id="changes.from.rfc2616">
     781         <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a href="#changes.from.rfc2616">Changes from the RFC 2616 Definition</a></h1>
     782         <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:
     783         </p>
     784         <ul>
     785            <li>According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This
     786               restriction has been removed, because user agents in practice do not check the content type, and it also discourages properly
     787               declaring the media type.
     788            </li>
     789            <li>RFC 2616 only allows "quoted-string" for the filename parameter. This would be an exceptional parameter syntax, and also doesn't
     790               reflect actual use.
     791            </li>
     792            <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.
     793            </li>
     794            <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>.
     795            </li>
     796         </ul>
     797      </div>
     798      <div id="diffs.compared.to.rfc2183">
     799         <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a href="#diffs.compared.to.rfc2183">Differences compared to RFC 2183</a></h1>
     800         <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
     801            do not appear to be implemented by any user agent, thus have been omitted from this specification.
     802         </p>
     803      </div>
     804      <div id="alternatives">
     805         <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a href="#alternatives">Alternative Approaches to Internationalization</a></h1>
     806         <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.
     807         </p>
     808         <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
     809            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>).
     810         </p>
     811         <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
     812            to the RFC 5987 encoding used in this specification.
     813         </p>
     814         <div id="alternatives.rfc2047">
     815            <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a href="#alternatives.rfc2047">RFC 2047 Encoding</a></h2>
     816            <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
     817               - 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>:
     818            </p>
     819            <blockquote id="rfc.section.C.1.p.2" cite="http://tools.ietf.org/html/rfc2047#section-5">
     820               <p>An 'encoded-word' MUST NOT appear within a 'quoted-string'.</p>
     821               <p>...</p>
     822               <p>An 'encoded-word' MUST NOT be used in parameter of a MIME Content-Type or Content-Disposition field, or in any structured
     823                  field body except within a 'comment' or 'phrase'.
     824               </p>
     825            </blockquote>
     826            <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
     827               confused by it.
     828            </p>
     829         </div>
     830         <div id="alternatives.percent">
     831            <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a href="#alternatives.percent">Percent Encoding</a></h2>
     832            <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.
     833            </p>
     834            <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
     835               to the user.
     836            </p>
     837            <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
     838               to use in multi-lingual environments.
     839            </p>
     840         </div>
     841         <div id="alternatives.sniff">
     842            <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;<a href="#alternatives.sniff">Encoding Sniffing</a></h2>
     843            <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
     844               the correct interpretation.
     845            </p>
     846            <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>
     847         </div>
     848         <div id="alternatives.implementations">
     849            <h2 id="rfc.section.C.4"><a href="#rfc.section.C.4">C.4</a>&nbsp;<a href="#alternatives.implementations">Implementations (to be removed by RFC Editor before publication)</a></h2>
     850            <p id="rfc.section.C.4.p.1">Unfortunately, as of September 2010, neither the encoding defined in RFCs 2231 and 5987, nor any of the alternate approaches
     851               discussed above was implemented interoperably. Thus, this specification recommends the approach defined in RFC 5987, which
     852               at least has the advantage of actually being specified properly.
     853            </p>
     854            <p id="rfc.section.C.4.p.2">The table below shows the implementation support for the various approaches:</p>
     855            <div id="rfc.table.u.1">
     856               <table class="tt full left" cellpadding="3" cellspacing="0">
     857                  <thead>
     858                     <tr>
     859                        <th>User Agent</th>
     860                        <th>RFC 2231/5987</th>
     861                        <th>RFC 2047</th>
     862                        <th>Percent Encoding</th>
     863                        <th>Encoding Sniffing</th>
     864                     </tr>
     865                  </thead>
     866                  <tbody>
     867                     <tr>
     868                        <td class="left">Chrome</td>
     869                        <td class="left">no</td>
     870                        <td class="left">yes</td>
     871                        <td class="left">yes</td>
     872                        <td class="left">yes</td>
     873                     </tr>
     874                     <tr>
     875                        <td class="left">Firefox</td>
     876                        <td class="left">yes (*)</td>
     877                        <td class="left">yes</td>
     878                        <td class="left">no</td>
     879                        <td class="left">yes</td>
     880                     </tr>
     881                     <tr>
     882                        <td class="left">Internet Explorer</td>
     883                        <td class="left">no</td>
     884                        <td class="left">no</td>
     885                        <td class="left">yes</td>
     886                        <td class="left">no</td>
     887                     </tr>
     888                     <tr>
     889                        <td class="left">Konqueror</td>
     890                        <td class="left">yes</td>
     891                        <td class="left">no</td>
     892                        <td class="left">no</td>
     893                        <td class="left">no</td>
     894                     </tr>
     895                     <tr>
     896                        <td class="left">Opera</td>
     897                        <td class="left">yes (*)</td>
     898                        <td class="left">no</td>
     899                        <td class="left">no</td>
     900                        <td class="left">no</td>
     901                     </tr>
     902                     <tr>
     903                        <td class="left">Safari</td>
     904                        <td class="left">no</td>
     905                        <td class="left">no</td>
     906                        <td class="left">no</td>
     907                        <td class="left">yes</td>
     908                     </tr>
     909                  </tbody>
     910               </table>
     911               <p>(*) Does not implement the fallback behavior to "filename" described in <a href="#disposition.parameter.filename" title="Disposition Parameter: 'Filename'">Section&nbsp;3.3</a>.
     912               </p>
     913            </div>
     914         </div>
     915      </div>
     916      <div id="change.log">
     917         <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
     918         <div>
     919            <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Since draft-reschke-rfc2183-in-http-00
     920            </h2>
     921            <p id="rfc.section.D.1.p.1">Adjust terminology ("header" -&gt; "header field"). Update rfc2231-in-http reference.</p>
     922         </div>
     923         <div>
     924            <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;Since draft-reschke-rfc2183-in-http-01
     925            </h2>
     926            <p id="rfc.section.D.2.p.1">Update rfc2231-in-http reference. Actually define the "filename" parameter. Add internationalization considerations. Add examples
     927               using the RFC 5987 encoding. Add overview over other approaches, plus a table reporting implementation status. Add and resolve
     928               issue "nodep2183". Add issues "asciivsiso", "deplboth", "quoted", and "registry".
     929            </p>
     930         </div>
     931         <div>
     932            <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;Since draft-reschke-rfc2183-in-http-02
     933            </h2>
     934            <p id="rfc.section.D.3.p.1">Add and close issue "docfallback". Close issues "asciivsiso", "deplboth", "quoted", and "registry".</p>
     935         </div>
     936         <div>
     937            <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;Since draft-reschke-rfc2183-in-http-03
     938            </h2>
     939            <p id="rfc.section.D.4.p.1">Updated to be a Working Draft of the IETF HTTPbis Working Group.</p>
     940         </div>
     941         <div id="changes.since.00">
     942            <h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;<a href="#changes.since.00">Since draft-ietf-httpbis-content-disp-00</a></h2>
     943            <p id="rfc.section.D.5.p.1">Closed issues: </p>
     944            <ul>
     945               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/242">http://tools.ietf.org/wg/httpbis/trac/ticket/242</a>&gt;: "handling of unknown disposition types"
     946               </li>
     947            </ul>
     948            <p id="rfc.section.D.5.p.2">Slightly updated the notes about the proposed fallback behavior.</p>
     949         </div>
     950         <div id="changes.since.01">
     951            <h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;<a href="#changes.since.01">Since draft-ietf-httpbis-content-disp-01</a></h2>
     952            <p id="rfc.section.D.6.p.1">None yet.</p>
     953         </div>
     954      </div>
    888955      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
    889956      <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>
     
    891958      <div class="print2col">
    892959         <ul class="ind">
    893             <li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind">
    894                   <li class="indline1">Content-Disposition header&nbsp;&nbsp;<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>
     960            <li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul>
     961                  <li>Content-Disposition header&nbsp;&nbsp;<a href="#rfc.iref.c.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li>
    895962               </ul>
    896963            </li>
    897             <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind">
    898                   <li class="indline1">Headers&nbsp;&nbsp;
    899                      <ul class="ind">
    900                         <li class="indline1">Content-Disposition&nbsp;&nbsp;<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>
     964            <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul>
     965                  <li>Headers&nbsp;&nbsp;
     966                     <ul>
     967                        <li>Content-Disposition&nbsp;&nbsp;<a href="#rfc.iref.h.1"><b>3</b></a>, <a href="#rfc.xref.header.field.definition.1">7.2</a></li>
    901968                     </ul>
    902969                  </li>
    903970               </ul>
    904971            </li>
    905             <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind">
    906                   <li class="indline1"><em>ISO-8859-1</em>&nbsp;&nbsp;<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>
     972            <li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul>
     973                  <li><em>ISO-8859-1</em>&nbsp;&nbsp;<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>
    907974               </ul>
    908975            </li>
    909             <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind">
    910                   <li class="indline1"><em>RFC2046</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2046.1">3.3</a>, <a class="iref" href="#RFC2046"><b>9.2</b></a></li>
    911                   <li class="indline1"><em>RFC2047</em>&nbsp;&nbsp;<a class="iref" href="#RFC2047"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2047.1">C.1</a><ul class="ind">
    912                         <li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2047.1">C.1</a></li>
     976            <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul>
     977                  <li><em>RFC2046</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2046.1">3.3</a>, <a href="#RFC2046"><b>9.2</b></a></li>
     978                  <li><em>RFC2047</em>&nbsp;&nbsp;<a href="#RFC2047"><b>9.2</b></a>, <a href="#rfc.xref.RFC2047.1">C.1</a><ul>
     979                        <li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2047.1">C.1</a></li>
    913980                     </ul>
    914981                  </li>
    915                   <li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">2</a>, <a class="iref" href="#RFC2119"><b>9.1</b></a></li>
    916                   <li class="indline1"><em>RFC2183</em>&nbsp;&nbsp;<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">
    917                         <li class="indline1"><em>Section 2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.7">B</a></li>
    918                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.6">A</a></li>
    919                         <li class="indline1"><em>Section 2.8</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.2">3.2</a>, <a class="iref" href="#rfc.xref.RFC2183.3">3.4</a></li>
    920                         <li class="indline1"><em>Section 9</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2183.4">3.5</a>, <a class="iref" href="#rfc.xref.RFC2183.5">7.1</a></li>
     982                  <li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">2</a>, <a href="#RFC2119"><b>9.1</b></a></li>
     983                  <li><em>RFC2183</em>&nbsp;&nbsp;<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>
     984                        <li><em>Section 2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.7">B</a></li>
     985                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.6">A</a></li>
     986                        <li><em>Section 2.8</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.2">3.2</a>, <a href="#rfc.xref.RFC2183.3">3.4</a></li>
     987                        <li><em>Section 9</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2183.4">3.5</a>, <a href="#rfc.xref.RFC2183.5">7.1</a></li>
    921988                     </ul>
    922989                  </li>
    923                   <li class="indline1"><em>RFC2231</em>&nbsp;&nbsp;<a class="iref" href="#RFC2231"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2231.1">C</a></li>
    924                   <li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<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">
    925                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.3">2</a></li>
    926                         <li class="indline1"><em>Section 2.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.5">3.1</a>, <a class="iref" href="#rfc.xref.RFC2616.9">C</a></li>
    927                         <li class="indline1"><em>Section 3.6</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.6">3.1</a></li>
    928                         <li class="indline1"><em>Section 15.5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">1</a></li>
    929                         <li class="indline1"><em>Section 15</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.7">6</a></li>
    930                         <li class="indline1"><em>Section 19.5.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#rfc.xref.RFC2616.8">A</a></li>
     990                  <li><em>RFC2231</em>&nbsp;&nbsp;<a href="#RFC2231"><b>9.2</b></a>, <a href="#rfc.xref.RFC2231.1">C</a></li>
     991                  <li><em>RFC2616</em>&nbsp;&nbsp;<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>
     992                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.3">2</a></li>
     993                        <li><em>Section 2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.5">3.1</a>, <a href="#rfc.xref.RFC2616.9">C</a></li>
     994                        <li><em>Section 3.6</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.6">3.1</a></li>
     995                        <li><em>Section 15.5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.2">1</a></li>
     996                        <li><em>Section 15</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.7">6</a></li>
     997                        <li><em>Section 19.5.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">1</a>, <a href="#rfc.xref.RFC2616.8">A</a></li>
    931998                     </ul>
    932999                  </li>
    933                   <li class="indline1"><em>RFC3629</em>&nbsp;&nbsp;<a class="iref" href="#RFC3629"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC3629.1">C.2</a></li>
    934                   <li class="indline1"><em>RFC3864</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3864.1">7.2</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li>
    935                   <li class="indline1"><em>RFC3986</em>&nbsp;&nbsp;<a class="iref" href="#RFC3986"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC3986.1">C.2</a><ul class="ind">
    936                         <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3986.1">C.2</a></li>
     1000                  <li><em>RFC3629</em>&nbsp;&nbsp;<a href="#RFC3629"><b>9.2</b></a>, <a href="#rfc.xref.RFC3629.1">C.2</a></li>
     1001                  <li><em>RFC3864</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC3864.1">7.2</a>, <a href="#RFC3864"><b>9.2</b></a></li>
     1002                  <li><em>RFC3986</em>&nbsp;&nbsp;<a href="#RFC3986"><b>9.2</b></a>, <a href="#rfc.xref.RFC3986.1">C.2</a><ul>
     1003                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC3986.1">C.2</a></li>
    9371004                     </ul>
    9381005                  </li>
    939                   <li class="indline1"><em>RFC5987</em>&nbsp;&nbsp;<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">
    940                         <li class="indline1"><em>Section 3.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5987.2">3.1</a></li>
    941                         <li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5987.8">6</a></li>
     1006                  <li><em>RFC5987</em>&nbsp;&nbsp;<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>
     1007                        <li><em>Section 3.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5987.2">3.1</a></li>
     1008                        <li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5987.8">6</a></li>
    9421009                     </ul>
    9431010                  </li>
     
    9461013         </ul>
    9471014      </div>
     1015      <div class="avoidbreak">
     1016         <h1 id="rfc.authors"><a href="#rfc.authors">Author's Address</a></h1>
     1017         <p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW&nbsp;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>
     1018      </div>
    9481019   </body>
    9491020</html>
  • draft-ietf-httpbis-content-disp/03/draft-ietf-httpbis-content-disp.html

    r1056 r2726  
    22  PUBLIC "-//W3C//DTD HTML 4.01//EN">
    33<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/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    66      <title>Use of the Content-Disposition&nbsp;Header&nbsp;Field
     
    3333body {
    3434  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;
    3738}
    3839cite {
     
    4243  margin-left: 2em;
    4344}
    44 dd {
    45   margin-right: 2em;
    46 }
    4745dl {
    4846  margin-left: 2em;
    4947}
    50 
    5148ul.empty {
    5249  list-style-type: none;
     
    6259}
    6360h1 {
    64   font-size: 14pt;
     61  font-size: 130%;
    6562  line-height: 21pt;
    6663  page-break-after: avoid;
     
    6966  page-break-before: always;
    7067}
    71 h1 a {
    72   color: #333333;
    73 }
    7468h2 {
    75   font-size: 12pt;
     69  font-size: 120%;
    7670  line-height: 15pt;
    7771  page-break-after: avoid;
    7872}
    79 h3, h4, h5, h6 {
    80   font-size: 10pt;
     73h3 {
     74  font-size: 110%;
    8175  page-break-after: avoid;
    8276}
    83 h2 a, h3 a, h4 a, h5 a, h6 a {
     77h4, h5, h6 {
     78  page-break-after: avoid;
     79}
     80h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    8481  color: black;
    8582}
     
    8986li {
    9087  margin-left: 2em;
    91   margin-right: 2em;
    9288}
    9389ol {
    9490  margin-left: 2em;
    95   margin-right: 2em;
     91}
     92ol.la {
     93  list-style-type: lower-alpha;
     94}
     95ol.ua {
     96  list-style-type: upper-alpha;
    9697}
    9798ol p {
     
    100101p {
    101102  margin-left: 2em;
    102   margin-right: 2em;
    103103}
    104104pre {
     
    106106  background-color: lightyellow;
    107107  padding: .25em;
     108  page-break-inside: avoid;
    108109}
    109110pre.text2 {
     
    134135table.tt {
    135136  vertical-align: top;
     137  border-color: gray;
     138}
     139table.tt th {
     140  border-color: gray;
     141}
     142table.tt td {
     143  border-color: gray;
     144}
     145table.all {
     146  border-style: solid;
     147  border-width: 2px;
    136148}
    137149table.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;
    144152}
    145153table.tt td {
    146154  vertical-align: top;
    147155}
     156table.all td {
     157  border-style: solid;
     158  border-width: 1px;
     159}
    148160table.full td {
    149   border-style: inset;
     161  border-style: none solid;
    150162  border-width: 1px;
    151163}
     
    153165  vertical-align: top;
    154166}
     167table.all th {
     168  border-style: solid;
     169  border-width: 1px;
     170}
    155171table.full th {
    156   border-style: inset;
    157   border-width: 1px;
     172  border-style: solid;
     173  border-width: 1px 1px 2px 1px;
    158174}
    159175table.headers th {
    160   border-style: none none inset none;
    161   border-width: 1px;
     176  border-style: none none solid none;
     177  border-width: 2px;
    162178}
    163179table.left {
     
    174190  caption-side: bottom;
    175191  font-weight: bold;
    176   font-size: 9pt;
     192  font-size: 10pt;
    177193  margin-top: .5em;
    178194}
     
    181197  border-spacing: 1px;
    182198  width: 95%;
    183   font-size: 10pt;
     199  font-size: 11pt;
    184200  color: white;
    185201}
     
    189205td.topnowrap {
    190206  vertical-align: top;
    191   white-space: nowrap; 
     207  white-space: nowrap;
    192208}
    193209table.header td {
     
    206222  display:table-header-group;
    207223}
    208 ul.toc {
     224ul.toc, ul.toc ul {
    209225  list-style: none;
    210226  margin-left: 1.5em;
    211   margin-right: 0em;
    212227  padding-left: 0em;
    213228}
    214 li.tocline0 {
     229ul.toc li {
    215230  line-height: 150%;
    216231  font-weight: bold;
     232  margin-left: 0em;
     233}
     234ul.toc li li {
     235  line-height: normal;
     236  font-weight: normal;
    217237  font-size: 10pt;
    218238  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}
     240li.excluded {
    229241  font-size: 0pt;
    230242}
     
    232244  margin-left: 0em;
    233245}
    234 ul.ind {
     246.title, .filename, h1, h2, h3, h4 {
     247  font-family: candara, helvetica, arial, sans-serif;
     248}
     249samp, tt, code, pre {
     250  font: consolas, monospace;
     251}
     252ul.ind, ul.ind ul {
    235253  list-style: none;
    236254  margin-left: 1.5em;
    237   margin-right: 0em;
    238255  padding-left: 0em;
    239256  page-break-before: avoid;
    240257}
    241 li.indline0 {
     258ul.ind li {
    242259  font-weight: bold;
    243260  line-height: 200%;
    244261  margin-left: 0em;
    245   margin-right: 0em;
    246 }
    247 li.indline1 {
     262}
     263ul.ind li li {
    248264  font-weight: normal;
    249265  line-height: 150%;
    250266  margin-left: 0em;
    251   margin-right: 0em;
    252267}
    253268.avoidbreak {
     
    276291  font-weight: bold;
    277292  text-align: center;
    278   font-size: 9pt;
     293  font-size: 10pt;
    279294}
    280295.filename {
    281296  color: #333333;
     297  font-size: 75%;
    282298  font-weight: bold;
    283   font-size: 12pt;
    284299  line-height: 21pt;
    285300  text-align: center;
     
    288303  font-weight: bold;
    289304}
    290 .hidden {
    291   display: none;
    292 }
    293305.left {
    294306  text-align: left;
     
    298310}
    299311.title {
    300   color: #990000;
    301   font-size: 18pt;
     312  color: green;
     313  font-size: 150%;
    302314  line-height: 18pt;
    303315  font-weight: bold;
     
    305317  margin-top: 36pt;
    306318}
    307 .vcardline {
    308   display: block;
    309 }
    310319.warning {
    311   font-size: 14pt;
     320  font-size: 130%;
    312321  background-color: yellow;
    313322}
     
    318327    display: none;
    319328  }
    320  
     329
    321330  a {
    322331    color: black;
     
    333342    background-color: white;
    334343    vertical-align: top;
    335     font-size: 12pt;
    336   }
    337 
    338   ul.toc a::after {
     344    font-size: 110%;
     345  }
     346
     347  ul.toc a:nth-child(2)::after {
    339348    content: leader('.') target-counter(attr(href), page);
    340349  }
    341  
    342   a.iref {
     350
     351  ul.ind li li a {
    343352    content: target-counter(attr(href), page);
    344353  }
    345  
     354
    346355  .print2col {
    347356    column-count: 2;
     
    353362@page {
    354363  @top-left {
    355        content: "Internet-Draft"; 
    356   } 
     364       content: "Internet-Draft";
     365  }
    357366  @top-right {
    358        content: "October 2010"; 
    359   } 
     367       content: "October 2010";
     368  }
    360369  @top-center {
    361        content: "Content-Disposition in HTTP"; 
    362   } 
     370       content: "Content-Disposition in HTTP";
     371  }
    363372  @bottom-left {
    364        content: "Reschke"; 
    365   } 
     373       content: "Reschke";
     374  }
    366375  @bottom-center {
    367        content: "Standards Track";
    368   } 
     376       content: "Expires April 28, 2011";
     377  }
    369378  @bottom-right {
    370        content: "[Page " counter(page) "]"; 
    371   } 
    372 }
    373 
    374 @page:first { 
     379       content: "[Page " counter(page) "]";
     380  }
     381}
     382
     383@page:first {
    375384    @top-left {
    376385      content: normal;
     
    400409      <link rel="Appendix" title="C Alternative Approaches to Internationalization" href="#rfc.section.C">
    401410      <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/">
    403412      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    404413      <meta name="dct.creator" content="Reschke, J. F.">
     
    420429            </tr>
    421430            <tr>