Giter Club home page Giter Club logo

Comments (3)

hayatoito avatar hayatoito commented on June 12, 2024

I think the question is for "navigate-to-bundle" case. Although a web bundle format itself supports "a relative URL", I don't think that works for "navigate-to-bundle" case, where an absolute URL is required to make the navigation work.

@irori Do you have any insights? I think the answer would be "Unfortunately, a dummy absolute URL is required"...

from webpackage.

josephrocca avatar josephrocca commented on June 12, 2024

Thanks for your reply! Yes, this is in reference to the "navigate-to-bundle" case. If a special value/protocol/tld is unlikely to be created, then perhaps best practice could be to use .example as the TLD? It is apparently reserved:

By publication of RFC 2606 in 1999, the Internet Engineering Task Force reserved the DNS labels example, invalid, localhost, and test so that they may not be installed into the root zone of the Domain Name System.

The reason for reservation of these top-level domain names is to reduce the likelihood of conflict and confusion.[1] This allows the use of these names for either documentation purposes or in local testing scenarios.

https://en.wikipedia.org/wiki/.example

Although on second thought .example might be a bit confusing because it implies that it should be replaced with a "real" value. Something like http://webbundle/foo.html (similar to localhost usage) might be ideal? Not sure if that's a valid URL though.

from webpackage.

hayatoito avatar hayatoito commented on June 12, 2024

[Issue Triage]

It seems we can close this issue, in favor of #763.

from webpackage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.