Skip to content

Commit d01ecc8

Browse files
authored
Merge pull request #33 from core-wg/close-10
Close #10: "request URI" not defined
2 parents 897d1e5 + e51c7e7 commit d01ecc8

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

draft-bormann-core-corr-clar.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ normative:
3535
RFC8613: oscore
3636
informative:
3737
RFC8516: RC429
38+
I-D.bormann-core-responses: responses
3839
RFC3986: uri
3940
Err4895: 7252
4041
Err4954: 7252
@@ -183,6 +184,58 @@ as RFC nnnn-\<number>, where \<number> is the section number.
183184

184185
# RFC 7252
185186

187+
## RFC7252-1.2: Terminology (Request-URI)
188+
189+
{{RFC7252}} uses the term "request URI" repeatedly, but only provides a
190+
vague definition in {{Section 5.7.2 of RFC7252}}.
191+
Text should be added to the definitions in {{Section 1.2 (Terminology)
192+
of RFC7252}}.
193+
194+
{: vspace='0'}
195+
INCOMPLETE; FORMAL ADDITION (Section 1.2):
196+
: Request URI:
197+
: The URI that identifies a resource on a server intended to be
198+
addressed by a request; constructed from the context of the
199+
request combined with Options present in the request using the
200+
process defined in {{Section 6.5 (Composing URIs from Options) of
201+
RFC7252}}, see {{Section 5.7.2 (Forward-Proxies) of
202+
RFC7252}} for further details.
203+
Related to the HTTP concept of "target URI"; see {{Section 7.1
204+
(Determining the Target Resource) of ?RFC9110}}; previously called
205+
"effective request URI" in {{Section 5.5 (Effective Request URI) of
206+
?RFC7230}}.
207+
208+
PENDING.
209+
210+
Note that a similar, but distinct concept is the "base URI", relative
211+
to which relative URIs are resolved.
212+
This is more complex in CoAP than in HTTP because CoAP can multicast
213+
requests {{Section 8 of -coap}}, expecting unicast responses; these need
214+
to be interpreted relative to the unicast source address from which
215+
the responses come.
216+
217+
{{Section 8.2 of -coap}} has:
218+
219+
{:quote}
220+
> For the purposes of interpreting the Location-* options and any links
221+
embedded in the representation, the request URI (i.e., the base URI
222+
relative to which the response is interpreted) is formed by replacing
223+
the multicast address in the Host component of the original request
224+
URI by the literal IP address of the endpoint actually responding.
225+
226+
Similarly, {{Section 8.2.1 of -coap}} (Caching) says:
227+
228+
{:quote}
229+
> A response received in reply to a GET request to a multicast group
230+
MAY be used to satisfy a subsequent request on the related unicast
231+
request URI. The unicast request URI is obtained by replacing the
232+
authority part of the request URI with the transport-layer source
233+
address of the response message.
234+
235+
Further discussion of a more generalized response concept can be found in
236+
{{-responses}}.
237+
238+
186239
## RFC7252-5.10.5: Max-Age
187240

188241
In the discussion of {{-RC429}}, a comment was

0 commit comments

Comments
 (0)