RFC Errata
RFC 7252, "The Constrained Application Protocol (CoAP)", June 2014
Source of RFC: core (app)
Errata ID: 4947
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Klaus Hartke
Date Reported: 2017-02-22
Section 6.2 says:
coaps-URI = "coaps:" "//" host [ ":" port ] path-abempty [ "?" query ]
It should say:
coaps-URI = "coaps:" "//" host [ ":" port ] path-abempty [ "?" query ] [ "#" fragment ]
Notes:
The optional fragment component allows for indirect identification of a secondary resource, as defined in Section 3.5 of RFC 3986. The fragment identifier is separated from the rest of the URI prior to a dereference; fragment identifiers are processed client-side and are not included in CoAP requests. The original text shows the syntax of coaps:// URIs _after_ separating the fragment identifier, which leaves ambiguity as to whether fragment identifiers are supported or not. The corrected text shows the syntax of CoAP URIs _before_ separating the fragment identifier, which makes clear that fragment identifiers are supported.