Changeset 724 for draft-ietf-httpbis
- Timestamp:
- 10/11/09 13:44:53 (13 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p3-payload.html
r723 r724 22 22 font-style: normal; 23 23 } 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 }31 24 body { 32 25 color: black; … … 252 245 text-transform: lowercase; 253 246 font-variant: small-caps; 254 }255 blockquote > * .bcp14 {256 font-style: italic;257 247 } 258 248 .comment { … … 407 397 <meta name="DC.Creator" content="Reschke, J. F."> 408 398 <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"> 410 400 <meta name="DC.Relation.Replaces" content="urn:ietf:rfc:2616"> 411 401 <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 "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part 3 defines HTTP message content, metadata, and content negotiation."> … … 439 429 </tr> 440 430 <tr> 441 <td class="header left">Expires: May 8, 2010</td>431 <td class="header left">Expires: May 14, 2010</td> 442 432 <td class="header right">HP</td> 443 433 </tr> … … 492 482 <tr> 493 483 <td class="header left"></td> 494 <td class="header right">November 4, 2009</td>484 <td class="header right">November 10, 2009</td> 495 485 </tr> 496 486 </table> … … 521 511 <p>The list of Internet-Draft Shadow Directories can be accessed at <<a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>>. 522 512 </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> 524 514 <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1> 525 515 <p>Copyright © 2009 IETF Trust and the persons identified as the document authors. All rights reserved.</p> … … 1201 1191 </p> 1202 1192 <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. 1213 1196 </p> 1214 1197 <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>. 1218 1199 </p> 1219 1200 </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 1226 1202 preferences of the user in every request. For a discussion of this issue, see <a href="#privacy.issues.connected.to.accept.headers" title="Privacy Issues Connected to Accept Headers">Section 7.1</a>. 1227 1203 </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 choice1204 <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 1229 1205 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. 1230 1206 </p> … … 1925 1901 <h2 id="rfc.section.E.1"><a href="#rfc.section.E.1">E.1</a> Since RFC2616 1926 1902 </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>. 1928 1904 </p> 1929 1905 <h2 id="rfc.section.E.2"><a href="#rfc.section.E.2">E.2</a> Since draft-ietf-httpbis-p3-payload-00 … … 2051 2027 </ul> 2052 2028 <h2 id="rfc.section.E.10"><a href="#rfc.section.E.10">E.10</a> <a id="changes.since.08" href="#changes.since.08">Since draft-ietf-httpbis-p3-payload-08</a></h2> 2053 <p id="rfc.section.E.10.p.1">None yet.</p> 2029 <p id="rfc.section.E.10.p.1">Closed issues: </p> 2030 <ul> 2031 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/181">http://tools.ietf.org/wg/httpbis/trac/ticket/181</a>>: "Accept-Language: which RFC4647 filtering?" 2032 </li> 2033 </ul> 2054 2034 <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1> 2055 2035 <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> … … 2258 2238 <li class="indline1"><em>RFC2388</em> <a class="iref" href="#rfc.xref.RFC2388.1">2.3.2</a>, <a class="iref" href="#RFC2388"><b>9.2</b></a></li> 2259 2239 <li class="indline1"><em>RFC2557</em> <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> <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> <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> <a class="iref" href="#rfc.xref.RFC2616.2">5.4</a></li> 2242 </ul> 2243 </li> 2261 2244 <li class="indline1"><em>RFC3629</em> <a class="iref" href="#rfc.xref.RFC3629.1">2.1</a>, <a class="iref" href="#RFC3629"><b>9.2</b></a></li> 2262 2245 <li class="indline1"><em>RFC3864</em> <a class="iref" href="#rfc.xref.RFC3864.1">6.1</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li> 2263 2246 <li class="indline1"><em>RFC4288</em> <a class="iref" href="#rfc.xref.RFC4288.1">2.3</a>, <a class="iref" href="#RFC4288"><b>9.2</b></a></li> 2264 <li class="indline1"><em>RFC4647</em> <a class="iref" href="#rfc.xref.RFC4647.1">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a>, <a class="iref" href="# RFC4647"><b>9.1</b></a><ul class="ind">2247 <li class="indline1"><em>RFC4647</em> <a class="iref" href="#rfc.xref.RFC4647.1">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.3">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.4">5.4</a>, <a class="iref" href="#RFC4647"><b>9.1</b></a><ul class="ind"> 2265 2248 <li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC4647.1">5.4</a></li> 2266 <li class="indline1"><em>Section 3.3.1</em> <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a></li> 2249 <li class="indline1"><em>Section 2.3</em> <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a></li> 2250 <li class="indline1"><em>Section 3</em> <a class="iref" href="#rfc.xref.RFC4647.3">5.4</a></li> 2251 <li class="indline1"><em>Section 3.3.1</em> <a class="iref" href="#rfc.xref.RFC4647.4">5.4</a></li> 2267 2252 </ul> 2268 2253 </li> -
draft-ietf-httpbis/latest/p3-payload.xml
r723 r724 1269 1269 would mean: "I prefer Danish, but will accept British English and 1270 1270 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. 1288 1277 </t> 1289 1278 <x:note> 1290 1279 <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"/>. 1297 1283 </t> 1298 1284 </x:note> 1299 <t>1300 The language quality factor assigned to a language-tag by the1301 Accept-Language field is the quality value of the longest language-range1302 in the field that matches the language-tag. If no language-range1303 in the field matches the tag, the language quality factor1304 assigned is 0. If no Accept-Language header is present in the1305 request, the server1306 &SHOULD; assume that all languages are equally acceptable. If an1307 Accept-Language header is present, then all languages which are1308 assigned a quality factor greater than 0 are acceptable.1309 </t>1310 1285 <t> 1311 1286 It might be contrary to the privacy expectations of the user to send … … 3112 3087 <section title="Since draft-ietf-httpbis-p3-payload-08" anchor="changes.since.08"> 3113 3088 <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> 3115 3096 </t> 3116 3097 </section>
Note: See TracChangeset
for help on using the changeset viewer.