uri貌似屬于比較基本的一種協定,雖然我經常記不住它的具體格式。今天在wiki上看到一個比較詳細的格式描述,是以copy下來保留,僅此而已。
出自:http://en.wikipedia.org/wiki/uri_scheme
<scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]
the following figure displays two example uris (<code>foo://username:[email protected]:8042/over/there/index.dtb?type=animal&name=narwhal#nose</code> and<code>urn:example:animal:ferret:nose</code>) and their component parts. (the examples are derived from rfc 3986 — std 66, chapter 3).