Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"request URI" not defined #10

Open
cdh4u opened this issue Oct 14, 2019 · 3 comments
Open

"request URI" not defined #10

cdh4u opened this issue Oct 14, 2019 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@cdh4u
Copy link

cdh4u commented Oct 14, 2019

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).

@ektrah
Copy link

ektrah commented Oct 14, 2019

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).

@cabo cabo transferred this issue from core-wg/corrclar-old Jul 22, 2023
@cabo cabo added the documentation Improvements or additions to documentation label Jun 16, 2024
@cabo cabo closed this as completed in a834f66 Jul 2, 2024
cabo added a commit that referenced this issue Jul 2, 2024
Close #10: "request URI" not defined
@cabo
Copy link
Member

cabo commented Jul 2, 2024

Reopen due to large PENDING

@cabo cabo reopened this Jul 2, 2024
@chrysn
Copy link
Member

chrysn commented Sep 30, 2024

Let's try to enumerate all the URIs that come with a CoAP request/response:

  • The "Request URI", eg. coap://[ff02::1]/foo. Described in this document since Close #10: "request URI" not defined #33
  • The URI that was actually acted on, which the client (in the multicast case) only learns when a response comes, eg coap://[2001:db8::1]/foo. I'm not sure this is relevant anywhere other than being the starting point for the next step.
  • The URI that the response tells us something about, which is different from the acted-on URI when there are Location options. If there is a response body, that is also the base URI for resolving URI references in the response body. Eg. if the Location was ["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 .
  • The URI the of the client for when a role reversal happens. This has no path components so it may be coap://[2001:db8::2]:61616. In some transports that may not be expressible or limited in its usefulness (a TCP client has a port but only the connected server can send). This is relevant eg. for a Resource Directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants