@@ -34,6 +34,7 @@ normative:
34
34
RFC8323 : coap-tcp
35
35
informative :
36
36
RFC8516 : RC429
37
+ I-D.bormann-core-responses : responses
37
38
Err4954 : 7252
38
39
Err5078 : 7252
39
40
@@ -195,6 +196,33 @@ INCOMPLETE; FORMAL ADDITION (Section 1.2):
195
196
196
197
PENDING.
197
198
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}}.
198
226
199
227
200
228
# # RFC7252-5.10.5: Max-Age
0 commit comments