rfc-7936

Clarifying Registry Procedures for the WebSocket Subprotocol Name Registry

T. Hardie
date2016-07 streamIETF wgnon working group statusPROPOSED STANDARD pages3 canonicalhttps://www.rfc-editor.org/rfc/rfc7936 doi10.17487/RFC7936
This document clarifies the instructions to IANA for the subprotocol registry set up for WebSockets in RFC 6455.

updates

Extracted elements (6)

design-rationale §2

Case-only variants of existing subprotocol names are refused to minimize potential confusion among different registered versions, even though matching is case-sensitive. This prevents a class of subtle interoperability bugs where implementations might differ only in capitalization.

websocket, registry

interoperability-note §2

Registrants seeking to avoid naming collisions in the WebSocket Subprotocol Name Registry are encouraged to consult the non-normative Section 1.9 of RFC 6455 for guidance beyond the case-folding restriction.

websocket, registry

normative-requirement §2 MUST NOT

IANA is instructed to decline registrations in the WebSocket Subprotocol Name Registry which differ from existing registrations only as to case, in order to minimize potential confusion among different registered versions.

websocket, registry

normative-requirement §2 REQUIRED

Tokens registered in the WebSocket Subprotocol Name Registry are matched using case-sensitive string match.

websocket, registry

registry §4

The WebSocket Subprotocol Name Registry (originally created by RFC 6455 Section 11.5) is clarified: registrations use First Come First Served procedures, tokens are case-sensitive, and case-only variants of existing registrations will be refused. Both RFC 6455 and RFC 7936 are listed as references for this registry.

websocket, registry

security-consideration §3

This document describes an update to registry policy rather than a protocol change; no new security considerations beyond those of RFC 6455 are introduced.

security, websocket