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

Target-URI is absolute #636

Closed
mnot opened this issue Jan 4, 2021 · 4 comments · Fixed by #656
Closed

Target-URI is absolute #636

mnot opened this issue Jan 4, 2021 · 4 comments · Fixed by #656

Comments

@mnot
Copy link
Member

mnot commented Jan 4, 2021

Considerations for new method should mention that the target URI has to be absolute.

from ietf-wg-masque/draft-ietf-masque-connect-udp#23

@mnot mnot added the semantics label Jan 4, 2021
@DavidSchinazi
Copy link

+1, thanks for filing!

@reschke
Copy link
Contributor

reschke commented Jan 5, 2021

We currently say:

A URI reference is resolved to its absolute form in order to obtain the "target URI". The target URI excludes the reference's fragment component, if any, since fragment identifiers are reserved for client-side processing ([RFC3986], Section 3.5).

Isn't that sufficiently clear?

@DavidSchinazi
Copy link

It wasn't clear to me because I didn't read the whole doc when I was searching for this information.

@royfielding
Copy link
Member

It's weird to say this because a URI is always in absolute form (part of what makes it Uniform). Only a reference can be relative, like within the request-target of 1.1 (absolute-path) or anything called a URI-reference.

I think what you want to add is a reminder that new method extensions cannot use the host:port or asterisk forms of request target. Note that this only requires a request target in absolute form if the scheme or host:port are necessary to define the target, which they are for CONNECT-UDP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

4 participants