* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Changeset 724


Ignore:
Timestamp:
2009-11-10 05:44:53 (5 years ago)
Author:
julian.reschke@gmx.de
Message:

Do not recommend a specific language tag filtering, just note that "Basic" as designed to match RFC2616 (see #181)

Location:
draft-ietf-httpbis/latest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p3-payload.html

    r723 r724  
    2222  font-style: normal; 
    2323} 
    24 blockquote { 
    25   border-style: solid; 
    26   border-color: gray; 
    27   border-width: 0 0 0 .25em; 
    28   font-style: italic; 
    29   padding-left: 0.5em; 
    30 } 
    3124body { 
    3225  color: black; 
     
    252245  text-transform: lowercase; 
    253246  font-variant: small-caps; 
    254 } 
    255 blockquote > * .bcp14 { 
    256   font-style: italic; 
    257247} 
    258248.comment { 
     
    407397      <meta name="DC.Creator" content="Reschke, J. F."> 
    408398      <meta name="DC.Identifier" content="urn:ietf:id:draft-ietf-httpbis-p3-payload-latest"> 
    409       <meta name="DC.Date.Issued" scheme="ISO8601" content="2009-11-04"> 
     399      <meta name="DC.Date.Issued" scheme="ISO8601" content="2009-11-10"> 
    410400      <meta name="DC.Relation.Replaces" content="urn:ietf:rfc:2616"> 
    411401      <meta name="DC.Description.Abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 3 defines HTTP message content, metadata, and content negotiation."> 
     
    439429         </tr> 
    440430         <tr> 
    441             <td class="header left">Expires: May 8, 2010</td> 
     431            <td class="header left">Expires: May 14, 2010</td> 
    442432            <td class="header right">HP</td> 
    443433         </tr> 
     
    492482         <tr> 
    493483            <td class="header left"></td> 
    494             <td class="header right">November 4, 2009</td> 
     484            <td class="header right">November 10, 2009</td> 
    495485         </tr> 
    496486      </table> 
     
    521511      <p>The list of Internet-Draft Shadow Directories can be accessed at &lt;<a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>&gt;. 
    522512      </p> 
    523       <p>This Internet-Draft will expire in May 8, 2010.</p> 
     513      <p>This Internet-Draft will expire in May 14, 2010.</p> 
    524514      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1> 
    525515      <p>Copyright © 2009 IETF Trust and the persons identified as the document authors. All rights reserved.</p> 
     
    12011191      </p> 
    12021192      <div id="rfc.figure.u.25"></div><pre class="text">  Accept-Language: da, en-gb;q=0.8, en;q=0.7 
    1203 </pre><p id="rfc.section.5.4.p.5">would mean: "I prefer Danish, but will accept British English and other types of English."</p> 
    1204       <p id="rfc.section.5.4.p.6">For matching, the "Basic Filtering" matching scheme, defined in <a href="http://tools.ietf.org/html/rfc4647#section-3.3.1">Section 3.3.1</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.2"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, is used: 
    1205       </p> 
    1206       <blockquote id="rfc.section.5.4.p.7" cite="http://tools.ietf.org/html/rfc4647#section-3.3.1">  
    1207          <p>A language range matches a particular language tag if, in a case-insensitive comparison, it exactly equals the tag, or if 
    1208             it exactly equals a prefix of the tag such that the first character following the prefix is "-". 
    1209          </p>  
    1210       </blockquote> 
    1211       <p id="rfc.section.5.4.p.8">The special range "*", if present in the Accept-Language field, matches every tag not matched by any other range present in 
    1212          the Accept-Language field. 
     1193</pre><p id="rfc.section.5.4.p.5">would mean: "I prefer Danish, but will accept British English and other types of English." (see also <a href="http://tools.ietf.org/html/rfc4647#section-2.3">Section 2.3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.2"><cite title="Matching of Language Tags">[RFC4647]</cite></a>) 
     1194      </p> 
     1195      <p id="rfc.section.5.4.p.6">For matching, <a href="http://tools.ietf.org/html/rfc4647#section-3">Section 3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.3"><cite title="Matching of Language Tags">[RFC4647]</cite></a> defines several matching schemes. Implementations can offer the most appropriate matching scheme for their requirements. 
    12131196      </p> 
    12141197      <div class="note">  
    1215          <p> <b>Note:</b> This use of a prefix matching rule does not imply that language tags are assigned to languages in such a way that it is always 
    1216             true that if a user understands a language with a certain tag, then this user will also understand all languages with tags 
    1217             for which this tag is a prefix. The prefix rule simply allows the use of prefix tags if this is the case. 
     1198         <p> <b>Note:</b> the "Basic Filtering" scheme (<a href="#RFC4647" id="rfc.xref.RFC4647.4"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, <a href="http://tools.ietf.org/html/rfc4647#section-3.3.1">Section 3.3.1</a>) is identical to the matching scheme that was previously defined in <a href="http://tools.ietf.org/html/rfc2616#section-14.4">Section 14.4</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. 
    12181199         </p>  
    12191200      </div> 
    1220       <p id="rfc.section.5.4.p.10">The language quality factor assigned to a language-tag by the Accept-Language field is the quality value of the longest language-range 
    1221          in the field that matches the language-tag. If no language-range in the field matches the tag, the language quality factor 
    1222          assigned is 0. If no Accept-Language header is present in the request, the server <em class="bcp14">SHOULD</em> assume that all languages are equally acceptable. If an Accept-Language header is present, then all languages which are assigned 
    1223          a quality factor greater than 0 are acceptable. 
    1224       </p> 
    1225       <p id="rfc.section.5.4.p.11">It might be contrary to the privacy expectations of the user to send an Accept-Language header with the complete linguistic 
     1201      <p id="rfc.section.5.4.p.8">It might be contrary to the privacy expectations of the user to send an Accept-Language header with the complete linguistic 
    12261202         preferences of the user in every request. For a discussion of this issue, see <a href="#privacy.issues.connected.to.accept.headers" title="Privacy Issues Connected to Accept Headers">Section&nbsp;7.1</a>. 
    12271203      </p> 
    1228       <p id="rfc.section.5.4.p.12">As intelligibility is highly dependent on the individual user, it is recommended that client applications make the choice 
     1204      <p id="rfc.section.5.4.p.9">As intelligibility is highly dependent on the individual user, it is recommended that client applications make the choice 
    12291205         of linguistic preference available to the user. If the choice is not made available, then the Accept-Language header field <em class="bcp14">MUST NOT</em> be given in the request. 
    12301206      </p> 
     
    19251901      <h2 id="rfc.section.E.1"><a href="#rfc.section.E.1">E.1</a>&nbsp;Since RFC2616 
    19261902      </h2> 
    1927       <p id="rfc.section.E.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. 
     1903      <p id="rfc.section.E.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. 
    19281904      </p> 
    19291905      <h2 id="rfc.section.E.2"><a href="#rfc.section.E.2">E.2</a>&nbsp;Since draft-ietf-httpbis-p3-payload-00 
     
    20512027      </ul> 
    20522028      <h2 id="rfc.section.E.10"><a href="#rfc.section.E.10">E.10</a>&nbsp;<a id="changes.since.08" href="#changes.since.08">Since draft-ietf-httpbis-p3-payload-08</a></h2> 
    2053       <p id="rfc.section.E.10.p.1">None yet.</p> 
     2029      <p id="rfc.section.E.10.p.1">Closed issues: </p> 
     2030      <ul> 
     2031         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/181">http://tools.ietf.org/wg/httpbis/trac/ticket/181</a>&gt;: "Accept-Language: which RFC4647 filtering?" 
     2032         </li> 
     2033      </ul> 
    20542034      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1> 
    20552035      <p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.U">U</a> <a href="#rfc.index.V">V</a>  
     
    22582238                  <li class="indline1"><em>RFC2388</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2388.1">2.3.2</a>, <a class="iref" href="#RFC2388"><b>9.2</b></a></li> 
    22592239                  <li class="indline1"><em>RFC2557</em>&nbsp;&nbsp;<a class="iref" href="#RFC2557"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2557.1">A.7</a>, <a class="iref" href="#rfc.xref.RFC2557.2">C.1</a></li> 
    2260                   <li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#RFC2616"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2616.2">E.1</a></li> 
     2240                  <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">5.4</a>, <a class="iref" href="#RFC2616"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2616.3">E.1</a><ul class="ind"> 
     2241                        <li class="indline1"><em>Section 14.4</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">5.4</a></li> 
     2242                     </ul> 
     2243                  </li> 
    22612244                  <li class="indline1"><em>RFC3629</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3629.1">2.1</a>, <a class="iref" href="#RFC3629"><b>9.2</b></a></li> 
    22622245                  <li class="indline1"><em>RFC3864</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3864.1">6.1</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li> 
    22632246                  <li class="indline1"><em>RFC4288</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4288.1">2.3</a>, <a class="iref" href="#RFC4288"><b>9.2</b></a></li> 
    2264                   <li class="indline1"><em>RFC4647</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4647.1">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a>, <a class="iref" href="#RFC4647"><b>9.1</b></a><ul class="ind"> 
     2247                  <li class="indline1"><em>RFC4647</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4647.1">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.3">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.4">5.4</a>, <a class="iref" href="#RFC4647"><b>9.1</b></a><ul class="ind"> 
    22652248                        <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4647.1">5.4</a></li> 
    2266                         <li class="indline1"><em>Section 3.3.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4647.2">5.4</a></li> 
     2249                        <li class="indline1"><em>Section 2.3</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4647.2">5.4</a></li> 
     2250                        <li class="indline1"><em>Section 3</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4647.3">5.4</a></li> 
     2251                        <li class="indline1"><em>Section 3.3.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC4647.4">5.4</a></li> 
    22672252                     </ul> 
    22682253                  </li> 
  • draft-ietf-httpbis/latest/p3-payload.xml

    r723 r724  
    12691269   would mean: "I prefer Danish, but will accept British English and 
    12701270   other types of English." 
    1271 </t> 
    1272 <t> 
    1273    For matching, the "Basic Filtering" matching scheme, defined in 
    1274    <xref target="RFC4647" x:sec="3.3.1" x:fmt="of"/>, is used: 
    1275 </t> 
    1276 <x:blockquote cite="http://tools.ietf.org/html/rfc4647#section-3.3.1"> 
    1277   <t> 
    1278      A language range matches a 
    1279      particular language tag if, in a case-insensitive comparison, it 
    1280      exactly equals the tag, or if it exactly equals a prefix of the tag 
    1281      such that the first character following the prefix is "-". 
    1282   </t> 
    1283 </x:blockquote>  
    1284 <t> 
    1285    The special range "*", if present in the Accept-Language field, 
    1286    matches every tag not matched by any other range present in the 
    1287    Accept-Language field. 
     1271   (see also <xref target="RFC4647" x:sec="2.3" x:fmt="of"/>) 
     1272</t> 
     1273<t> 
     1274   For matching, <xref target="RFC4647" x:sec="3" x:fmt="of"/> defines  
     1275   several matching schemes. Implementations can offer the most appropriate 
     1276   matching scheme for their requirements.  
    12881277</t> 
    12891278<x:note> 
    12901279  <t> 
    1291     <x:h>Note:</x:h> This use of a prefix matching rule does not imply that 
    1292     language tags are assigned to languages in such a way that it is 
    1293     always true that if a user understands a language with a certain 
    1294     tag, then this user will also understand all languages with tags 
    1295     for which this tag is a prefix. The prefix rule simply allows the 
    1296     use of prefix tags if this is the case. 
     1280    <x:h>Note:</x:h> the "Basic Filtering" scheme (<xref target="RFC4647" 
     1281    x:fmt="," x:sec="3.3.1"/>) is identical to the matching scheme that was 
     1282    previously defined in <xref target="RFC2616" x:fmt="of" x:sec="14.4"/>. 
    12971283  </t> 
    12981284</x:note> 
    1299 <t> 
    1300    The language quality factor assigned to a language-tag by the 
    1301    Accept-Language field is the quality value of the longest language-range 
    1302    in the field that matches the language-tag. If no language-range 
    1303    in the field matches the tag, the language quality factor 
    1304    assigned is 0. If no Accept-Language header is present in the 
    1305    request, the server 
    1306    &SHOULD; assume that all languages are equally acceptable. If an 
    1307    Accept-Language header is present, then all languages which are 
    1308    assigned a quality factor greater than 0 are acceptable. 
    1309 </t> 
    13101285<t> 
    13111286   It might be contrary to the privacy expectations of the user to send 
     
    31123087<section title="Since draft-ietf-httpbis-p3-payload-08" anchor="changes.since.08"> 
    31133088<t> 
    3114   None yet. 
     3089  Closed issues: 
     3090  <list style="symbols">  
     3091    <t> 
     3092      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/181"/>: 
     3093      "Accept-Language: which RFC4647 filtering?" 
     3094    </t> 
     3095  </list> 
    31153096</t> 
    31163097</section> 
Note: See TracChangeset for help on using the changeset viewer.