We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description The equivalent of java.net.URI.relativize(uri: URI)
java.net.URI.relativize(uri: URI)
It should work with relative URLs applied to relative URLs as well as absolute Urls applied to absolute ones.
Url("https://bblfish.net/people/") .relativize("https://bblfish.net/people/henry/card#me") == Url("henry/card#me")
There could also be a slightly more advanced version that could follow through parent hierarchies, perhaps something like
Url("https://bblfish.net/people/henry/") .relativize2("https://bblfish.net/people/tini/pix/cat.jpg") == Url("../henry/pix/cat.jpg")
The text was updated successfully, but these errors were encountered:
Note: I have a PR that builds on lemon labs URI and test suites here. (Btw. Java URL normalization don't replace default ports I noticed...)
https://github.com/banana-rdf/banana-rdf/pull/379/files#diff-9ab8031fc5aa2672acd07b807d370de6760feeef2b23864f63e10c8de8365c40
Sorry, something went wrong.
Oops, I don't know why I closed this...
theon
No branches or pull requests
Description
The equivalent of
java.net.URI.relativize(uri: URI)
It should work with relative URLs applied to relative URLs as well as absolute Urls applied to absolute ones.
There could also be a slightly more advanced version that could follow through parent hierarchies, perhaps something like
The text was updated successfully, but these errors were encountered: