<?xml version="1.0" encoding="US-ASCII"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>

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

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<?rfc comments="yes"?>

<rfc submissionType="IETF" ipr="trust200902" number="8307" category="std" consensus="yes" updates="6455">

  <front>
    <title>Well-Known URIs for the WebSocket Protocol</title>

    <author initials="C." surname="Bormann" fullname="Carsten Bormann">
      <organization>Universitaet Bremen TZI</organization>
      <address>
        <postal>
          <street>Postfach 330440</street>
          <city>Bremen</city>
          <code>D-28359</code>
          <country>Germany</country>
        </postal>
        <phone>+49-421-218-63921</phone>
        <email>cabo@tzi.org</email>
      </address>
    </author>

    <date year="2017" month="December"/>

 

    <abstract>


<t>RFC 5785 defines a path prefix, "/.well-known/", that can be used by
well-known URIs.  It was specifically defined for the <spanx style="verb">http</spanx> and <spanx style="verb">https</spanx> URI schemes.
The present memo formally updates RFC 6455, which defines the URI
schemes defined for the WebSocket Protocol, to extend the use of these
well-known URIs to those URI schemes.</t>



    </abstract>


  </front>

  <middle>


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

<t><xref target="RFC5785"/> defines a path prefix, "/.well-known", that can be used by
well-known URIs.  It also contains an IANA registry for URI suffixes to be
used with this path prefix for forming well-known URIs.</t>

<t>In <xref target="RFC5785"/>, this mechanism is specifically defined
for the <spanx style="verb">http</spanx> and <spanx
style="verb">https</spanx> URI schemes (now defined in <xref
target="RFC7230"/>).  Other URI schemes such as <spanx
style="verb">coap</spanx> and <spanx style="verb">coaps</spanx> <xref
target="RFC7252"/> have since picked up this mechanism, sharing the
registry of URI suffixes with that for HTTP(S).</t>

<t><xref target="RFC6455"/>, which defines the URI schemes defined for
the WebSocket Protocol, <spanx style="verb">ws</spanx> and <spanx
style="verb">wss</spanx>, does not define the use of well-known URIs
for these URI schemes.</t>

<t>The present memo formally updates <xref target="RFC6455"/> to
extend the use of <xref target="RFC5785"/> well-known URIs to the URI
schemes <spanx style="verb">ws</spanx> and <spanx
style="verb">wss</spanx>.</t>

<t>Well-known URIs for <spanx style="verb">ws</spanx> and <spanx
style="verb">wss</spanx> share the registry for URI suffixes
established by <xref target="RFC5785"/>; no change is necessitated by
the present memo in the registry or its IANA considerations.</t>

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

<t>This document does not require any IANA actions.</t>


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

<t>The Security Considerations of <xref target="RFC5785"/> apply and
need to be considered for all well-known URIs.</t>

<t>It has always been possible to form <spanx style="verb">ws</spanx>
and <spanx style="verb">wss</spanx> URIs in such a way that they map
to well-known HTTP(S) URIs when using the procedure in Section 4 of
<xref target="RFC6455"/>; no new security considerations
are created by now formally making the well-known URI mechanism
available for <spanx style="verb">ws</spanx> and <spanx
style="verb">wss</spanx>.</t>

<t>However, with well-known URIs becoming available for the WebSocket
Protocol, applications that want to define well-known URI suffixes
specifically for WebSocket use also need to consider whether the
resources becoming available under the equivalent HTTP(S) URI formed
by Section 4 of <xref target="RFC6455"/> pose any information disclosure or other
security considerations.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>

<?rfc include="reference.RFC.5785"?>
<?rfc include="reference.RFC.6455"?>



    </references>

    <references title='Informative References'>

<?rfc include="reference.RFC.7230"?>
<?rfc include="reference.RFC.7252"?>
    </references>



  </back>
</rfc>
