<?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.11 -->

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

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-ietf-httpbis-proxy-status-00" category="std">

  <front>
    <title abbrev="Proxy-Status">The Proxy-Status HTTP Header Field</title>

    <author initials="M." surname="Nottingham" fullname="Mark Nottingham">
      <organization>Fastly</organization>
      <address>
        <email>mnot@mnot.net</email>
        <uri>https://www.mnot.net/</uri>
      </address>
    </author>
    <author initials="P." surname="Sikora" fullname="Piotr Sikora">
      <organization>Google</organization>
      <address>
        <email>piotrsikora@google.com</email>
      </address>
    </author>

    <date year="2019"/>

    <area>Applications and Real-Time</area>
    <workgroup>HTTP</workgroup>
    <keyword>Internet-Draft</keyword>

    <abstract>


<t>This document defines the Proxy-Status HTTP header field to convey the details of errors generated by HTTP intermediaries.</t>



    </abstract>


    <note title="Note to Readers">


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

<t>Discussion of this draft takes place on the HTTP working group mailing list
(ietf-http-wg@w3.org), which is archived at <eref target="https://lists.w3.org/Archives/Public/ietf-http-wg/">https://lists.w3.org/Archives/Public/ietf-http-wg/</eref>.</t>

<t>Working Group information can be found at <eref target="https://httpwg.org/">https://httpwg.org/</eref>; source
code and issues list for this draft can be found at
<eref target="https://github.com/httpwg/http-extensions/labels/proxy-status">https://github.com/httpwg/http-extensions/labels/proxy-status</eref>.</t>


    </note>


  </front>

  <middle>


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

<t>HTTP intermediaries – including both forward proxies and gateways (also known as “reverse
proxies”) – have become an increasingly significant part of HTTP deployments. In particular,
reverse proxies and Content Delivery Networks (CDNs) form part of the critical infrastructure of
many Web sites.</t>

<t>Typically, HTTP intermediaries forward requests towards the origin server and then forward their responses back to clients. However, if an error occurs, the response is generated by the intermediary itself.</t>

<t>HTTP accommodates these types of errors with a few status codes; for example, 502 Bad Gateway and 504 Gateway Timeout. However, experience has shown that more information is necessary to aid debugging and communicate what’s happened to the client.</t>

<t>To address this, <xref target="header"/> defines a new HTTP response header field to convey such information, using the Proxy Status Types defined in <xref target="types"/>. <xref target="register"/> explains how to define new Proxy Status Types.</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 specification uses Structured Headers <xref target="I-D.ietf-httpbis-header-structure"/> to specify syntax. The terms sh-param-list, sh-item, sh-string, sh-token and sh-integer refer to the structured types defined therein.</t>

<t>Note that in this specification, “proxy” is used to indicate both forward and reverse proxies, otherwise known as gateways. “Next hop” indicates the connection in the direction leading to the origin server for the request.</t>

</section>
</section>
<section anchor="header" title="The Proxy-Status HTTP Header Field">

<t>The Proxy-Status HTTP response header field allows an intermediary to indicate the nature and details of an error condition it encounters when servicing a request.</t>

<t>It is a Structured Headers <xref target="I-D.ietf-httpbis-header-structure"/> Parameterised List, where each item in the list indicates an error condition. Typically, it will have only one param-item (the error condition that triggered generation of the response it occurs within), but more than one value is not prohibited.</t>

<t>Each param-item’s primary-id is a Proxy Status Type, a registered value that indicates the nature of the error.</t>

<t>Each param-item can have zero to many parameters. <xref target="params"/> lists parameters that can be used with all Proxy Status Types; individual types can define additional parameters to use with them. All parameters are optional; see <xref target="security"/> for their potential security impact.</t>

<t>For example:</t>

<figure><artwork type="example"><![CDATA[
HTTP/1.1 504 Gateway Timeout
Proxy-Status: connection_timeout; proxy=SomeCDN; origin=abc; tries=3
]]></artwork></figure>

<t>indicates the specific nature of the timeout as a connect timeout to the origin with the identifier “abc”, and that is was generated by the intermediary that identifies itself as “FooCDN.” Furthermore, three connection attempts were made.</t>

<t>Or:</t>

<figure><artwork type="example"><![CDATA[
HTTP/1.1 429 Too Many Requests
Proxy-Status: http_request_error; proxy=SomeReverseProxy
]]></artwork></figure>

<t>indicates that this 429 Too Many Requests response was generated by the intermediary, not the origin.</t>

<t>Each Proxy Status Type has a Recommended HTTP Status Code. When generating a HTTP response containing Proxy-Status, its HTTP status code SHOULD be set to the Recommended HTTP Status Code. However, there may be circumstances (e.g., for backwards compatibility with previous behaviours) when another status code might be used.</t>

<t><xref target="types"/> lists the Proxy Status Types defined in this document; new ones can be defined using the procedure outlined in <xref target="register"/>.</t>

<t>Proxy-Status MAY be sent in HTTP trailers, but – as with all trailers – it might be silently discarded along the path to the user agent, this SHOULD NOT be done unless it is not possible to send it in headers. For example, if an intermediary is streaming a response and the upstream connection suddenly terminates, Proxy-Status can be appended to the trailers of the outgoing message (since the headers have already been sent).</t>

<t>Note that there are various security considerations for intermediaries using the Proxy-Status header field; see <xref target="security"/>.</t>

<t>Origin servers MUST NOT generate the Proxy-Status header field.</t>

<section anchor="params" title="Generic Proxy Status Parameters">

<t>This section lists parameters that are potentially applicable to most Proxy Status Types.</t>

<t><list style="symbols">
  <t>proxy - a sh-token identifying the HTTP intermediary generating this response.</t>
  <t>origin - a sh-token identifying the origin server whose behaviour triggered this response.</t>
  <t>protocol - a sh-token indicating the ALPN protocol identifier <xref target="RFC7301"/> used to connect to the next hop. This is only applicable when that connection was actually established.</t>
  <t>tries - a sh-integer indicating the number of times that the error has occurred before this response.</t>
  <t>details - a sh-string containing additional information not captured anywhere else. This can include implementation-specific or deployment-specific information.</t>
</list></t>

</section>
</section>
<section anchor="types" title="Proxy Status Types">

<t>This section lists the Proxy Status Types defined by this document. See <xref target="register"/> for information about defining new Proxy Status Types.</t>

<section anchor="dns-timeout" title="DNS Timeout">

<t><list style="symbols">
  <t>Name: dns_timeout</t>
  <t>Description: The intermediary encountered a timeout when trying to find an IP address for the destination hostname.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 504</t>
</list></t>

</section>
<section anchor="dns-error" title="DNS Error">

<t><list style="symbols">
  <t>Name: dns_error</t>
  <t>Description: The intermediary encountered a DNS error when trying to find an IP address for the destination hostname.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>rcode: A sh-string conveying the DNS RCODE that indicates the error type. See <xref target="RFC8499"/>, Section 3.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="destination-not-found" title="Destination Not Found">

<t><list style="symbols">
  <t>Name: destination_not_found</t>
  <t>Description: The intermediary cannot determine the appropriate destination to use for this request; for example, it may not be configured. Note that this error is specific to gateways, which typically require specific configuration to identify the “backend” server; forward proxies use in-band information to identify the origin server.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 500</t>
</list></t>

</section>
<section anchor="destination-unavailable" title="Destination Unavailable">

<t><list style="symbols">
  <t>Name: destination_unavailable</t>
  <t>Description: The intermediary considers the next hop to be unavailable; e.g., recent attempts to communicate with it may have failed, or a health check may indicate that it is down.</t>
  <t>Extra Parameters:</t>
  <t>Recommended HTTP status code: 503</t>
</list></t>

</section>
<section anchor="destination-ip-prohibited" title="Destination IP Prohibited">

<t><list style="symbols">
  <t>Name: destination_ip_prohibited</t>
  <t>Description: The intermediary is configured to prohibit connections to the destination IP address.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="destination-ip-unroutable" title="Destination IP Unroutable">

<t><list style="symbols">
  <t>Name: destination_ip_unroutable</t>
  <t>Description: The intermediary cannot find a route to the destination IP address.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="connection-refused" title="Connection Refused">

<t><list style="symbols">
  <t>Name: connection_refused</t>
  <t>Description: The intermediary’s connection to the next hop was refused.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="connection-terminated" title="Connection Terminated">

<t><list style="symbols">
  <t>Name: connection_terminated</t>
  <t>Description: The intermediary’s connection to the next hop was closed before any part of the response was received. If some part was received, see http_response_incomplete.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="connection-timeout" title="Connection Timeout">

<t><list style="symbols">
  <t>Name: connection_timeout</t>
  <t>Description: The intermediary’s attempt to open a connection to the next hop timed out.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 504</t>
</list></t>

</section>
<section anchor="connection-read-timeout" title="Connection Read Timeout">

<t><list style="symbols">
  <t>Name: connection_read_timeout</t>
  <t>Description: The intermediary was expecting data on a connection (e.g., part of a response), but did not receive any new data in a configured time limit.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 504</t>
</list></t>

</section>
<section anchor="connection-write-timeout" title="Connection Write Timeout">

<t><list style="symbols">
  <t>Name: connection_write_timeout</t>
  <t>Description: The intermediary was attempting to write data to a connection, but was not able to (e.g., because its buffers were full).</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 504</t>
</list></t>

</section>
<section anchor="connection-limit-reached" title="Connection Limit Reached">

<t><list style="symbols">
  <t>Name: connnection_limit_reached</t>
  <t>Description: The intermediary is configured to limit the number of connections it has to the next hop, and that limit has been passed.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code:</t>
</list></t>

</section>
<section anchor="http-response-status" title="HTTP Response Status">

<t><list style="symbols">
  <t>Name: http_response_status</t>
  <t>Description: The intermediary has received a 4xx or 5xx status code from the next hop and forwarded it to the client.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code:</t>
</list></t>

</section>
<section anchor="http-incomplete-response" title="HTTP Incomplete Response">

<t><list style="symbols">
  <t>Name: http_response_incomplete</t>
  <t>Description: The intermediary received an incomplete response to the request from the next hop.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-protocol-error" title="HTTP Protocol Error">

<t><list style="symbols">
  <t>Name: http_protocol_error</t>
  <t>Description: The intermediary encountered a HTTP protocol error when communicating with the next hop. This error should only be used when a more specific one is not defined.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>details: a sh-string containing details about the error condition. For example, this might be the HTTP/2 error code or free-form text describing the condition.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-response-header-block-too-large" title="HTTP Response Header Block Too Large">

<t><list style="symbols">
  <t>Name: http_response_header_block_size</t>
  <t>Description: The intermediary received a response to the request whose header block was considered too large.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>header_block_size: a sh-integer indicating how large the headers received were. Note that they might not be complete; i.e., the intermediary may have discarded or refused additional data.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-response-header-too-large" title="HTTP Response Header Too Large">

<t><list style="symbols">
  <t>Name: http_response_header_size</t>
  <t>Description: The intermediary received a response to the request containing an individual header line that was considered too large.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>header_name: a sh-string indicating the name of the header that triggered the error.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-response-body-too-large" title="HTTP Response Body Too Large">

<t><list style="symbols">
  <t>Name: http_response_body_size</t>
  <t>Description: The intermediary received a response to the request whose body was considered too large.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>body_size: a sh-integer indicating how large the body received was. Note that it may not have been complete; i.e., the intermediary may have discarded or refused additional data.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-response-transfer-coding-error" title="HTTP Response Transfer-Coding Error">

<t><list style="symbols">
  <t>Name: http_response_transfer_coding</t>
  <t>Description: The intermediary encountered an error decoding the transfer-coding of the response.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>coding: a sh-token containing the specific coding that caused the error.</t>
      <t>details: a sh-string containing details about the error condition.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-response-content-coding-error" title="HTTP Response Content-Coding Error">

<t><list style="symbols">
  <t>Name: http_response_content_coding</t>
  <t>Description: The intermediary encountered an error decoding the content-coding of the response.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>coding: a sh-token containing the specific coding that caused the error.</t>
      <t>details: a sh-string containing details about the error condition.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-response-timeout" title="HTTP Response Timeout">

<t><list style="symbols">
  <t>Name: http_response_timeout</t>
  <t>Description: The intermediary reached a configured time limit waiting for the complete response.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 504</t>
</list></t>

</section>
<section anchor="tls-handshake-error" title="TLS Handshake Error">

<t><list style="symbols">
  <t>Name: tls_handshake_error</t>
  <t>Description: The intermediary encountered an error during TLS handshake with the next hop.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>alert_message: a sh-token containing the applicable description string from the TLS Alerts registry.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="tls-untrusted-peer-certificate" title="TLS Untrusted Peer Certificate">

<t><list style="symbols">
  <t>Name: tls_untrusted_peer_certificate</t>
  <t>Description: The intermediary received untrusted peer certificate during TLS handshake with the next hop.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="tls-expired-peer-certificate" title="TLS Expired Peer Certificate">

<t><list style="symbols">
  <t>Name: tls_expired_peer_certificate</t>
  <t>Description: The intermediary received expired peer certificate during TLS handshake with the next hop.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="tls-unexpected-peer-certificate" title="TLS Unexpected Peer Certificate">

<t><list style="symbols">
  <t>Name: tls_unexpected_peer_certificate</t>
  <t>Description: The intermediary received unexpected peer certificate (e.g., SPKI doesn’t match) during TLS handshake with the next hop.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>details: a sh-string containing the checksum or SPKI of the certificate received from the next hop.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="tls-unexpected-peer-identity" title="TLS Unexpected Peer Identity">

<t><list style="symbols">
  <t>Name: tls_unexpected_peer_identity</t>
  <t>Description: The intermediary received peer certificate with unexpected identity (e.g., Subject Alternative Name doesn’t match) during TLS handshake with the next hop.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>details: a sh-string containing the identity of the next hop.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="tls-missing-proxy-certificate" title="TLS Missing Proxy Certificate">

<t><list style="symbols">
  <t>Name: tls_missing_proxy_certificate</t>
  <t>Description: The next hop requested client certificate from the intermediary during TLS handshake, but it wasn’t configured with one.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 500</t>
</list></t>

</section>
<section anchor="tls-rejected-proxy-certificate" title="TLS Rejected Proxy Certificate">

<t><list style="symbols">
  <t>Name: tls_rejected_proxy_certificate</t>
  <t>Description: The next hop rejected client certificate provided by the intermediary during TLS handshake.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 500</t>
</list></t>

</section>
<section anchor="tls-error" title="TLS Error">

<t><list style="symbols">
  <t>Name: tls_error</t>
  <t>Description: The intermediary encountered a TLS error when communicating with the next hop.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>alert_message: a sh-token containing the applicable description string from the TLS Alerts registry.</t>
    </list></t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="http-request-error" title="HTTP Request Error">

<t><list style="symbols">
  <t>Name: http_request_error</t>
  <t>Description: The intermediary is generating a client (4xx) response on the origin’s behalf. Applicable status codes include (but are not limited to) 400, 403, 405, 406, 408, 411, 413, 414, 415, 416, 417, 429. This proxy status type helps distinguish between responses generated by intermediaries from those generated by the origin.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: The applicable 4xx status code</t>
</list></t>

</section>
<section anchor="http-request-denied" title="HTTP Request Denied">

<t><list style="symbols">
  <t>Name: http_request_denied</t>
  <t>Description: The intermediary rejected HTTP request based on its configuration and/or policy settings. The request wasn’t forwarded to the next hop.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 400</t>
</list></t>

</section>
<section anchor="http-upgrade-failed" title="HTTP Upgrade Failed">

<t><list style="symbols">
  <t>Name: http_upgrade_failed</t>
  <t>Description: The HTTP Upgrade between the intermediary and the next hop failed.</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
<section anchor="proxy-internal-error" title="Proxy Internal Error">

<t><list style="symbols">
  <t>Name: proxy_internal_error</t>
  <t>Description: The intermediary encountered an internal error unrelated to the origin.</t>
  <t>Extra Parameters:
  <list style="symbols">
      <t>details: a sh-string containing details about the error condition.</t>
    </list></t>
  <t>Recommended HTTP status code: 500</t>
</list></t>

</section>
<section anchor="proxy-loop-detected" title="Proxy Loop Detected">

<t><list style="symbols">
  <t>Name: proxy_loop_detected</t>
  <t>Description: The intermediary tried to forward the request to itself, or a loop has been detected using different means (e.g. <xref target="I-D.ietf-httpbis-cdn-loop"/>).</t>
  <t>Extra Parameters: None.</t>
  <t>Recommended HTTP status code: 502</t>
</list></t>

</section>
</section>
<section anchor="register" title="Defining New Proxy Status Types">

<t>New Proxy Status Types can be defined by registering them in the HTTP Proxy Status Types registry.</t>

<t>Registration requests are reviewed and approved by a Designated Expert, as per <xref target="RFC8126"/>, Section 4.5. A specification document is appreciated, but not required.</t>

<t>The Expert(s) should consider the following factors when evaluating requests:</t>

<t><list style="symbols">
  <t>Community feedback</t>
  <t>If the value is sufficiently well-defined</t>
  <t>If the value is generic; vendor-specific, application-specific and deployment-specific values are discouraged</t>
</list></t>

<t>Registration requests should use the following template:</t>

<t><list style="symbols">
  <t>Name: [a name for the Proxy Status Type that is allowable as a sh-param-list key]</t>
  <t>Description: [a description of the conditions that generate the Proxy Status Types]</t>
  <t>Extra Parameters: [zero or more optional parameters, typed using one of the types available in sh-item]</t>
  <t>Recommended HTTP status code: [the appropriate HTTP status code for this entry]</t>
</list></t>

<t>See the registry at <eref target="https://iana.org/assignments/http-proxy-statuses">https://iana.org/assignments/http-proxy-statuses</eref> for details on where to send registration requests.</t>

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

<t>Upon publication, please create the HTTP Proxy Status Types registry at <eref target="https://iana.org/assignments/http-proxy-statuses">https://iana.org/assignments/http-proxy-statuses</eref> and populate it with the types defined in <xref target="types"/>; see <xref target="register"/> for its associated procedures.</t>

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

<t>One of the primary security concerns when using Proxy-Status is leaking information that might aid an attacker.</t>

<t>As a result, care needs to be taken when deciding to generate a Proxy-Status header. Note that intermediaries are not required to generate a Proxy-Status header field in any response, and can conditionally generate them based upon request attributes (e.g., authentication tokens, IP address).</t>

<t>Likewise, generation of all parameters is optional.</t>

<t>Special care needs to be taken in generating proxy and origin parameters, as they can expose information about the intermediary’s configuration and back-end topology.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>





<reference  anchor="RFC2119" target='https://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="RFC8174" target='https://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="I-D.ietf-httpbis-header-structure">
<front>
<title>Structured Headers for HTTP</title>

<author initials='M' surname='Nottingham' fullname='Mark Nottingham'>
    <organization />
</author>

<author initials='P' surname='Kamp' fullname='Poul-Henning Kamp'>
    <organization />
</author>

<date month='December' day='1' year='2018' />

<abstract><t>This document describes a set of data types and algorithms associated with them that are intended to make it easier and safer to define and handle HTTP header fields.  It is intended for use by new specifications of HTTP header fields as well as revisions of existing header field specifications when doing so does not cause interoperability issues.</t></abstract>

</front>

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



<reference  anchor="RFC7301" target='https://www.rfc-editor.org/info/rfc7301'>
<front>
<title>Transport Layer Security (TLS) Application-Layer Protocol Negotiation Extension</title>
<author initials='S.' surname='Friedl' fullname='S. Friedl'><organization /></author>
<author initials='A.' surname='Popov' fullname='A. Popov'><organization /></author>
<author initials='A.' surname='Langley' fullname='A. Langley'><organization /></author>
<author initials='E.' surname='Stephan' fullname='E. Stephan'><organization /></author>
<date year='2014' month='July' />
<abstract><t>This document describes a Transport Layer Security (TLS) extension for application-layer protocol negotiation within the TLS handshake. For instances in which multiple application protocols are supported on the same TCP or UDP port, this extension allows the application layer to negotiate which protocol will be used within the TLS connection.</t></abstract>
</front>
<seriesInfo name='RFC' value='7301'/>
<seriesInfo name='DOI' value='10.17487/RFC7301'/>
</reference>



<reference  anchor="RFC8499" target='https://www.rfc-editor.org/info/rfc8499'>
<front>
<title>DNS Terminology</title>
<author initials='P.' surname='Hoffman' fullname='P. Hoffman'><organization /></author>
<author initials='A.' surname='Sullivan' fullname='A. Sullivan'><organization /></author>
<author initials='K.' surname='Fujiwara' fullname='K. Fujiwara'><organization /></author>
<date year='2019' month='January' />
<abstract><t>The Domain Name System (DNS) is defined in literally dozens of different RFCs.  The terminology used by implementers and developers of DNS protocols, and by operators of DNS systems, has sometimes changed in the decades since the DNS was first defined.  This document gives current definitions for many of the terms used in the DNS in a single document.</t><t>This document obsoletes RFC 7719 and updates RFC 2308.</t></abstract>
</front>
<seriesInfo name='BCP' value='219'/>
<seriesInfo name='RFC' value='8499'/>
<seriesInfo name='DOI' value='10.17487/RFC8499'/>
</reference>



<reference  anchor="RFC8126" target='https://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>




    </references>

    <references title='Informative References'>





<reference anchor="I-D.ietf-httpbis-cdn-loop">
<front>
<title>CDN Loop Detection</title>

<author initials='S' surname='Ludin' fullname='Stephen Ludin'>
    <organization />
</author>

<author initials='M' surname='Nottingham' fullname='Mark Nottingham'>
    <organization />
</author>

<author initials='N' surname='Sullivan' fullname='Nick Sullivan'>
    <organization />
</author>

<date month='February' day='3' year='2019' />

<abstract><t>This document defines the CDN-Loop request header field for HTTP. CDN-Loop addresses an operational need that occurs when an HTTP request is intentionally forwarded between Content Delivery Networks (CDNs), but is then accidentally or maliciously re-routed back into the original CDN causing a non-terminating loop.  The new header field can be used to identify the error and terminate the loop.</t></abstract>

</front>

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




    </references>



  </back>

<!-- ##markdown-source:
H4sIACTfy1wAA+Vc63MbN5L/Pn8FTv4QO0VSDyubNXXJRZHsWHWyrJPkSl0l
WypwBiSxGg7mAIwoxuX87dfdeAyGpB6WtLd3damUTHEwje5G968fANTv9zMr
bSmG7GIq2KlWN4v+ueW2Mez9xcUpey94ITR7J0VZZHw00uJ62BmWFSqv+AwI
FJqPbV8KO+5Pra1H0vRrGmhoYH9rKyu4hYE7W9tvshw+TpReDJmxRSZrPWRW
N8bubG292drJuBZ8yPbrupQwUqrKMF4V7Ezwsn8hZyKbK3010aqph8RodiUW
8FUxZEeVFboStn+I/GQweVVc8lJVMPNCmKyWQ/abVXmPGaWtFmMDnxYz/PC3
LOONnSo9zFg/Y/CfrMyQfRiwE2WtrCZTPqOvncAfuL5afqL0hFfyD2J5yN5x
Y8sFPRAzLsshm1XK/oQ/BsAiPWg0MIQKM8PNzfl8PghPNztMnA7YubxSmicM
nEpldfp1d/ZflJqUIp29xhcMjf9pQk8HuZplWaX0DF66FiA4O3t3sLO9/WaY
ZbIatw+yrN/vMz4yVvPcZtnFVBoGi9/MRGVZIcayEobZtVY0dVY0RitiVrFc
VddiQYMLYYE1w9SYCa2VNmwiKqHBOgo2WrjXJS7pTBSSaynMwLMCahKXJ/jD
qsszmsFk2bfAPnt7eHTx8QzkLQ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