<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.2.3 -->

<!DOCTYPE rfc SYSTEM "../Tools/rfc2629xslt/rfc2629.dtd" [
]>

<?rfc toc="yes"?>
<?rfc tocindent="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>
<?rfc strict="yes"?>
<?rfc compact="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc rfcedstyle="yes"?>

<rfc ipr="pre5378Trust200902" docName="draft-nottingham-rfc5988bis-08" category="std" obsoletes="5988">

  <front>
    <title>Web Linking</title>

    <author initials="M." surname="Nottingham" fullname="Mark Nottingham">
      <organization></organization>
      <address>
        <email>mnot@mnot.net</email>
        <uri>https://www.mnot.net/</uri>
      </address>
    </author>

    <date year="2017"/>

    <area>General</area>
    
    <keyword>link relation</keyword>

    <abstract>


<t>This specification defines a model for the relationships between resources on the Web
(“links”) and the type of those relationships (“link relation types”).</t>

<t>It also defines the serialisation of such links in HTTP headers with the Link header field.</t>



    </abstract>


    <note title="Note to Readers">


<t><spanx style="emph">RFC EDITOR: please remove this section before publication</spanx></t>

<t>This is a work-in-progress to revise RFC5988.</t>

<t>The issues list can be found at <eref target="https://github.com/mnot/I-D/labels/rfc5988bis">https://github.com/mnot/I-D/labels/rfc5988bis</eref>.</t>

<t>The most recent (often, unpublished) draft is at <eref target="https://mnot.github.io/I-D/rfc5988bis/">https://mnot.github.io/I-D/rfc5988bis/</eref>.</t>

<t>Recent changes are listed at <eref target="https://github.com/mnot/I-D/commits/gh-pages/rfc5988bis">https://github.com/mnot/I-D/commits/gh-pages/rfc5988bis</eref>.</t>


    </note>


  </front>

  <middle>


<section anchor="introduction" title="Introduction">

<t>This specification defines a model for the relationships between resources on the Web
(“links”) and the type of those relationships (“link relation types”).</t>

<t>HTML <xref target="W3C.REC-html5-20141028"/> and Atom <xref target="RFC4287"/> both have well-defined concepts of linking;
<xref target="links"/> generalises this into a framework that encompasses linking in these formats and
(potentially) elsewhere.</t>

<t>Furthermore, <xref target="header"/> defines an HTTP header field for conveying such links.</t>

<section anchor="notational-conventions" title="Notational Conventions">

<t>The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”,
“RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/>,<xref target="RFC8174"/> when, and only when, they appear in all capitals, as
shown here.</t>

<t>This document uses the Augmented Backus-Naur Form (ABNF) notation of <xref target="RFC7230"/>, including the
 #rule, and explicitly includes the following rules from it: quoted-string, token, SP (space),
BWS (bad whitespace), OWS (optional whitespace), RWS (required whitespace) LOALPHA, DIGIT.</t>

<t>Additionally, the following rules are included from <xref target="RFC3986"/>: URI and URI-Reference; from
<xref target="RFC6838"/>: type-name and subtype-name; from <xref target="W3C.REC-css3-mediaqueries-20120619"/>:
media-query-list; and from <xref target="RFC5646"/>: Language-Tag.</t>

</section>
<section anchor="conformance-and-error-handling" title="Conformance and Error Handling">

<t>The requirements regarding conformance and error handling highlighted in <xref target="RFC7230"/>, Section 2.5
apply to this document.</t>

</section>
</section>
<section anchor="links" title="Links">

<t>In this specification, a link is a typed connection between two resources, and is comprised of:</t>

<t><list style="symbols">
  <t>A <spanx style="emph">link context</spanx>,</t>
  <t>a <spanx style="emph">link relation type</spanx> (<xref target="link-relation-types"/>),</t>
  <t>a <spanx style="emph">link target</spanx>, and</t>
  <t>optionally, <spanx style="emph">target attributes</spanx> (<xref target="attributes"/>).</t>
</list></t>

<t>A link can be viewed as a statement of the form “<spanx style="emph">link context</spanx> has a <spanx style="emph">link relation type</spanx> resource
at <spanx style="emph">link target</spanx>, which has <spanx style="emph">target attributes</spanx>”.</t>

<t>For example, <eref target="https://www.example.com/">https://www.example.com/</eref> has a “canonical” resource at <eref target="https://example.com">https://example.com</eref>, which
has a “type” of “text/html”.</t>

<t>Link contexts and link targets are both IRIs <xref target="RFC3987"/>. However, in the common case, the link
context will also be a URI <xref target="RFC3986"/>, because many protocols (such as HTTP) do not support
dereferencing IRIs. Likewise, the link target will be sometimes be converted to a URI (see
<xref target="RFC3987"/>, Section 3.1) in serialisations that do not support IRIs (such as the Link header field
defined in <xref target="header"/>).</t>

<t>This specification does not place restrictions on the cardinality of links; there can be multiple
links to and from a particular target, and multiple links of the same or different types between a
given context and target. Likewise, the relative ordering of links in any particular
serialisation, or between serialisations (e.g., the Link header field and in-content links) is not
specified or significant in this specification; applications that wish to consider ordering
significant can do so.</t>

<t>Links are conveyed in <spanx style="emph">link serialisations</spanx>; they are the “bytes on the wire”, and can occur in
various forms. For example, Atom <xref target="RFC4287"/> and HTML <xref target="W3C.REC-html5-20141028"/> both defined
serialisations of links into their respective formats, and <xref target="header"/> defines how to serialise
links in HTTP header fields.</t>

<t>This specification does not define a general syntax for links across different serialisations, nor
does it mandate a specific context for any given link; it is expected that serialisations of links
will specify both aspects.</t>

<t>Finally, links are used by <spanx style="emph">link applications</spanx>. Generally, an application will define the link
relation type(s) it uses, along with the serialisation(s) that they might occur within. For
example, the application “Web browsing” looks for the “stylesheet” link relation type in the HTML
link serialisation (and optionally in the Link header field), whereas the application “AtomPub”
uses the “edit” and “edit-media” link relations in the Atom serialisation.</t>

<section anchor="link-relation-types" title="Link Relation Types">

<t>In the simplest case, a link relation type identifies the semantics of a link. For example, a link
with the relation type “copyright” indicates that the current link context has a copyright resource
at the link target.</t>

<t>Link relation types can also be used to indicate that the target resource has particular
attributes, or exhibits particular behaviours; for example, a “service” link implies that the
link target can be used as part of a defined protocol (in this case, a service description).</t>

<t>Relation types are not to be confused with media types <xref target="RFC2046"/>; they do not identify the format
of the representation that results when the link is dereferenced. Rather, they only describe how
the current context is related to another resource.</t>

<t>Relation types SHOULD NOT infer any additional semantics based upon the presence or absence of
another link relation type, or its own cardinality of occurrence. An exception to this is the
combination of the “alternate” and “stylesheet” registered relation types, which has special
meaning in HTML for historical reasons.</t>

<t>There are two kinds of relation types: registered and extension.</t>

<section anchor="registered" title="Registered Relation Types">

<t>Well-defined relation types can be registered as tokens for convenience and/or to promote reuse by
other applications, using the procedure in <xref target="procedure"/>.</t>

<t>Registered relation type names MUST conform to the reg-rel-type rule (see <xref target="header-type"/>), and
MUST be compared character-by-character in a case-insensitive fashion. They SHOULD be appropriate
to the specificity of the relation type; i.e., if the semantics are highly specific to a particular
application, the name should reflect that, so that more general names are available for less
specific use.</t>

<t>Registered relation types MUST NOT constrain the media type of the link context, and MUST NOT
constrain the available representation media types of the link target. However, they can specify
the behaviours and properties of the target resource (e.g., allowable HTTP methods, request and
response media types that are required be supported).</t>

<t>Historically, registered relation types have been identified with a URI <xref target="RFC3986"/> by prefixing
their names with an application-defined base URI (e.g., see <xref target="atom"/>). This practice is NOT
RECOMMENDED, because the resulting strings will not be considered equivalent to the registered
relation types by other applications. Applications that do use such URIs internally MUST NOT use
them in link serialisations that do not explicitly accommodate them.</t>

<section anchor="procedure" title="Registering Link Relation Types">

<t>The link relations registry is located at <eref target="https://www.iana.org/assignments/link-relations/">https://www.iana.org/assignments/link-relations/</eref>.
Registration requests can be made by following the instructions located there, or by sending an
e-mail to the “link-relations@ietf.org” mailing list.</t>

<t>Registration requests consist of at least the following information:</t>

<t><list style="symbols">
  <t><spanx style="strong">Relation Name</spanx>: The name of the relation type</t>
  <t><spanx style="strong">Description</spanx>: A short English description of the type’s semantics. It SHOULD be stated in
terms of the relationship between the link context and link target.</t>
  <t><spanx style="strong">Reference</spanx>: Reference to the document that specifies the link relation type,
preferably including a URI that can be used to retrieve a copy of the document. An indication of
the relevant section(s) can also be included, but is not required.</t>
</list></t>

<t>The expert(s) can define additional fields to be collected in the registry.</t>

<t>General requirements for registered relation types are described in <xref target="registered"/>.</t>

<t>Registrations MUST reference a freely available, stable specification.</t>

<t>Note that relation types can be registered by third parties (including the expert(s)), if the
expert(s) determine that an unregistered relation type is widely deployed and not likely to be
registered in a timely manner otherwise. Such registrations still are subject to the requirements
defined, including the need to reference a specification.</t>

</section>
<section anchor="processing" title="Registration Request Processing">

<t>Relation types are registered using the Specification Required policy (see Section 4.6 of
<xref target="RFC8126"/>), which implies review and approval by a designated expert.</t>

<t>The goal of the registry is to reflect common use of links on the Internet. Therefore, the
expert(s) should be strongly biased towards approving registrations, unless they are abusive,
frivolous, not likely to be used on the Internet, or actively harmful to the Internet and/or the
Web (not merely aesthetically displeasing, or architecturally dubious). As stated in
<xref target="registered"/>, the expert(s) can withhold registration of names that are too general for the
proposed application.</t>

<t>The expert(s) will clearly identify any issues which cause a registration to be refused. Advice
about the semantics of a proposed link relation type can be given, but if it does not block
registration, this should be explicitly stated.</t>

<t>When a request is approved, the expert(s) will inform IANA, and the registration will be processed.
The IESG is the final arbiter of any objection.</t>

</section>
</section>
<section anchor="extension-relation-types" title="Extension Relation Types">

<t>Applications that don’t wish to register a relation type can use an extension relation type, which
is a URI <xref target="RFC3986"/> that uniquely identifies the relation type. Although the URI can point to a
resource that contains a definition of the semantics of the relation type, clients SHOULD NOT
automatically access that resource to avoid overburdening its server.</t>

<t>The URI used for an extension relation type SHOULD be under the control of the person or party
defining it, or be delegated to them.</t>

<t>When extension relation types are compared, they MUST be compared as strings (after converting to
URIs if serialised in a different format) in a case-insensitive fashion, character-by-character.
Because of this, all-lowercase URIs SHOULD be used for extension relations.</t>

<t>Note that while extension relation types are required to be URIs, a serialisation of links can
specify that they are expressed in another form, as long as they can be converted to URIs.</t>

</section>
</section>
<section anchor="attributes" title="Target Attributes">

<t><spanx style="emph">Target attributes</spanx> are a list of key/value pairs that describe the link or its target; for example,
a media type hint.</t>

<t>They can be defined both by individual link relation types and by link serialisations.</t>

<t>This specification does not attempt to coordinate the name of target attributes, their cardinality
or use. Those creating and maintaining serialisations SHOULD coordinate their target attributes to
avoid conflicts in semantics or syntax, and MAY define their own registries of target attributes.</t>

<t>The names of target attributes SHOULD conform to the token rule, but SHOULD NOT include any of the
characters “%”, “’” or “*”, for portability across serializations, and MUST be compared in a
case-insensitive fashion.</t>

<t>Target attribute definitions SHOULD specify:</t>

<t><list style="symbols">
  <t>The serialisation of their values into Unicode or a subset thereof, to maximise their chances of
portability across link serialisations.</t>
  <t>The semantics and error handling of multiple occurrences of the target attribute on a given link.</t>
</list></t>

<t>This specification does define target attributes for use in the Link HTTP header field in
<xref target="header-attrs"/>.</t>

</section>
</section>
<section anchor="header" title="Link Serialisation in HTTP Headers">

<t>The Link header field provides a means for serialising one or more links into HTTP headers.</t>

<t>The ABNF for the field value is:</t>

<figure><artwork type="abnf2616"><![CDATA[
  Link       = #link-value
  link-value = "<" URI-Reference ">" *( OWS ";" OWS link-param )
  link-param = token BWS [ "=" BWS ( token / quoted-string ) ]
]]></artwork></figure>

<t>Note that any <spanx style="verb">link-param</spanx> can be generated with values using either the <spanx style="verb">token</spanx> or the
<spanx style="verb">quoted-string</spanx> syntax, and therefore recipients MUST be able to parse both forms. In other words,
the following parameters are equivalent:</t>

<figure><artwork><![CDATA[
  x=y
  x="y"
]]></artwork></figure>

<t>Previous definitions of the Link header did not equate the token and quoted-string forms
explicitly; the “title” parameter was always quoted, and the “hreflang” parameter was always a
token. Senders wishing to maximize interoperability will send them in those forms.</t>

<t>Individual <spanx style="verb">link-param</spanx>s specify their syntax in terms of the value after any necessary unquoting
(as per <xref target="RFC7230"/>, Section 3.2.6).</t>

<t>This specification establishes the link-params “rel”, “anchor”, and “rev” (which are part of the
general link model), as well as “hreflang”, “media”, “title”, “title*”, and “type” (which are
target attributes defined by the serialization.</t>

<section anchor="link-target" title="Link Target">

<t>Each link-value conveys one target IRI as a URI-Reference (after conversion to one, if necessary;
see <xref target="RFC3987"/>, Section 3.1) inside angle brackets (“&lt;&gt;”). If the URI-Reference is relative,
parsers MUST resolve it as per <xref target="RFC3986"/>, Section 5. Note that any base IRI appearing in the
message’s content is not applied.</t>

</section>
<section anchor="header-context" title="Link Context">

<t>By default, the context of a link conveyed in the Link header field is the URL of the
representation it is associated with, as defined in <xref target="RFC7231"/>, Section 3.1.4.1, serialised as a
URI.</t>

<t>When present, the anchor parameter overrides this with another URI, such as a fragment of this
resource, or a third resource (i.e., when the anchor value is an absolute URI). If the anchor
parameter’s value is a relative URI, parsers MUST resolve it as per <xref target="RFC3986"/>, Section 5. Note
that any base URI from the body’s content is not applied.</t>

<t>The ABNF for the <spanx style="verb">anchor</spanx> parameter’s value is:</t>

<figure><artwork type="abnf2616"><![CDATA[
  URI-Reference ; Section 4.1 of {{RFC3986}}
]]></artwork></figure>

<t>Link application can choose to ignore links with an anchor parameter. For example, the
application in use might not allow the link context to be assigned to a different resource. In such
cases, the entire link is to be ignored; link applications MUST NOT process the link
without applying the anchor.</t>

<t>Note that depending on HTTP status code and response headers, the link context might be “anonymous”
(i.e., no link context is available). For example, this is the case on a 404 response to a GET
request.</t>

</section>
<section anchor="header-type" title="Relation Type">

<t>The relation type of a link conveyed in the Link header field is conveyed in the “rel” parameter’s
value. The “rel” parameter MUST be present but MUST NOT appear more than once in a given link-value;
occurrences after the first MUST be ignored by parsers.</t>

<t>The “rel” parameter can, however, contain multiple link relation types. When this occurs, it
establishes multiple links that share the same context, target, and target attributes.</t>

<t>The “rev” parameter has been used in the past to indicate that the semantics of the relationship
are in the reverse direction. That is, a link from A to B with REL=”X” expresses the same
relationship as a link from B to A with REV=”X”. “rev” is deprecated by this specification because
it often confuses authors and readers; in most cases, using a separate relation type is preferable.</t>

<t>The ABNF for the <spanx style="verb">rel</spanx> and <spanx style="verb">rev</spanx> parameters’ values is:</t>

<figure><artwork type="abnf2616"><![CDATA[
  relation-type *( 1*SP relation-type )
]]></artwork></figure>

<t>where:</t>

<figure><artwork type="abnf2616"><![CDATA[
  relation-type  = reg-rel-type / ext-rel-type
  reg-rel-type   = LOALPHA *( LOALPHA / DIGIT / "." / "-" )
  ext-rel-type   = URI ; Section 3 of {{RFC3986}}
]]></artwork></figure>

<t>Note that extension relation types are REQUIRED to be absolute URIs in Link header fields, and MUST
be quoted when they contain characters not allowed in tokens, such as semicolon (“;”) or comma
(“,”) (as these characters are used as delimiters in the header field itself).</t>

</section>
<section anchor="header-attrs" title="Target Attributes">

<t>The Link header field defines several target attributes specific to this serialisation, and also
allows extension target attributes. Target attributes are serialised in the Link header field as
parameters (see <xref target="RFC7231"/>, Section 3.1.1.1 for the definition of their syntax).</t>

<section anchor="serialisation-defined-attributes" title="Serialisation-Defined Attributes">

<t>The “hreflang”, “media”, “title”, “title*”, and “type” link-params can be translated to
serialisation-defined target attributes for the link.</t>

<t>The “hreflang” attribute, when present, is a hint indicating what the language of the result of
dereferencing the link should be. Note that this is only a hint; for example, it does not override
the Content-Language header field of a HTTP response obtained by actually following the link.
Multiple “hreflang” attributes on a single link-value indicate that multiple languages are
available from the indicated resource.</t>

<t>The ABNF for the <spanx style="verb">hreflang</spanx> parameter’s value is:</t>

<figure><artwork type="abnf2616"><![CDATA[
  Language-Tag
]]></artwork></figure>

<t>The “media” attribute, when present, is used to indicate intended destination medium or media for
style information (see <xref target="W3C.REC-html5-20141028"/>, Section 4.2.4). Its value MUST be quoted if it
contains a semicolon (“;”) or comma (“,”). There MUST NOT be more than one “media” attribute in
a link-value; occurrences after the first MUST be ignored by parsers.</t>

<t>The ABNF for the <spanx style="verb">media</spanx> parameter’s value is:</t>

<figure><artwork type="abnf2616"><![CDATA[
  media-query-list
]]></artwork></figure>

<t>The “title” attribute, when present, is used to label the destination of a link such that it can be
used as a human-readable identifier (e.g., a menu entry) in the language indicated by the
Content-Language header field (if present). The “title” attribute MUST NOT appear more than once in
a given link; occurrences after the first MUST be ignored by parsers.</t>

<t>The “title*” link-param can be used to encode this attribute in a different character set, and/or
contain language information as per <xref target="I-D.ietf-httpbis-rfc5987bis"/>. The “title*” link-param MUST
NOT appear more than once in a given link-value; occurrences after the first MUST be ignored by
parsers. If the attribute does not contain language information, its language is indicated by the
Content-Language header field (when present).</t>

<t>If both the “title” and “title*” link-param appear in a link, applications SHOULD use the
“title*” link-param’s value for the “title” attribute.</t>

<t>The “type” attribute, when present, is a hint indicating what the media type of the result of
dereferencing the link should be. Note that this is only a hint; for example, it does not override
the Content-Type header field of a HTTP response obtained by actually following the link. The
“type” attribute MUST NOT appear more than once in a given link-value; occurrences after the first
MUST be ignored by parsers.</t>

<t>The ABNF for the <spanx style="verb">type</spanx> parameter’s value is:</t>

<figure><artwork type="abnf2616"><![CDATA[
  type-name "/" subtype-name ; see {{RFC6838}}, Section 4.2
]]></artwork></figure>

</section>
<section anchor="extension-attributes" title="Extension Attributes">

<t>Other link-params are link-extensions, and are to be considered as target attributes.</t>

<t>Such target attributes MAY be defined to use the encoding in <xref target="I-D.ietf-httpbis-rfc5987bis"/> (e.g.,
“example” and “example*”). When both forms are present, they SHOULD be considered to be the same
target attribute; applications SHOULD use the value of the name ending in “*” (after
<xref target="I-D.ietf-httpbis-rfc5987bis"/> decoding), but MAY fall back to the other value if there is an
error in decoding it, or if they do not support decoding.</t>

</section>
</section>
<section anchor="link-header-field-examples" title="Link Header Field Examples">

<t>For example:</t>

<figure><artwork><![CDATA[
Link: <http://example.com/TheBook/chapter2>; rel="previous";
      title="previous chapter"
]]></artwork></figure>

<t>indicates that “chapter2” is previous to this resource in a logical navigation path.</t>

<t>Similarly,</t>

<figure><artwork><![CDATA[
Link: </>; rel="http://example.net/foo"
]]></artwork></figure>

<t>indicates that the root resource (“/”) is related to this resource with the extension relation type
“http://example.net/foo”.</t>

<t>This link:</t>

<figure><artwork><![CDATA[
Link: </terms>; rel="copyright"; anchor="#foo"
]]></artwork></figure>

<t>indicates that the linked copyright terms only apply to the portion of the document indicated by
the (media type-specific) fragment identifier “foo”.</t>

<t>The example below shows an instance of the Link header field encoding multiple links, and also the
use of RFC 5987 encoding to encode both non-ASCII characters and language information.</t>

<figure><artwork><![CDATA[
Link: </TheBook/chapter2>;
      rel="previous"; title*=UTF-8'de'letztes%20Kapitel,
      </TheBook/chapter4>;
      rel="next"; title*=UTF-8'de'n%c3%a4chstes%20Kapitel
]]></artwork></figure>

<t>Here, both links have titles encoded in UTF-8, use the German language (“de”), and the second link
contains the Unicode code point U+00E4 (“LATIN SMALL LETTER A WITH DIAERESIS”).</t>

<t>Note that link-values can convey multiple links between the same link target and link context; for
example:</t>

<figure><artwork><![CDATA[
Link: <http://example.org/>;
      rel="start http://example.net/relation/other"
]]></artwork></figure>

<t>Here, the link to “http://example.org/” has the registered relation type “start” and the extension
relation type “http://example.net/relation/other”.</t>

<t>Finally, this header field:</t>

<figure><artwork><![CDATA[
Link: <https://example.org/>; rel="start",
      <https://example.org/index>; rel="index"
]]></artwork></figure>

<t>is equivalent to these:</t>

<figure><artwork><![CDATA[
Link: <https://example.org/>; rel="start"
Link: <https://example.org/index>; rel="index"
]]></artwork></figure>

</section>
</section>
<section anchor="iana-considerations" title="IANA Considerations">

<section anchor="link-http-header-field-registration" title="Link HTTP Header Field Registration">

<t>This specification updates the Message Header registry entry for “Link” in HTTP <xref target="RFC3864"/> to
refer to this document.</t>

<figure><artwork><![CDATA[
Header field: Link
Applicable protocol: http
Status: standard
Author/change controller:
    IETF  (iesg@ietf.org)
    Internet Engineering Task Force
Specification document(s):
    [this document]
]]></artwork></figure>

</section>
<section anchor="link-relation-type-registry" title="Link Relation Type Registry">

<t>This specification updates the registration procedures for the Link Relation Type registry; see
<xref target="procedure"/>.</t>

<t>IANA will direct any incoming requests regarding the registry to this document and, if defined, the
processes established by the expert(s); typically, this will mean referring them to the registry
Web page.</t>

<t>Note that the expert(s) are allowed (as per <xref target="procedure"/>) to define additional fields to be
collected in the registry.</t>

</section>
<section anchor="link-relation-application-data-registry" title="Link Relation Application Data Registry">

<t>This specification removes the Link Relation Application Data Registry, as it has not been used,
and future use is not anticipated. IANA is instructed to remove it.</t>

</section>
</section>
<section anchor="security-considerations" title="Security Considerations">

<t>The content of the Link header field is not secure, private or integrity-guaranteed. Use of
Transport Layer Security (TLS) with HTTP (<xref target="RFC2818"/>) is currently the only end-to-end way to
provide these properties.</t>

<t>Link applications ought to consider the attack vectors opened by automatically following, trusting,
or otherwise using links gathered from HTTP header fields.</t>

<t>For example, Link header fields that use the “anchor” parameter to associate a link’s context with
another resource cannot be trusted since they are effectively assertions by a third party that
could be incorrect or malicious. Applications can mitigate this risk by specifying that such links
should be discarded unless some relationship between the resources is established (e.g., they share
the same authority).</t>

<t>Dereferencing links has a number of risks, depending on the application in use. For example, the
Referer header <xref target="RFC7231"/> can expose information about the application’s state (including private
information) in its value. Likewise, cookies <xref target="RFC6265"/> are another mechanism that, if
used, can become an attack vector. Applications can mitigate these risks by carefully specifying
how such mechanisms should operate.</t>

<t>The Link header field makes extensive use of IRIs and URIs. See <xref target="RFC3987"/> Section 8 for security
considerations relating to IRIs. See <xref target="RFC3986"/> Section 7 for security considerations relating to
URIs. See <xref target="RFC7230"/> Section 9 for security considerations relating to HTTP header fields.</t>

</section>
<section anchor="internationalisation-considerations" title="Internationalisation Considerations">

<t>Link targets may need to be converted to URIs in order to express them in serialisations that do
not support IRIs. This includes the Link HTTP header field.</t>

<t>Similarly, the anchor parameter of the Link header field does not support IRIs, and therefore IRIs
must be converted to URIs before inclusion there.</t>

<t>Relation types are defined as URIs, not IRIs, to aid in their comparison. It is not expected that
they will be displayed to end users.</t>

<t>Note that registered Relation Names are required to be lower-case ASCII letters.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>





<reference  anchor="RFC2119" target='http://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<date year='1997' month='March' />
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference  anchor="RFC3864" target='http://www.rfc-editor.org/info/rfc3864'>
<front>
<title>Registration Procedures for Message Header Fields</title>
<author initials='G.' surname='Klyne' fullname='G. Klyne'><organization /></author>
<author initials='M.' surname='Nottingham' fullname='M. Nottingham'><organization /></author>
<author initials='J.' surname='Mogul' fullname='J. Mogul'><organization /></author>
<date year='2004' month='September' />
<abstract><t>This specification defines registration procedures for the message header fields used by Internet mail, HTTP, Netnews and other applications.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='90'/>
<seriesInfo name='RFC' value='3864'/>
<seriesInfo name='DOI' value='10.17487/RFC3864'/>
</reference>



<reference  anchor="RFC3986" target='http://www.rfc-editor.org/info/rfc3986'>
<front>
<title>Uniform Resource Identifier (URI): Generic Syntax</title>
<author initials='T.' surname='Berners-Lee' fullname='T. Berners-Lee'><organization /></author>
<author initials='R.' surname='Fielding' fullname='R. Fielding'><organization /></author>
<author initials='L.' surname='Masinter' fullname='L. Masinter'><organization /></author>
<date year='2005' month='January' />
<abstract><t>A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource.  This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet.  The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of a URI reference without knowing the scheme-specific requirements of every possible identifier.  This specification does not define a generative grammar for URIs; that task is performed by the individual specifications of each URI scheme.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='STD' value='66'/>
<seriesInfo name='RFC' value='3986'/>
<seriesInfo name='DOI' value='10.17487/RFC3986'/>
</reference>



<reference  anchor="RFC3987" target='http://www.rfc-editor.org/info/rfc3987'>
<front>
<title>Internationalized Resource Identifiers (IRIs)</title>
<author initials='M.' surname='Duerst' fullname='M. Duerst'><organization /></author>
<author initials='M.' surname='Suignard' fullname='M. Suignard'><organization /></author>
<date year='2005' month='January' />
<abstract><t>This document defines a new protocol element, the Internationalized  Resource Identifier (IRI), as a complement of the Uniform Resource  Identifier (URI). An IRI is a sequence of characters from the  Universal Character Set (Unicode/ISO 10646). A mapping from IRIs to   URIs is defined, which means that IRIs can be used instead of URIs,  where appropriate, to identify resources.</t><t> The approach of defining a new protocol element was chosen instead of extending or changing the definition of URIs.  This was done in order  to allow a clear distinction and to avoid incompatibilities with  existing software. Guidelines are provided for the use and deployment of IRIs in various protocols, formats, and software components that currently deal with URIs.</t></abstract>
</front>
<seriesInfo name='RFC' value='3987'/>
<seriesInfo name='DOI' value='10.17487/RFC3987'/>
</reference>



<reference  anchor="RFC6838" target='http://www.rfc-editor.org/info/rfc6838'>
<front>
<title>Media Type Specifications and Registration Procedures</title>
<author initials='N.' surname='Freed' fullname='N. Freed'><organization /></author>
<author initials='J.' surname='Klensin' fullname='J. Klensin'><organization /></author>
<author initials='T.' surname='Hansen' fullname='T. Hansen'><organization /></author>
<date year='2013' month='January' />
<abstract><t>This document defines procedures for the specification and registration of media types for use in HTTP, MIME, and other Internet protocols.  This memo documents an Internet Best Current Practice.</t></abstract>
</front>
<seriesInfo name='BCP' value='13'/>
<seriesInfo name='RFC' value='6838'/>
<seriesInfo name='DOI' value='10.17487/RFC6838'/>
</reference>



<reference  anchor="RFC8126" target='http://www.rfc-editor.org/info/rfc8126'>
<front>
<title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
<author initials='M.' surname='Cotton' fullname='M. Cotton'><organization /></author>
<author initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author>
<author initials='T.' surname='Narten' fullname='T. Narten'><organization /></author>
<date year='2017' month='June' />
<abstract><t>Many protocols make use of points of extensibility that use constants to identify various protocol parameters.  To ensure that the values in these fields do not have conflicting uses and to promote interoperability, their allocations are often coordinated by a central record keeper.  For IETF protocols, that role is filled by the Internet Assigned Numbers Authority (IANA).</t><t>To make assignments in a given registry prudently, guidance describing the conditions under which new values should be assigned, as well as when and how modifications to existing values can be made, is needed.  This document defines a framework for the documentation of these guidelines by specification authors, in order to assure that the provided guidance for the IANA Considerations is clear and addresses the various issues that are likely in the operation of a registry.</t><t>This is the third edition of this document; it obsoletes RFC 5226.</t></abstract>
</front>
<seriesInfo name='BCP' value='26'/>
<seriesInfo name='RFC' value='8126'/>
<seriesInfo name='DOI' value='10.17487/RFC8126'/>
</reference>



<reference  anchor="RFC5646" target='http://www.rfc-editor.org/info/rfc5646'>
<front>
<title>Tags for Identifying Languages</title>
<author initials='A.' surname='Phillips' fullname='A. Phillips' role='editor'><organization /></author>
<author initials='M.' surname='Davis' fullname='M. Davis' role='editor'><organization /></author>
<date year='2009' month='September' />
<abstract><t>This document describes the structure, content, construction, and semantics of language tags for use in cases where it is desirable to indicate the language used in an information object.  It also describes how to register values for use in language tags and the creation of user-defined extensions for private interchange.  This document  specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='47'/>
<seriesInfo name='RFC' value='5646'/>
<seriesInfo name='DOI' value='10.17487/RFC5646'/>
</reference>



<reference  anchor="RFC7230" target='http://www.rfc-editor.org/info/rfc7230'>
<front>
<title>Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</title>
<author initials='R.' surname='Fielding' fullname='R. Fielding' role='editor'><organization /></author>
<author initials='J.' surname='Reschke' fullname='J. Reschke' role='editor'><organization /></author>
<date year='2014' month='June' />
<abstract><t>The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems.  This document provides an overview of HTTP architecture and its associated terminology, defines the &quot;http&quot; and &quot;https&quot; Uniform Resource Identifier (URI) schemes, defines the HTTP/1.1 message syntax and parsing requirements, and describes related security concerns for implementations.</t></abstract>
</front>
<seriesInfo name='RFC' value='7230'/>
<seriesInfo name='DOI' value='10.17487/RFC7230'/>
</reference>



<reference  anchor="RFC7231" target='http://www.rfc-editor.org/info/rfc7231'>
<front>
<title>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</title>
<author initials='R.' surname='Fielding' fullname='R. Fielding' role='editor'><organization /></author>
<author initials='J.' surname='Reschke' fullname='J. Reschke' role='editor'><organization /></author>
<date year='2014' month='June' />
<abstract><t>The Hypertext Transfer Protocol (HTTP) is a stateless \%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.</t></abstract>
</front>
<seriesInfo name='RFC' value='7231'/>
<seriesInfo name='DOI' value='10.17487/RFC7231'/>
</reference>



<reference  anchor="RFC8174" target='http://www.rfc-editor.org/info/rfc8174'>
<front>
<title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
<author initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author>
<date year='2017' month='May' />
<abstract><t>RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='8174'/>
<seriesInfo name='DOI' value='10.17487/RFC8174'/>
</reference>



<reference anchor="W3C.REC-css3-mediaqueries-20120619"
           target='http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619'>
<front>
<title>Media Queries</title>

<author initials='F.' surname='Rivoal' fullname='Florian Rivoal'>
    <organization />
</author>

<date month='June' day='19' year='2012' />
</front>

<seriesInfo name='World Wide Web Consortium Recommendation' value='REC-css3-mediaqueries-20120619' />
<format type='HTML' target='http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619' />
</reference>



<reference anchor="I-D.ietf-httpbis-rfc5987bis">
<front>
<title>Indicating Character Encoding and Language for HTTP Header Field Parameters</title>

<author initials='J' surname='Reschke' fullname='Julian Reschke'>
    <organization />
</author>

<date month='February' day='20' year='2017' />

<abstract><t>By default, header field values in Hypertext Transfer Protocol (HTTP) messages cannot easily carry characters outside the US-ASCII coded character set.  RFC 2231 defines an encoding mechanism for use in parameters inside Multipurpose Internet Mail Extensions (MIME) header field values.  This document specifies an encoding suitable for use in HTTP header fields that is compatible with a simplified profile of the encoding defined in RFC 2231.  This document obsoletes RFC 5987.</t></abstract>

</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-httpbis-rfc5987bis-05' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-httpbis-rfc5987bis-05.txt' />
</reference>




    </references>

    <references title='Informative References'>





<reference  anchor="RFC2046" target='http://www.rfc-editor.org/info/rfc2046'>
<front>
<title>Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</title>
<author initials='N.' surname='Freed' fullname='N. Freed'><organization /></author>
<author initials='N.' surname='Borenstein' fullname='N. Borenstein'><organization /></author>
<date year='1996' month='November' />
<abstract><t>This second document defines the general structure of the MIME media typing system and defines an initial set of media types.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='2046'/>
<seriesInfo name='DOI' value='10.17487/RFC2046'/>
</reference>



<reference  anchor="RFC2818" target='http://www.rfc-editor.org/info/rfc2818'>
<front>
<title>HTTP Over TLS</title>
<author initials='E.' surname='Rescorla' fullname='E. Rescorla'><organization /></author>
<date year='2000' month='May' />
<abstract><t>This memo describes how to use Transport Layer Security (TLS) to secure Hypertext Transfer Protocol (HTTP) connections over the Internet.  This memo provides information for the Internet community.</t></abstract>
</front>
<seriesInfo name='RFC' value='2818'/>
<seriesInfo name='DOI' value='10.17487/RFC2818'/>
</reference>



<reference  anchor="RFC4287" target='http://www.rfc-editor.org/info/rfc4287'>
<front>
<title>The Atom Syndication Format</title>
<author initials='M.' surname='Nottingham' fullname='M. Nottingham' role='editor'><organization /></author>
<author initials='R.' surname='Sayre' fullname='R. Sayre' role='editor'><organization /></author>
<date year='2005' month='December' />
<abstract><t>This document specifies Atom, an XML-based Web content and metadata syndication format.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='4287'/>
<seriesInfo name='DOI' value='10.17487/RFC4287'/>
</reference>



<reference anchor="W3C.REC-html5-20141028"
           target='http://www.w3.org/TR/2014/REC-html5-20141028'>
<front>
<title>HTML5</title>

<author initials='I.' surname='Hickson' fullname='Ian Hickson'>
    <organization />
</author>

<author initials='R.' surname='Berjon' fullname='Robin Berjon'>
    <organization />
</author>

<author initials='S.' surname='Faulkner' fullname='Steve Faulkner'>
    <organization />
</author>

<author initials='T.' surname='Leithead' fullname='Travis Leithead'>
    <organization />
</author>

<author initials='E.' surname='Navara' fullname='Erika Doyle Navara'>
    <organization />
</author>

<author initials='T.' surname='O&amp;#039;Connor' fullname='Theresa O&amp;#039;Connor'>
    <organization />
</author>

<author initials='S.' surname='Pfeiffer' fullname='Silvia Pfeiffer'>
    <organization />
</author>

<date month='October' day='28' year='2014' />
</front>

<seriesInfo name='World Wide Web Consortium Recommendation' value='REC-html5-20141028' />
<format type='HTML' target='http://www.w3.org/TR/2014/REC-html5-20141028' />
</reference>



<reference  anchor="RFC6265" target='http://www.rfc-editor.org/info/rfc6265'>
<front>
<title>HTTP State Management Mechanism</title>
<author initials='A.' surname='Barth' fullname='A. Barth'><organization /></author>
<date year='2011' month='April' />
<abstract><t>This document defines the HTTP Cookie and Set-Cookie header fields. These header fields can be used by HTTP servers to store state (called cookies) at HTTP user agents, letting the servers maintain a stateful session over the mostly stateless HTTP protocol.  Although cookies have many historical infelicities that degrade their security and privacy, the Cookie and Set-Cookie header fields are widely used on the Internet.  This document obsoletes RFC 2965.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='6265'/>
<seriesInfo name='DOI' value='10.17487/RFC6265'/>
</reference>




    </references>


<section anchor="notes-on-other-link-serialisations" title="Notes on Other Link Serialisations">

<t>Header fields (<xref target="header"/>) are only one serialisation of links; other specifications have defined
alternative serialisations.</t>

<section anchor="html" title="Link Serialisation in HTML">

<t>HTML motivated the original syntax of the Link header field, and many of the design decisions in
this document are driven by a desire to stay compatible with it.</t>

<t>In HTML, the link element can be mapped to links as specified here by using the “href” attribute
for the target URI, and “rel” to convey the relation type, as in the Link header field. The context
of the link is the URI associated with the entire HTML document. HTML also defines several
attributes on links that can be seen as target attributes, including “media”, “hreflang”, “type”
and “sizes”.</t>

<t>Section 4.8 of HTML5 (<xref target="W3C.REC-html5-20141028"/>) defines modern HTML links. That document links to
the Microformats Wiki as a registry; over time, the IANA registry ought to mirror its contents, and
ideally eventually replace it (although that depends on the HTML community).</t>

<t>Surveys of existing HTML content have shown that unregistered link relation types that are not URIs
are (perhaps inevitably) common. Consuming HTML implementations ought not consider such
unregistered short links to be errors, but rather relation types with a local scope (i.e., their
meaning is specific and perhaps private to that document).</t>

<t>Finally, the HTML specification gives a special meaning when the “alternate” relation types
coincides with other relation types in the same link. Such links ought to be serialised in the Link
header field using a single list of relation-types (e.g., rel=”alternate stylesheet”) to preserve
this relationship.</t>

</section>
<section anchor="atom" title="Link Serialisation in Atom">

<t>Atom <xref target="RFC4287"/> is a link serialisation that conveys links in the atom:link element, with the
“href” attribute indicating the link target and the “rel” attribute containing the relation type.
The context of the link is either a feed locator or an entry ID, depending on where it appears;
generally, feed-level links are obvious candidates for transmission as a Link header field.</t>

<t>When serialising an atom:link into a Link header field, it is necessary to convert link targets (if
used) to URIs.</t>

<t>Atom defines extension relation types in terms of IRIs. This specification re-defines them as URIs,
to simplify and reduce errors in their comparison.</t>

<t>Atom allows registered link relation types to be serialised as absolute URIs using a prefix,
“http://www.iana.org/assignments/relation/”. This prefix is specific to the Atom serialisation.</t>

<t>Furthermore, link relation types are always compared in a case-sensitive fashion; therefore,
registered link relation types SHOULD be converted to their registered form (usually, lowercase)
when serialised in an Atom document.</t>

<t>Note also that while the Link header field allows multiple relations to be serialised in a single
link, atom:link does not. In this case, a single link-value may map to several atom:link elements.</t>

<t>As with HTML, atom:link defines some attributes that are not explicitly mirrored in the Link header
field syntax, but they can also be used as link-extensions to maintain fidelity.</t>

</section>
</section>
<section anchor="parse" title="Algorithms for Parsing Link Header Fields">

<t>This appendix outlines a set of non-normative algorithms: for parsing the Link header(s) out of a
header set, parsing a link header field value, and algorithms for parsing generic parts of the
field value.</t>

<t>These algorithms are more permissive than the ABNF defining the syntax might suggest; the error
handling embodied in them is a reasonable approach, but not one that is required. As such they are
advisory only, and in cases where there is disagreement, the correct behaviour is defined by the
body of this specification.</t>

<section anchor="parse-set" title="Parsing a Header Set for Links">

<t>This algorithm can be used to parse the Link header fields that a HTTP header set contains. Given a
<spanx style="verb">header_set</spanx> of (string <spanx style="verb">field_name</spanx>, string <spanx style="verb">field_value</spanx>) pairs, assuming ASCII encoding, it
returns a list of link objects.</t>

<t><list style="numbers">
  <t>Let <spanx style="verb">field_values</spanx> be a list containing the members of <spanx style="verb">header_set</spanx> whose <spanx style="verb">field_name</spanx> is a
case-insensitive match for “link”.</t>
  <t>Let <spanx style="verb">links</spanx> be an empty list.</t>
  <t>For each <spanx style="verb">field_value</spanx> in <spanx style="verb">field_values</spanx>:  <list style="numbers">
      <t>Let <spanx style="verb">value_links</spanx> be the result of <spanx style="emph">Parsing A Link Field Value</spanx> (<xref target="parse-fv"/>) from
<spanx style="verb">field_value</spanx>.</t>
      <t>Append each member of <spanx style="verb">value_links</spanx> to <spanx style="verb">links</spanx>.</t>
    </list></t>
  <t>Return <spanx style="verb">links</spanx>.</t>
</list></t>

</section>
<section anchor="parse-fv" title="Parsing a Link Field Value">

<t>This algorithm parses zero or more comma-separated link-values from a Link header field. Given a
string <spanx style="verb">field_value</spanx>, assuming ASCII encoding, it returns a list of link objects.</t>

<t><list style="numbers">
  <t>Let <spanx style="verb">links</spanx> be an empty list.</t>
  <t>While <spanx style="verb">field_value</spanx> has content:  <list style="numbers">
      <t>Consume any leading OWS.</t>
      <t>If the first character is not “&lt;”, return <spanx style="verb">links</spanx>.</t>
      <t>Discard the first character (“&lt;”).</t>
      <t>Consume up to but not including the first “&gt;” character or end of <spanx style="verb">field_value</spanx> and let the
result be <spanx style="verb">target_string</spanx>.</t>
      <t>If the next character is not “&gt;”, return <spanx style="verb">links</spanx>.</t>
      <t>Discard the leading “&gt;” character.</t>
      <t>Let <spanx style="verb">link_parameters</spanx>, be the result of <spanx style="emph">Parsing Parameters</spanx> (<xref target="parse-param"/>) from
<spanx style="verb">field_value</spanx> (consuming zero or more characters of it).</t>
      <t>Let <spanx style="verb">target</spanx> be the result of relatively resolving (as per <xref target="RFC3986"/>, Section 5.2)
  <spanx style="verb">target_string</spanx>. Note that any base URI carried in the payload body is NOT used.</t>
      <t>Let <spanx style="verb">relations_string</spanx> be the second item of the first tuple of <spanx style="verb">link_parameters</spanx> whose first
item matches the string “rel”, or the empty string (“”) if it is not present.</t>
      <t>Split <spanx style="verb">relations_string</spanx> on RWS (removing it in the process) into a list of strings
<spanx style="verb">relation_types</spanx>.</t>
      <t>Let <spanx style="verb">context_string</spanx> be the second item of the first tuple of <spanx style="verb">link_parameters</spanx> whose first
item matches the string “anchor”. If it is not present, <spanx style="verb">context_string</spanx> is the URL of
the representation carrying the Link header <xref target="RFC7231"/>, Section 3.1.4.1, serialised as a
URI. Where the URL is anonymous, <spanx style="verb">context_string</spanx> is null.</t>
      <t>Let <spanx style="verb">context</spanx> be the result of relatively resolving (as per <xref target="RFC3986"/>, Section 5.2)
  <spanx style="verb">context_string</spanx>, unless <spanx style="verb">context_string</spanx> is null in which case <spanx style="verb">context</spanx> is null. Note that
any base URI carried in the payload body is NOT used.</t>
      <t>Let <spanx style="verb">target_attributes</spanx> be an empty list.</t>
      <t>For each tuple (<spanx style="verb">param_name</spanx>, <spanx style="verb">param_value</spanx>) of <spanx style="verb">link_parameters</spanx>:      <list style="numbers">
          <t>If <spanx style="verb">param_name</spanx> matches “rel” or “anchor”, skip this tuple.</t>
          <t>If <spanx style="verb">param_name</spanx> matches “media”, “title”, “title*” or “type” and <spanx style="verb">target_attributes</spanx>
already contains a tuple whose first element matches the value of <spanx style="verb">param_name</spanx>, skip this
tuple.</t>
          <t>Append (<spanx style="verb">param_name</spanx>, <spanx style="verb">param_value</spanx>) to <spanx style="verb">target_attributes</spanx>.</t>
        </list></t>
      <t>Let <spanx style="verb">star_param_names</spanx> be the set of <spanx style="verb">param_name</spanx>s in the (<spanx style="verb">param_name</spanx>, <spanx style="verb">param_value</spanx>) tuples
of <spanx style="verb">link_parameters</spanx> where the last character of <spanx style="verb">param_name</spanx> is an asterisk (“*”).</t>
      <t>For each <spanx style="verb">star_param_name</spanx> in <spanx style="verb">star_param_names</spanx>:      <list style="numbers">
          <t>Let <spanx style="verb">base_param_name</spanx> be <spanx style="verb">star_param_name</spanx> with the last character removed.</t>
          <t>If the implementation does not choose to support an internationalised form of a parameter
named <spanx style="verb">base_param_name</spanx> for any reason (including, but not limited to, it being prohibited
by the parameter’s specification), remove all tuples from <spanx style="verb">link_parameters</spanx> whose first
member is <spanx style="verb">star_param_name</spanx> and skip to the next <spanx style="verb">star_param_name</spanx>.</t>
          <t>Remove all tuples from <spanx style="verb">link_parameters</spanx> whose first member is <spanx style="verb">base_param_name</spanx>.</t>
          <t>Change the first member of all tuples in <spanx style="verb">link_parameters</spanx> whose first member is
<spanx style="verb">star_param_name</spanx> to <spanx style="verb">base_param_name</spanx>.</t>
        </list></t>
      <t>For each <spanx style="verb">relation_type</spanx> in <spanx style="verb">relation_types</spanx>:      <list style="numbers">
          <t>Case-normalise <spanx style="verb">relation_type</spanx> to lowercase.</t>
          <t>Append a link object to <spanx style="verb">links</spanx> with the target <spanx style="verb">target</spanx>, relation type of
<spanx style="verb">relation_type</spanx>, context of <spanx style="verb">context</spanx>, and target attributes <spanx style="verb">target_attributes</spanx>.</t>
        </list></t>
    </list></t>
  <t>Return <spanx style="verb">links</spanx>.</t>
</list></t>

</section>
<section anchor="parse-param" title="Parsing Parameters">

<t>This algorithm parses the parameters from a header field value. Given an ASCII string <spanx style="verb">input</spanx>, it
returns a list of (string <spanx style="verb">parameter_name</spanx>, string <spanx style="verb">parameter_value</spanx>) tuples that it contains.
<spanx style="verb">input</spanx> is modified to remove the parsed parameters.</t>

<t><list style="numbers">
  <t>Let <spanx style="verb">parameters</spanx> be an empty list.</t>
  <t>While <spanx style="verb">input</spanx> has content:  <list style="numbers">
      <t>Consume any leading OWS.</t>
      <t>If the first character is not “;”, return <spanx style="verb">parameters</spanx>.</t>
      <t>Discard the leading “;” character.</t>
      <t>Consume any leading OWS.</t>
      <t>Consume up to but not including the first BWS, “=”, “;”, “,” character or end of <spanx style="verb">input</spanx> and
let the result be <spanx style="verb">parameter_name</spanx>.</t>
      <t>Consume any leading BWS.</t>
      <t>If the next character is “=”:      <list style="numbers">
          <t>Discard the leading “=” character.</t>
          <t>Consume any leading BWS.</t>
          <t>If the next character is DQUOTE, let <spanx style="verb">parameter_value</spanx> be the result of <spanx style="emph">Parsing a Quoted
String</spanx> (<xref target="parse-qs"/>) from <spanx style="verb">input</spanx> (consuming zero or more characters of it).</t>
          <t>Else, consume the contents up to but not including the first “;”, “,” character or end of
<spanx style="verb">input</spanx> and let the results be <spanx style="verb">parameter_value</spanx>.</t>
          <t>If the last character of <spanx style="verb">parameter_name</spanx> is an asterisk (“*”), decode <spanx style="verb">parameter_value</spanx>
according to <xref target="I-D.ietf-httpbis-rfc5987bis"/>. Continue processing <spanx style="verb">input</spanx> if an unrecoverable
error is encountered.</t>
        </list></t>
      <t>Else:      <list style="numbers">
          <t>Let <spanx style="verb">parameter_value</spanx> be an empty string.</t>
        </list></t>
      <t>Case-normalise <spanx style="verb">parameter_name</spanx> to lowercase.</t>
      <t>Append (<spanx style="verb">parameter_name</spanx>, <spanx style="verb">parameter_value</spanx>) to <spanx style="verb">parameters</spanx>.</t>
      <t>Consume any leading OWS.</t>
      <t>If the next character is “,” or the end of <spanx style="verb">input</spanx>, stop processing <spanx style="verb">input</spanx> and return
<spanx style="verb">parameters</spanx>.</t>
    </list></t>
</list></t>

</section>
<section anchor="parse-qs" title="Parsing a Quoted String">

<t>This algorithm parses a quoted string, as per <xref target="RFC7230"/>, Section 3.2.6. Given an ASCII string
<spanx style="verb">input</spanx>, it returns an unquoted string. <spanx style="verb">input</spanx> is modified to remove the parsed string.</t>

<t><list style="numbers">
  <t>Let <spanx style="verb">output</spanx> be an empty string.</t>
  <t>If the first character of <spanx style="verb">input</spanx> is not DQUOTE, return <spanx style="verb">output</spanx>.</t>
  <t>Discard the first character.</t>
  <t>While <spanx style="verb">input</spanx> has content:  <list style="numbers">
      <t>If the first character is a backslash (“\”):      <list style="numbers">
          <t>Discard the first character.</t>
          <t>If there is no more <spanx style="verb">input</spanx>, return <spanx style="verb">output</spanx>.</t>
          <t>Else, consume the first character and append it to <spanx style="verb">output</spanx>.</t>
        </list></t>
      <t>Else, if the first character is DQUOTE, discard it and return <spanx style="verb">output</spanx>.</t>
      <t>Else, consume the first character and append it to <spanx style="verb">output</spanx>.</t>
    </list></t>
  <t>Return <spanx style="verb">output</spanx>.</t>
</list></t>

</section>
</section>
<section anchor="changes-from-rfc5988" title="Changes from RFC5988">

<t>This specification has the following differences from its predecessor, RFC5988:</t>

<t><list style="symbols">
  <t>The initial relation type registrations were removed, since they’ve already been registered by
5988.</t>
  <t>The introduction has been shortened.</t>
  <t>The Link Relation Application Data Registry has been removed.</t>
  <t>Incorporated errata.</t>
  <t>Updated references.</t>
  <t>Link cardinality was clarified.</t>
  <t>Terminology was changed from “target IRI” and “context IRI” to “link target” and “link context”
respectively.</t>
  <t>Made assigning a URI to registered relation types serialisation-specific.</t>
  <t>Removed misleading statement that the link header field is semantically equivalent to HTML and
Atom links.</t>
  <t>More carefully defined and used “link serialisations” and “link applications.”</t>
  <t>Clarified the cardinality of target attributes (generically and for “type”).</t>
  <t>Corrected the default link context for the Link header field, to be dependent upon the identity
of the representation (as per RFC7231).</t>
  <t>Defined a suggested parsing algorithm for the Link header.</t>
  <t>The value space of target attributes and their definition has been specified.</t>
  <t>The ABNF has been updated to be compatible with <xref target="RFC7230"/>. In particular, whitespace is now
explicit.</t>
  <t>Some parameters on the HTTP header field can now appear as a token.</t>
  <t>Parameters on the HTTP header can now be value-less.</t>
  <t>Handling of quoted strings is now defined by <xref target="RFC7230"/>.</t>
  <t>The <spanx style="verb">type</spanx> header field parameter now needs to be quoted (as <spanx style="verb">token</spanx> does not allow “/”).</t>
</list></t>

</section>


  </back>

<!-- ##markdown-source:
H4sIAGIejlkAA819a3PbRrbg9/4VKLrmhtSSlC0/4kiT7JVtJVat/BhJvtlb
c6dskGySuAIBBg1IYVKe377n1S8AlJ2Zqd11KjYJAt2nu8/7hclkouqszvVx
8rOeJRdZcZMVK5XOZpW+PVaLcl6kG/hxUaXLelKUdQ0/r9PNpFrOn373/Pks
M5OHz9UireGmo4ePvlVz+Lgqq91xYuqFKmemzHWtzXGCtyuVbavjZFvpp4+/
fX5dNaY+evjwu4dHKq10epz8pAtdpbm6K6ubVVU222N1o3fwbXFMsMXfEFJ3
IQTfXczhQlLpPK2zslDK1Gmx+JjmZQHQ7rRR2+w4+WtdzscJ/JUVC13U48SU
VV3ppYFPu418qKtsDj/Ny802lQ8buBl+ygqYRI8T2BC9MPUu139TKm3qdVkd
q2SiEviTFbD+N9Pkrds/usxb+yatbtq/lNUqLbLfCOxjuqI3aZYfJxs4gn/H
v6aFrumHpoI1rOt6a44PD+/u7qb210OlirLawBi3Gse4/PHl0aNH38nHx8+f
PbEfv3v+zH/8Vj4+e/74uXx8/ujI3vD02RP78dujxw/9x0fu3m9p3J8fv5xe
nr2czI15PNnoRZb+0ugq02YCWHL08BkDcj55Nc10vZzgAhCXGK2+hY/HgCvF
sr2Ah276o+ePLHxPjhhqO+e63uRPcZ4njx4ewU1KTSaTJJ3BKcLhKXW9zkxi
tnqeLbM57XGy0Es4RZOkyaZc6DyBiZN6rR3umHW2NclM13daF3DVlE01h/vh
UbwNkE8NB4htZjBKAMnoar3b6qRcwufStIfiu91FuheenSp1XidpbkoHEo5k
YOvSPDN8LwxpmvmasNsAciWvr6/fJ2udLnRlkrusXtNDSA1yNVlmOl9MZScA
QfTHt/hXXX685MeUOoCdTM5enV+/uwQKzXVKMG/KW1gIbZie0+wzDZujk20z
y2X3DmRLM9w/JN1JVky2VbmCfQL4SxjmNoPREH+ACUzxdg13mwaWB6uqk3mK
48KuN7B1a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