Closed csosto-pk closed 5 years ago
I saw http://www.example.com/sensors/t123;anchor="/sensors/temp";rel="describedby in a couple of examples in RFC6690. I also saw it in https://tools.ietf.org/html/draft-ietf-core-resource-directory that shows
"Res: 2.05 Content coap://[2001:db8:3::123]:61616/temp;rt="temperature"; anchor="coap://[2001:db8:3::123]:61616"
Jim suggested the anchor is not needed, but I think the example is OK to include the port.
Klaus is confirming.
I'm not sure. RFC 6690 is really weird. Let me get back to you on this.
From Jim
RFC 6690 references to 3986 for URI-reference RFC 3986 defines the following ABNF URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] hier-part = "//" authority path-abempty / path-absolute / path-rootless / path-empty URI-reference = URI / relative-ref authority = [ userinfo "@" ] host [ ":" port ] Thus yes port is just fine to include
So closing this issue as it looks OK to use the ports.
From Klaus