Ignore:
Timestamp:
Jul 29, 2013, 12:54:43 PM (6 years ago)
Author:
fielding@…
Message:

improve the description of language tags to be closer to what is defined by RFC5646; updates [2293] which addresses #456

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p2-semantics.html

    r2320 r2323  
    449449  }
    450450  @bottom-center {
    451        content: "Expires January 29, 2014";
     451       content: "Expires January 30, 2014";
    452452  }
    453453  @bottom-right {
     
    494494      <meta name="dct.creator" content="Reschke, J. F.">
    495495      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p2-semantics-latest">
    496       <meta name="dct.issued" scheme="ISO8601" content="2013-07-28">
     496      <meta name="dct.issued" scheme="ISO8601" content="2013-07-29">
    497497      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    498498      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. This document defines the semantics of HTTP/1.1 messages, as expressed by request methods, request header fields, response status codes, and response header fields, along with the payload of messages (metadata and body content) and mechanisms for content negotiation.">
     
    522522            <tr>
    523523               <td class="left">Intended status: Standards Track</td>
    524                <td class="right">July 28, 2013</td>
     524               <td class="right">July 29, 2013</td>
    525525            </tr>
    526526            <tr>
    527                <td class="left">Expires: January 29, 2014</td>
     527               <td class="left">Expires: January 30, 2014</td>
    528528               <td class="right"></td>
    529529            </tr>
     
    553553         in progress”.
    554554      </p>
    555       <p>This Internet-Draft will expire on January 29, 2014.</p>
     555      <p>This Internet-Draft will expire on January 30, 2014.</p>
    556556      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    557557      <p>Copyright © 2013 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    10261026      <h4 id="rfc.section.3.1.3.1"><a href="#rfc.section.3.1.3.1">3.1.3.1</a>&nbsp;<a id="language.tags" href="#language.tags">Language Tags</a></h4>
    10271027      <p id="rfc.section.3.1.3.1.p.1">A language tag, as defined in <a href="#RFC5646" id="rfc.xref.RFC5646.1"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a>, identifies a natural language spoken, written, or otherwise conveyed by human beings for communication of information to
    1028          other human beings. Computer languages are explicitly excluded. HTTP uses language tags within the <a href="#header.accept-language" class="smpl">Accept-Language</a> and <a href="#header.content-language" class="smpl">Content-Language</a> header fields.
    1029       </p>
    1030       <p id="rfc.section.3.1.3.1.p.2"><a href="#header.accept-language" class="smpl">Accept-Language</a> uses the looser language-range production defined in <a href="#header.accept-language" id="rfc.xref.header.accept-language.1" title="Accept-Language">Section&nbsp;5.3.5</a>, whereas <a href="#header.content-language" class="smpl">Content-Language</a> uses the stricter language-tag production defined below.
     1028         other human beings. Computer languages are explicitly excluded.
     1029      </p>
     1030      <p id="rfc.section.3.1.3.1.p.2">HTTP uses language tags within the <a href="#header.accept-language" class="smpl">Accept-Language</a> and <a href="#header.content-language" class="smpl">Content-Language</a> header fields. <a href="#header.accept-language" class="smpl">Accept-Language</a> uses the broader language-range production defined in <a href="#header.accept-language" id="rfc.xref.header.accept-language.1" title="Accept-Language">Section&nbsp;5.3.5</a>, whereas <a href="#header.content-language" class="smpl">Content-Language</a> uses the language-tag production defined below.
    10311031      </p>
    10321032      <div id="rfc.figure.u.10"></div><pre class="inline"><span id="rfc.iref.g.12"></span>  <a href="#language.tags" class="smpl">language-tag</a> = &lt;Language-Tag, defined in <a href="#RFC5646" id="rfc.xref.RFC5646.2"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a>, <a href="http://tools.ietf.org/html/rfc5646#section-2.1">Section 2.1</a>&gt;
    1033 </pre><p id="rfc.section.3.1.3.1.p.4">A language tag is composed of one or more parts: a primary language subtag followed by a possibly empty series of subtags.
    1034          White space is not allowed within the tag and all tags are case-insensitive. Example tags include:
    1035       </p>
    1036       <div id="rfc.figure.u.11"></div><pre class="text">  en, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN
     1033</pre><p id="rfc.section.3.1.3.1.p.4">A language tag is a sequence of one or more case-insensitive subtags, each separated by a hyphen character ("-", %x2D). In
     1034         most cases, a language tag consists of a primary language subtag that identifies a broad family of related languages (e.g.,
     1035         "en" = English) which is optionally followed by a series of subtags that refine or narrow that language's range (e.g., "en-CA"
     1036         = the variety of English as communicated in Canada). Whitespace is not allowed within a language tag. Example tags include:
     1037      </p>
     1038      <div id="rfc.figure.u.11"></div><pre class="text">  fr, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN
    10371039</pre><p id="rfc.section.3.1.3.1.p.6">See <a href="#RFC5646" id="rfc.xref.RFC5646.3"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a> for further information.
    10381040      </p>
Note: See TracChangeset for help on using the changeset viewer.