On 2022-10-26, at 16:57, Esko Dijk <esko.d...@iotconsultancy.nl> wrote:
> 
> I'm not 100% sure if for a resource at the root (/), one Uri-Path Option with 
> 0 length is needed or if 0 Uri-Path Options can be used.  Or if both methods 
> would be valid.

That is a well-known idiosyncracy in the URI format.

Have a look at:
https://www.rfc-editor.org/rfc/rfc7252#section-6.4

Step 8 treats coap://foo and coap://foo/ in the same way:

       If the value of the <path> component of |url| is empty or
       consists of a single slash character (U+002F SOLIDUS "/"), then
       move to the next step.

(The rest of step 8 would have created the Uri-Path options.)

Grüße, Carsten

_______________________________________________
Anima mailing list
Anima@ietf.org
https://www.ietf.org/mailman/listinfo/anima

Reply via email to