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

Consider creating a RFC for base functionality #180

Closed
pmeenan opened this issue Jul 24, 2023 · 2 comments
Closed

Consider creating a RFC for base functionality #180

pmeenan opened this issue Jul 24, 2023 · 2 comments

Comments

@pmeenan
Copy link

pmeenan commented Jul 24, 2023

It might be worthwhile to create an internet draft/RFC for the core functionality of URL matching and constructing an URLPattern from an input string. That would make it possible (or at least easier) to use for parts of the stack outside of WICG.

As a concrete example, we're working on Compression Dictionary content encoding which is negotiated at the HTTP layer and uses a URL match pattern for the compression dictionaries. Parts of it will end up in the fetch and HTML specs but the core functionality is going to be in a RFC. Currently it's a simple wildcard expansion but the use case is not significantly different from the service worker routing use cases (and the web extension URL filter use case).

@domenic
Copy link
Member

domenic commented Jul 25, 2023

Why would this make it easier? IETF specs are able to refer to web specs, and do so frequently.

@pmeenan
Copy link
Author

pmeenan commented Jul 25, 2023

Thanks, good to know. I haven't seen any of the HTTP RFCs refer to whatwg specs (usually see it the other way around) but it could just be my limited exposure to date.

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

No branches or pull requests

2 participants