Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cupakromer/4def805dfd5959d695f8 to your computer and use it in GitHub Desktop.
Save cupakromer/4def805dfd5959d695f8 to your computer and use it in GitHub Desktop.
foo://username:[email protected]:8042/over/there/index.dtb?type=animal&name=narwhal#nose
\_/ \_______________/ \_________/ \__/ \___/ \_/ \______________________/ \__/
| | | | | | | |
| userinfo host port | | query fragment
| \________________________________/\_____________|____|/ \__/ \__/
scheme | | | | | |
name authority | | | | |
| path | | interpretable as keys
| | |
| \_______________________________________________|____|/ \____/ \_____/
| | | | | |
scheme hierarchical part | | interpretable as values
name | |
| path interpretable as filename |
| ___________|____________ |
/ \ / \ |
urn:example:animal:ferret:nose interpretable as extension
path
_________|________
scheme / \
name userinfo hostname query
_|__ ___|__ ____|____ _____|_____
/ \ / \ / \ / \
mailto:[email protected]?subject=Topic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment