Open cdh4u opened 5 years ago
Thanks! We should probably include some bits from section 2 of RFC 7230 on this (where it's called "target URI"). It might also be a good idea to emphasize the distinction between the concept (request URI) and its representation (Uri-* options).
Reopen due to large PENDING
Let's try to enumerate all the URIs that come with a CoAP request/response:
["a", "b"]
, that is coap://[2001:db8::1]/a/b. When there is no response body, that can still have an impact on caches. This may be related .As part of enumerating those URIs, we should also look at where the Reply-From option of https://www.ietf.org/archive/id/draft-ietf-core-groupcomm-proxy-02.html fits in here. @marco-tiloca-sics, can that be one of those 4 categories? (I'd guess it's the 2nd, because if there is a Location option…)
Yes, I think that the "Reply-From" option conceptually fits in the second category. More in detail:
The option conceptually provides the client with "instructions" about where to send a follow-up request that reaches the originator of the response.
In case the option is added by a forward-proxy or by a reverse-proxy that does not hide individual servers in the group, then the option specifies actual addressing information of the origin server. That's a strong fitting with the second category.
In case the option is added by a reverse-proxy that hides also the individual servers in the group, then the option specifies addressing information pertaining to the proxy, such a that a request sent there will be forwarded by the proxy to the server in the group that originated the response. It feels like even this case still fits the second category, although in a broader sense.
The RFC uses "request URI" terminology, but there is no definition or reference of what a request URI is.
Also, while the RFC document does describe how the request URI can be generated based on CoAP message elements, it is not very clear that the request URI is not a message element itself (in SIP, the request URI is part of the message syntax).