Skip to content

Commit 240dc5d

Browse files
committed
Mention the special processing for responses to multicast requests
1 parent a834f66 commit 240dc5d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

draft-bormann-core-corr-clar.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ normative:
3434
RFC8323: coap-tcp
3535
informative:
3636
RFC8516: RC429
37+
I-D.bormann-core-responses: responses
3738
Err4954: 7252
3839
Err5078: 7252
3940

@@ -195,6 +196,33 @@ INCOMPLETE; FORMAL ADDITION (Section 1.2):
195196

196197
PENDING.
197198

199+
Note that a similar, but distinct concept is the "base URI", relative
200+
to which relative URIs are resolved.
201+
This is more complex in CoAP than in HTTP because CoAP can multicast
202+
requests {{Section 8 of -coap}}, expecting unicast responses; these need
203+
to be interpreted relative to the unicast source address from which
204+
the responses come.
205+
206+
{{Section 8.2 of -coap}} has:
207+
208+
{:quote}
209+
> For the purposes of interpreting the Location-* options and any links
210+
embedded in the representation, the request URI (i.e., the base URI
211+
relative to which the response is interpreted) is formed by replacing
212+
the multicast address in the Host component of the original request
213+
URI by the literal IP address of the endpoint actually responding.
214+
215+
Similarly, {{Section 8.2.1 of -coap}} (Caching) says:
216+
217+
{:quote}
218+
> A response received in reply to a GET request to a multicast group
219+
MAY be used to satisfy a subsequent request on the related unicast
220+
request URI. The unicast request URI is obtained by replacing the
221+
authority part of the request URI with the transport-layer source
222+
address of the response message.
223+
224+
Further discussion of a more generalized response concept can be found in
225+
{{-responses}}.
198226

199227

200228
## RFC7252-5.10.5: Max-Age

0 commit comments

Comments
 (0)