<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<?rfc toc="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc compact="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc subcompact="no"?>
<?rfc rfcedstyle="yes"?>
<?rfc-ext allow-markup-in-artwork="yes" ?>

<!DOCTYPE rfc [
  <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
  <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>">
  <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>">
  <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>">
  <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>">
  <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>">
  <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>">
  <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>">
  <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>">
  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
]>
<rfc xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:ed="http://greenbytes.de/2002/rfcedit" obsoletes="5987" ipr="trust200902" docName="draft-reschke-rfc5987bis-01" category="std" x:maturity-level="draft" xml:lang="en">
	<front>
  <title abbrev="Charset/Language Encoding in HTTP"><ed:replace ed:resolves="title" datetime="2011-09-07"><ed:del>Character Set and Language Encoding for
  Hypertext&#160;Transfer&#160;Protocol&#160;(HTTP) Header Field Parameters</ed:del><ed:ins>Indicating Character Encoding and Language for HTTP Header Field Parameters</ed:ins></ed:replace></title>
  <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
    <organization abbrev="greenbytes">greenbytes GmbH</organization>
    <address>
      <postal>
        <street>Hafenweg 16</street>
        <city>Muenster</city><region>NW</region><code>48155</code>
        <country>Germany</country>
      </postal>
      <email>julian.reschke@greenbytes.de</email>	
      <uri>http://greenbytes.de/tech/webdav/</uri>	
    </address>
  </author>

  <date month="September" year="2011" day="8"/>
  
  <keyword>HTTP</keyword>
  <keyword>header field parameter</keyword>
  <keyword>internationalization</keyword>

  <abstract>
    <t>
      By default, message header field parameters in Hypertext Transfer Protocol (HTTP) messages
      cannot carry characters outside the ISO-8859-1 character set. RFC 2231
      defines an encoding mechanism for use in Multipurpose Internet Mail Extensions
      (MIME) headers. This document specifies an encoding suitable for use in HTTP header fields that is compatible with a profile of the encoding defined in RFC 2231.
    </t>
  </abstract>
  

  <note title="Editorial Note (To be removed by RFC Editor before publication)">
    <t>
      Distribution of this document is unlimited. Although this is not a work
      item of the HTTPbis Working Group, comments should be sent to the 
      Hypertext Transfer Protocol (HTTP) mailing list at <eref target="mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</eref>,
      which may be joined by sending a message with subject 
      "subscribe" to <eref target="mailto:ietf-http-wg-request@w3.org?subject=subscribe">ietf-http-wg-request@w3.org</eref>.
    </t>
    <t>
      Discussions of the HTTPbis Working Group are archived at
      <eref target="http://lists.w3.org/Archives/Public/ietf-http-wg/"/>.               
    </t> 
    <t>
      XML versions, latest edits and the issues list for this document
      are available from <eref target="http://greenbytes.de/tech/webdav/#draft-reschke-rfc5987bis"/>.
      A collection of test cases is available at <eref target="http://greenbytes.de/tech/tc2231/"/>.
    </t>
  </note>


  </front>

  <middle>

<ed:issue xmlns="http://www.w3.org/1999/xhtml" name="edit" type="edit" status="open">
  <ed:item entered-by="julian.reschke@greenbytes.de" date="2011-04-15">
    Umbrella issue for editorial fixes/enhancements.
  </ed:item>
</ed:issue>

<ed:issue xmlns="http://www.w3.org/1999/xhtml" name="impls" type="change" status="open">
  <ed:item entered-by="julian.reschke@greenbytes.de" date="2011-04-15">
    Add implementation report.
  </ed:item>
</ed:issue>
<ed:issue xmlns="http://www.w3.org/1999/xhtml" name="iso-8859-1" type="change" status="closed">
  <ed:item entered-by="julian.reschke@greenbytes.de" date="2011-04-15">
    Remove requirement to support ISO-8859-1? It doesn't really help, and it is
    not implemented in IE9.
  </ed:item>
  <ed:resolution datetime="2011-09-07">
    Removed requirement; adjusted examples; explain that RFC 5987 required this
    so recipients may want to support it anyway.
  </ed:resolution>
</ed:issue>
<ed:issue xmlns="http://www.w3.org/1999/xhtml" name="title" type="edit" status="closed">
  <ed:item entered-by="duerst@it.aoyama.ac.jp" date="2011-04-17">
    Proposed title: "Indicating Character Encoding and Language for HTTP Header Field Parameters"
  </ed:item>
  <ed:resolution datetime="2011-09-07">
    Done.
  </ed:resolution>
</ed:issue>

<section title="Introduction" anchor="introduction">
<t>
  By default, message header field parameters in HTTP (<xref target="RFC2616"/>) messages
  cannot carry characters outside the ISO-8859-1 character set (<xref target="ISO-8859-1"/>). RFC 2231
  (<xref target="RFC2231"/>) defines an encoding mechanism for use in MIME headers.
  This document specifies an encoding suitable for use in HTTP header fields that is compatible with a profile of the encoding defined in RFC 2231.
</t>
<ed:issue xmlns="http://www.w3.org/1999/xhtml" name="historic5987" type="change" status="closed">
  <ed:item entered-by="julian.reschke@greenbytes.de" date="2011-09-08">
    Point out that RFC 5987 should be moved to "historic".
  </ed:item>
  <ed:resolution datetime="2011-09-08">
    Done.
  </ed:resolution>
</ed:issue>
<t>
  This document obsoletes <xref target="RFC5987"/><ed:replace ed:resolves="historic5987" datetime="2011-09-08"><ed:ins> and
  moves it to "historic" status</ed:ins></ed:replace>; the changes are summarized
  in <xref target="changes.from.rfc5987"/>.
</t>
<x:note>
  <t>
    <x:h>Note:</x:h> in the remainder of this document, RFC 2231 is only referenced
    for the purpose of explaining the choice of features that were adopted; they
    are therefore purely informative.
  </t>
</x:note>
<x:note>
  <t>
    <x:h>Note:</x:h> this encoding does not apply to message payloads
    transmitted over HTTP, such as when using the media type "multipart/form-data"
    (<xref target="RFC2388"/>).
  </t>
</x:note>
</section>  

<section title="Notational Conventions">
<t>
  The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document
  are to be interpreted as described in <xref target="RFC2119"/>.
</t>
<t>
  This specification uses the ABNF (Augmented Backus-Naur Form) notation defined in
  <xref target="RFC5234"/>. The following core rules are included by
  reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
  ALPHA (letters), DIGIT (decimal 0-9), HEXDIG (hexadecimal 0-9/A-F/a-f), and
  LWSP (linear whitespace).
</t>
<t>
  Note that this specification uses the term "character set" for consistency
  with other IETF specifications such as RFC 2277 (see <xref target="RFC2277" x:fmt="," x:sec="3"/>). A more accurate term would be "character
  encoding" (a mapping of code points to octet sequences).
</t>
</section>  

<section title="Comparison to RFC 2231 and Definition of the Encoding">
<t>
  RFC 2231 defines several extensions to MIME. The sections below discuss
  if and how they apply to HTTP header fields.
</t>
<t>
  In short:
  <list style="symbols">
    <t>Parameter Continuations aren't needed (<xref target="parameter.continuations"/>),</t>
    <t>Character Set and Language Information are useful, therefore a simple subset
    is specified (<xref target="character.set.and.language.information"/>), and</t>
    <t>Language Specifications in Encoded Words aren't needed (<xref target="language.specification.in.encoded.words"/>).</t>
  </list>
</t>

<section title="Parameter Continuations" anchor="parameter.continuations">
<t>
  <xref target="RFC2231" x:fmt="of" x:sec="3"/> defines a mechanism that
  deals with the length limitations that apply to MIME headers. These
  limitations do not apply to HTTP (<xref target="RFC2616" x:fmt="," x:sec="19.4.7"/>). 
</t>
<t>
  Thus, parameter continuations are not part of the 
  encoding defined by this specification.
</t>
</section>

<section title="Parameter Value Character Set and Language Information" anchor="character.set.and.language.information">
<t>
  <xref target="RFC2231" x:fmt="of" x:sec="4"/> specifies how to embed
  language information into parameter values, and also how to encode
  non-ASCII characters, dealing with restrictions both in MIME and HTTP
  header parameters.
</t>
<t>
  However, RFC 2231 does not specify a mandatory-to-implement character set,
  making it hard for senders to decide which character set to use.
  Thus, recipients implementing this specification &MUST; support the
  <ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:del>character sets "ISO-8859-1" <xref target="ISO-8859-1"/> and "UTF-8"
  <xref target="RFC3629"/></ed:del><ed:ins>"UTF-8" character set <xref target="RFC3629"/></ed:ins></ed:replace>.
</t>
<t>
  Furthermore, RFC 2231 allows the character set information to be left out.
  The encoding defined by this specification does not allow that.
</t>

<section title="Definition">
<t>
  The syntax for parameters is defined in <xref target="RFC2616" x:fmt="of" x:sec="3.6"/>
  (with RFC 2616 implied LWS translated to RFC 5234 LWSP):
</t>
<figure><artwork type="inline">
  parameter     = attribute LWSP "=" LWSP value
</artwork></figure>
<figure><artwork type="abnf">  attribute     = token
  value         = token / quoted-string

  quoted-string = &lt;quoted-string, defined in <xref target="RFC2616" x:fmt="," x:sec="2.2"/>&gt;
  token         = &lt;token, defined in <xref target="RFC2616" x:fmt="," x:sec="2.2"/>&gt;
</artwork></figure>
<t anchor="bnf">
  <x:anchor-alias value="ext-value"/>
  In order to include character set and language information, this
  specification modifies the RFC 2616 grammar to be:
</t>
<figure><artwork type="abnf">
  parameter     = reg-parameter / ext-parameter

  reg-parameter = parmname LWSP "=" LWSP value

  ext-parameter = parmname "*" LWSP "=" LWSP ext-value

  parmname      = 1*attr-char

  ext-value     = charset  "'" [ language ] "'" value-chars
                ; like RFC 2231's &lt;extended-initial-value&gt;
                ; (see <xref target="RFC2231" x:fmt="," x:sec="7"/>)

  charset       = "UTF-8" / <ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:del>"ISO-8859-1" / </ed:del></ed:replace>mime-charset

  mime-charset  = 1*mime-charsetc
  mime-charsetc = ALPHA / DIGIT
                / "!" / "#" / "$" / "%" / "&amp;"
                / "+" / "-" / "^" / "_" / "`"
                / "{" / "}" / "~"
                ; as &lt;mime-charset&gt; in <xref target="RFC2978" x:fmt="of" x:sec="2.3"/>
                ; except that the single quote is not included
                ; &SHOULD; be registered in the IANA charset registry

  language      = &lt;Language-Tag, defined in <xref target="RFC5646" x:fmt="," x:sec="2.1"/>&gt;

  value-chars   = *( pct-encoded / attr-char )

  pct-encoded   = "%" HEXDIG HEXDIG
                ; see <xref target="RFC3986" x:fmt="," x:sec="2.1"/>

  attr-char     = ALPHA / DIGIT
                / "!" / "#" / "$" / "&amp;" / "+" / "-" / "."
                / "^" / "_" / "`" / "|" / "~"
                ; token except ( "*" / "'" / "%" )
</artwork></figure>
<t>
  Thus, a parameter is either a regular parameter (reg-parameter), as previously
  defined in <xref target="RFC2616" x:fmt="of" x:sec="3.6"/>, or an extended
  parameter (ext-parameter).
</t>
<t>
  Extended parameters are those where the left-hand side of the assignment
  ends with an asterisk character.
</t>
<t>
  The value part of an extended parameter (ext-value) is a token that consists
  of three parts: the &REQUIRED; character set name (charset), the &OPTIONAL;
  language information (language), and a character sequence representing the
  actual value (value-chars), separated by single quote
  characters. Note that both character set names and
  language tags are restricted to the US-ASCII character set, and are matched
  case-insensitively (see <xref target="RFC2978" x:fmt="," x:sec="2.3"/> and
  <xref target="RFC5646" x:fmt="," x:sec="2.1.1"/>).
</t>
<t>
  Inside the value part, characters not contained in attr-char are
  encoded into an octet sequence using the specified character set. That octet
  sequence is then percent-encoded as specified in <xref target="RFC3986" x:fmt="of" x:sec="2.1"/>.
</t>
<t>
  Producers &MUST; use <ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:del>either </ed:del></ed:replace>the "UTF-8" (<xref target="RFC3629"/>) <ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:del>or the
  "ISO-8859-1" (<xref target="ISO-8859-1"/>)</ed:del></ed:replace> character set. 
  Extension character sets (mime-charset) are reserved for future use.
</t>
<x:note>
  <t>
    <x:h>Note:</x:h> recipients should be prepared to handle encoding
    errors, such as malformed or incomplete percent escape sequences, or
    non-decodable octet sequences, in a robust manner. This specification
    does not mandate any specific behavior, for instance, the following
    strategies are all acceptable:
    <list style="symbols">
      <t>ignoring the parameter,</t>
      <t>stripping a non-decodable octet sequence,</t>
      <t>substituting a non-decodable octet sequence by a replacement
      character, such as the Unicode character U+FFFD (Replacement Character).</t>
    </list>
  </t>
</x:note>
<x:note>
  <t>
    <x:h>Note:</x:h> the RFC 2616 token production (<xref target="RFC2616" x:fmt="," x:sec="2.2"/>)
    differs from the production used in RFC 2231 (imported from <xref target="RFC2045" x:fmt="of" x:sec="5.1"/>)
    in that curly braces ("{" and "}") are excluded. Thus, these two
    characters are excluded from the attr-char production as well.     
  </t>
</x:note>
<x:note>
  <t>
    <x:h>Note: </x:h> the &lt;mime-charset&gt; ABNF defined here differs from
    the one in <xref target="RFC2978" x:fmt="of" x:sec="2.3"/> in that it does
    not allow the single quote character (see also RFC Errata ID 1912 <xref target="Err1912"/>). In practice, no character set names
    using that character have been registered at the time of this writing.
  </t>
</x:note>
<ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:ins>
<x:note>
  <t>
    <x:h>Note: </x:h> <xref target="RFC5987"/> did require support for ISO-8859-1,
    too; for compatibility with legacy code, recipients are encouraged to
    support this encoding as well.
  </t>
</x:note>
</ed:ins></ed:replace>
</section>


<section title="Examples" anchor="examples">
<figure>
<preamble>
  Non-extended notation, using "token":
</preamble>
<artwork type="example">
  foo: bar; title=Economy
</artwork></figure>
<figure>
<preamble>
  Non-extended notation, using "quoted-string":
</preamble>
<artwork type="example">
  foo: bar; title="US-$ rates"
</artwork></figure>
<figure>
<preamble>
  Extended notation, using the Unicode character U+00A3 (POUND SIGN):
</preamble>
<artwork type="example">
  foo: bar; title*=<ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:del>iso-8859-1'en'<x:highlight>%A3</x:highlight>%20rates</ed:del><ed:ins>utf-8'en'<x:highlight>%C2%A3</x:highlight>%20rates</ed:ins></ed:replace>
</artwork>
<postamble>
  Note: the Unicode pound sign character U+00A3 was encoded into the <ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:del>single octet A3 using the ISO-8859-1</ed:del><ed:ins>octet sequence C2 A3 using the UTF-8</ed:ins></ed:replace> character encoding, then percent-encoded. Also, note
  that the space character was encoded as %20, as it is not contained in
  attr-char.
</postamble>
</figure>
<figure>
<preamble>
  Extended notation, using the Unicode characters U+00A3 (POUND SIGN)
  and U+20AC (EURO SIGN):
</preamble>
<artwork type="example">
  foo: bar; title*=UTF-8''<x:highlight>%c2%a3</x:highlight>%20and%20<x:highlight>%e2%82%ac</x:highlight>%20rates
</artwork>
<postamble>
  Note: the Unicode pound sign character U+00A3 was encoded into the octet sequence C2 A3 using the UTF-8 character encoding, then percent-encoded. Likewise,
  the Unicode euro sign character U+20AC was encoded into the octet
  sequence E2 82 AC, then percent-encoded. Also note that HEXDIG allows
  both lowercase and uppercase characters, so recipients must understand
  both, and that the language information is optional, while the character
  set is not.
</postamble>
</figure>
</section>

</section>

<section title="Language Specification in Encoded Words" anchor="language.specification.in.encoded.words">
<t>
  <xref target="RFC2231" x:fmt="of" x:sec="5"/> extends the encoding
  defined in <xref target="RFC2047"/> to also support language specification
  in encoded words. Although the HTTP/1.1 specification does refer to RFC 2047
  (<xref target="RFC2616" x:fmt="," x:sec="2.2"/>),
  it's not clear to which header field exactly it applies, and whether it is
  implemented in practice (see <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/111"/>
  for details).
</t>
<t>
  Thus, this specification does not include this feature.
</t>
</section>

</section>

<section title="Guidelines for Usage in HTTP Header Field Definitions" anchor="usage.guidelines">
<t>
  Specifications of HTTP header fields that use the extensions defined
  in <xref target="character.set.and.language.information"/> ought to clearly
  state that. A simple way to achieve this is to normatively reference
  this specification, and to include the <x:ref>ext-value</x:ref>
  production into the ABNF for that header field.
</t>
<figure><preamble>For instance:</preamble>
<artwork type="example">
  foo-header  = "foo" LWSP ":" LWSP token ";" LWSP title-param
  title-param = "title" LWSP "=" LWSP value
              / "title*" LWSP "=" LWSP ext-value
  ext-value   = &lt;see RFC 5987, <xref target="character.set.and.language.information"/>&gt;
</artwork></figure>

<x:note>
  <t>
    <x:h>Note:</x:h> The Parameter Value Continuation feature defined in
    <xref target="RFC2231" x:fmt="of" x:sec="3"/> makes it impossible to
    have multiple instances of extended parameters with identical parmname components,
    as the processing of continuations would become ambiguous. Thus, specifications
    using this extension are advised to disallow this case for compatibility
    with RFC 2231.
  </t>
</x:note>

<section title="When to Use the Extension" anchor="when.to.use.the.extension">
<t>
  <xref target="RFC2277" x:fmt="of" x:sec="4.2"/> requires that protocol
  elements containing human-readable text are able to carry language information. Thus, the <x:ref>ext-value</x:ref>
  production ought to be always used when the parameter value is of textual
  nature and its language is known.
</t>
<t>
  Furthermore, the extension ought to also be used whenever the parameter value
  needs to carry characters not present in the US-ASCII (<xref target="USASCII"/>)
  character set (note that it would be unacceptable to define a new parameter that
  would be restricted to a subset of the Unicode character set).
</t>
</section>

<section title="Error Handling">
<t>
  Header field specifications need to define whether multiple
  instances of parameters with identical parmname components are allowed, and
  how they should be processed. This specification suggests that a parameter using the
  extended syntax takes precedence. This would allow producers to use both
  formats without breaking recipients that do not understand the extended syntax
  yet.
</t>
<figure><preamble>Example:</preamble>
<artwork type="example">
  foo: bar; title="EURO exchange rates";
            title*=utf-8''<x:highlight>%e2%82%ac</x:highlight>%20exchange%20rates
</artwork>
<postamble>In this case, the sender provides an ASCII version of the title
  for legacy recipients, but also includes an internationalized version for
  recipients understanding this specification -- the latter obviously 
  ought to prefer the new syntax over the old one.</postamble>
</figure>
<x:note>
  <t>
    <x:h>Note:</x:h> at the time of this writing, many implementations failed
    to ignore the form they do not understand, or prioritize the ASCII form
    although the extended syntax was present.
  </t>
</x:note>

</section>

</section>

<section title="Security Considerations" anchor="security.considerations">


<t>
  The format described in this document makes it possible to transport
  non-ASCII characters, and thus enables character "spoofing" scenarios,
  in which a displayed value appears to be something other than it is.
</t>
<t>
  Furthermore, there are known attack scenarios relating to decoding UTF-8.
</t>
<t>
  See <xref target="RFC3629" x:fmt="of" x:sec="10"/> for more information on
  both topics.
</t>

<t>
  In addition, the extension specified in this document makes it possible
  to transport multiple language variants for a single parameter, and such use might allow spoofing attacks, where
  different language versions of the same parameter are not equivalent.
  Whether this attack is useful as an attack depends on the parameter
  specified.
</t>
</section>  


<section title="Acknowledgements">
<t>
  Thanks to Martin Duerst and Frank Ellermann for help figuring out ABNF details,
  to Graham Klyne and Alexey Melnikov for general review, to
  Chris Newman for pointing out an RFC 2231 incompatibility, and to
  Benjamin Carlyle<ed:replace ed:resolves="edit"><ed:del> and Roar Lauritzsen</ed:del><ed:ins>, Roar Lauritzsen, and Eric Lawrence</ed:ins></ed:replace> for implementer's feedback.
</t>
</section>  
  </middle>
  <back>
  
<references title="Normative References">
  
  <reference anchor="RFC2119">
    <front>
      <title abbrev="RFC Key Words">Key words for use in RFCs to Indicate Requirement Levels</title>
      <author initials="S." surname="Bradner" fullname="Scott Bradner">
        <organization>Harvard University</organization>
        <address><email>sob@harvard.edu</email></address>
      </author>
      <date month="March" year="1997"/>
    </front>
    <seriesInfo name="BCP" value="14"/>
    <seriesInfo name="RFC" value="2119"/>
  </reference>

  <reference anchor="RFC2616">
    <front>
      <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
      <author initials="R." surname="Fielding" fullname="R. Fielding">
        <organization>University of California, Irvine</organization>
        <address><email>fielding@ics.uci.edu</email></address>
      </author>
      <author initials="J." surname="Gettys" fullname="J. Gettys">
        <organization>W3C</organization>
        <address><email>jg@w3.org</email></address>
      </author>
      <author initials="J." surname="Mogul" fullname="J. Mogul">
        <organization>Compaq Computer Corporation</organization>
        <address><email>mogul@wrl.dec.com</email></address>
      </author>
      <author initials="H." surname="Frystyk" fullname="H. Frystyk">
        <organization>MIT Laboratory for Computer Science</organization>
        <address><email>frystyk@w3.org</email></address>
      </author>
      <author initials="L." surname="Masinter" fullname="L. Masinter">
        <organization>Xerox Corporation</organization>
        <address><email>masinter@parc.xerox.com</email></address>
      </author>
      <author initials="P." surname="Leach" fullname="P. Leach">
        <organization>Microsoft Corporation</organization>
        <address><email>paulle@microsoft.com</email></address>
      </author>
      <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
        <organization>W3C</organization>
        <address><email>timbl@w3.org</email></address>
      </author>
      <date month="June" year="1999"/>
    </front>
    <seriesInfo name="RFC" value="2616"/>
  </reference>
  
<reference anchor="RFC2978">
    <front>
      <title>IANA Charset Registration Procedures</title>
      <author initials="N." surname="Freed" fullname="N. Freed"/>
      <author initials="J." surname="Postel" fullname="J. Postel"/>
      <date year="2000" month="October"/>
    </front>
    <seriesInfo name="BCP" value="19"/>
    <seriesInfo name="RFC" value="2978"/>
  </reference>

  <reference anchor="RFC3629">
    <front>
      <title>UTF-8, a transformation format of ISO 10646</title>
      <author initials="F." surname="Yergeau" fullname="F. Yergeau">
        <organization>Alis Technologies</organization>
        <address><email>fyergeau@alis.com</email></address>
      </author>
      <date month="November" year="2003"/>
    </front>
    <seriesInfo name="STD" value="63"/>
    <seriesInfo name="RFC" value="3629"/>
  </reference>
  
  <reference anchor="RFC3986">
   <front>
    <title abbrev="URI Generic Syntax">Uniform Resource Identifier (URI): Generic Syntax</title>
    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
      <address>
         <email>timbl@w3.org</email>
         <uri>http://www.w3.org/People/Berners-Lee/</uri>
      </address>
    </author>
    <author initials="R." surname="Fielding" fullname="Roy T. Fielding">
      <organization abbrev="Day Software">Day Software</organization>
      <address>
        <email>fielding@gbiv.com</email>
        <uri>http://roy.gbiv.com/</uri>
      </address>
    </author>
    <author initials="L." surname="Masinter" fullname="Larry Masinter">
      <organization abbrev="Adobe Systems">Adobe Systems Incorporated</organization>
      <address>
        <email>LMM@acm.org</email>
        <uri>http://larry.masinter.net/</uri>
      </address>
    </author>
    <date month="January" year="2005"/>
   </front>
   <seriesInfo name="STD" value="66"/>
   <seriesInfo name="RFC" value="3986"/>
  </reference>

  <reference anchor="RFC5646">
    <front>
      <title>Tags for Identifying Languages</title>
      <author initials="A." surname="Phillips" fullname="Addison Phillips" role="editor">
        <organization>Lab126</organization>
        <address><email>addison@inter-locale.com</email></address>
      </author>
      <author initials="M." surname="Davis" fullname="Mark Davis" role="editor">
        <organization>Google</organization>
        <address><email>mark.davis@google.com</email></address>
      </author>
      <date month="September" year="2009"/>
    </front>
    <seriesInfo name="BCP" value="47"/>
    <seriesInfo name="RFC" value="5646"/>
  </reference>

  <reference anchor="RFC5234">
    <front>
      <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
      <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
        <organization>Brandenburg InternetWorking</organization>
        <address>
          <phone>+1.408.246.8253</phone>
          <email>dcrocker@bbiw.net</email>
        </address>  
      </author>
      <author initials="P." surname="Overell" fullname="Paul Overell">
        <organization>THUS plc.</organization>
        <address>
          <email>paul.overell@thus.net</email>
        </address>
      </author>
      <date month="January" year="2008"/>
    </front>
    <seriesInfo name="STD" value="68"/>
    <seriesInfo name="RFC" value="5234"/>
  </reference>
<ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:del>
  <reference anchor="deleted-ISO-8859-1">
    <front>
      <title>Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1</title>
      <author>
        <organization>International Organization for Standardization</organization>
      </author>
      <date year="1998"/>
    </front>
    <seriesInfo name="ISO/IEC" value="8859-1:1998"/>
  </reference></ed:del></ed:replace>

  <reference anchor="USASCII">
    <front>
      <title>Coded Character Set -- 7-bit American Standard Code for Information Interchange</title>
      <author>
        <organization>American National Standards Institute</organization>
      </author>
      <date year="1986"/>
    </front>
    <seriesInfo name="ANSI" value="X3.4"/>
  </reference>

</references>
  
<references title="Informative References">

  <reference anchor="Err1912" target="http://www.rfc-editor.org">
    <front>
      <title x:quotes="false">Errata ID 1912, RFC 2978</title>
      <author>
        <organization>RFC Errata</organization>
      </author>
      <date year=""/>
    </front>
  </reference>

<ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:ins>
  <reference anchor="ISO-8859-1">
    <front>
      <title>Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1</title>
      <author>
        <organization>International Organization for Standardization</organization>
      </author>
      <date year="1998"/>
    </front>
    <seriesInfo name="ISO/IEC" value="8859-1:1998"/>
  </reference></ed:ins></ed:replace>

  <reference anchor="RFC2045">
    <front>
      <title abbrev="Internet Message Bodies">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</title>
      <author initials="N." surname="Freed" fullname="Ned Freed">
        <organization>Innosoft International, Inc.</organization>
        <address><email>ned@innosoft.com</email></address>
      </author>
      <author initials="N.S." surname="Borenstein" fullname="Nathaniel S. Borenstein">
        <organization>First Virtual Holdings</organization>
        <address><email>nsb@nsb.fv.com</email></address>
      </author>
      <date month="November" year="1996"/>
    </front>
    <seriesInfo name="RFC" value="2045"/>
  </reference>

  <reference anchor="RFC2047">
    <front>
      <title abbrev="Message Header Extensions">MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text</title>
      <author initials="K." surname="Moore" fullname="Keith Moore">
        <organization>University of Tennessee</organization>
        <address><email>moore@cs.utk.edu</email></address>
      </author>
      <date month="November" year="1996"/>
    </front>
    <seriesInfo name="RFC" value="2047"/>
  </reference>

  <reference anchor="RFC2231">
    <front>
      <title abbrev="MIME Value and Encoded Word Extensions">MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations</title>
      <author initials="N." surname="Freed" fullname="Ned Freed">
        <organization abbrev="Innosoft">Innosoft International, Inc.</organization>
        <address><email>ned.freed@innosoft.com</email></address>
      </author>
      <author initials="K." surname="Moore" fullname="Keith Moore">
        <organization>University of Tennessee</organization>
        <address><email>moore@cs.utk.edu</email></address>
      </author>
      <date year="1997" month="November"/>
    </front>
    <seriesInfo name="RFC" value="2231"/>
  </reference>

  <reference anchor="RFC2277">
    <front>
      <title abbrev="Charset Policy">IETF Policy on Character Sets and Languages</title>
      <author initials="H.T." surname="Alvestrand" fullname="Harald Tveit Alvestrand">
        <organization>UNINETT</organization>
        <address><email>Harald.T.Alvestrand@uninett.no</email></address>
      </author>
      <date year="1998" month="January"/>
    </front>
    <seriesInfo name="BCP" value="18"/>
    <seriesInfo name="RFC" value="2277"/>
  </reference>

  <reference anchor="RFC2388">
    <front>
      <title abbrev="multipart/form-data">Returning Values from Forms: multipart/form-data</title>
      <author initials="L." surname="Masinter" fullname="Larry Masinter">
        <organization>Xerox Palo Alto Research Center</organization>
        <address>
          <email>masinter@parc.xerox.com</email>
        </address>
      </author>
      <date year="1998" month="August"/>
    </front>
    <seriesInfo name="RFC" value="2388"/>
  </reference>


  <reference anchor="RFC5987">
  	<front>
      <title>Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters</title>
      <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
        <organization abbrev="greenbytes">greenbytes GmbH</organization>
        <address>
          <postal>
            <street>Hafenweg 16</street>
            <city>Muenster</city><region>NW</region><code>48155</code>
            <country>Germany</country>
          </postal>
          <email>julian.reschke@greenbytes.de</email>	
          <uri>http://greenbytes.de/tech/webdav/</uri>	
        </address>
      </author>
      <date month="August" year="2010"/>
    </front>
    <seriesInfo name="RFC" value="5987"/>
  </reference>

  
</references>


<section title="Changes from RFC 5987" anchor="changes.from.rfc5987">
<t>
  This section summarizes the changes compared to <xref target="RFC5987"/>:
</t>
<t>
<ed:replace ed:resolves="edit" datetime="2011-09-07"><ed:del>
  <cref>None yet.</cref></ed:del>
  <ed:ins>
  <list style="symbols">
    <t>
      The document title was changed to "Indicating Character Encoding and Language for HTTP Header Field Parameters".
    </t>
<ed:replace ed:resolves="iso-8859-1" datetime="2011-09-07"><ed:ins>
    <t>
      The requirement to support the "ISO-8859-1" encoding was removed.
    </t>
</ed:ins></ed:replace>
  </list>
  </ed:ins></ed:replace>
</t>
</section>



<section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log">
<section title="Since RFC5987">
<t>
  Only editorial changes for the purpose of starting the revision process
  (obs5987).
</t>
</section>

<ed:replace ed:resolves="edit" datetime="2011-04-15"><ed:ins>
<section title="Since draft-reschke-rfc5987bis-00">
<t>
  Resolved issues "<ed:issueref>iso-8859-1</ed:issueref>" and "<ed:issueref>title</ed:issueref>" (title simplified).
  Added and resolved issue "<ed:issueref>historic5987</ed:issueref>".
</t>
</section>
</ed:ins></ed:replace>

</section>


  </back>

</rfc>