Last active
May 10, 2017 09:50
-
-
Save practice/319fa51d790ee8aa08a414b8608e2d78 to your computer and use it in GitHub Desktop.
URI test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (let [uri (URI. "ceds://host.net/path1/p2?quiet#myidw")] | |
| [(.getHost uri) (.getPath uri) (.getScheme uri) (.getQuery uri) (.getFragment uri)]) | |
| ==> ["host.net" "/path1/p2" "ceds" "quiet" "myidw"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.