From : http://en.wikipedia.org/wiki/URI_scheme
---------------------------------------------
RFC3986: http://tools.ietf.org/html/rfc3986
General Syntax:
<scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]
Examples:
foo://username:password@example.com: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:username@example.com?subject=Topic文章標籤
全站熱搜
