A URI scheme is the top level of the URI naming structure. All absolute URIs are formed with a scheme name, followed by a colon character, and the remainder of the URI called the scheme-specific part. The syntax and semantics of the scheme-specific part are left largely to the specifications governing individual schemes, subject to certain constraints such as reserved characters and how to "escape" them.
URI schemes are sometimes erroneously referred to as "protocols", or specifically as URI protocols or URL protocols, since most are associated with particular protocols, and often have the same name. The
URI schemes should be registered with IANA, although many non-registered schemes are used in practice. RFC 2717 describes the procedures for registering new URI schemes. RFC 2718 provides guidelines for the development of new URI schemes. Both of these RFCs are currently undergoing revision.
http:". This is defined as consisting of four parts, as follows:
://?
The "authority" part is further broken down, for schemes representing IP-based protocols, into an optional username:password@), a hostname (i.e. domain name or IP address), and an optional port number (see TCP and UDP ports) preceded by ":".
The
The http: URIs as a sequence of pairs, separated by "&", e. g. key1=value1&key2=value2&key3=value3.
Thus a full example, for referencing an HTTP resource, would be:
In practice, the
| Scheme | Purpose | Defined by | General format | Notes | - | Official IANA-registered schemes | - | http: | HTTP resources | RFC 2616 | generic syntax | https: | HTTP connections secured using SSL/TLS | RFC 2817 | generic syntax | ftp: | FTP resources | RFC 1738 | generic syntax | mailto: | SMTP e-mail messages and content | RFC 2368 | | Headers are optional, but often include "subject"; body= can be used to pre-fill the body of the message.
| file: | addressing files on local or network file systems | RFC 1738 | generic syntax (often appears as file:///path, the 3rd '/' representing the root directory of the local system) | Unusual in not being bound to any network protocol, and not usable in an Internet context. | urn: | Uniform Resource Names | RFC 2141 | urn: | URI scheme | inclusion of small data items inline | RFC 2397 | data: | news: | (Usenet) newsgroups and postings | RFC 1738 | or | References a particular resource, regardless of location. | nntp: | Usenet NNTP | RFC 1738 | | Referencing a specific host is often less useful than referencing the resource generically, as NNTP servers are not always publically accessible | imap: | accessing mailbox through IMAP | RFC 2192 | pop: | accessing mailbox through POP3 | RFC 2384 | pres: | Used in Common Profile for Presence to identify presentitis | RFC 3859 | | Similar to "mailto:" | sip: | used with Session Initiation Protocol (SIP) | RFC 3969 RFC 3261 | sips: | secure equivalent of sip: | RFC 3969 RFC 3261 | ldap: | LDAP directory request | RFC 2255 RFC 4516 | tel: | used for telephone numbers | RFC 3966 | | telnet: | used with telnet | RFC 4248 | nfs: | Network File System resources | RFC 2224 | generic syntax | wais: | used with Wide area information server (WAIS) | RFC 4156 | gopher: | used with Gopher protocol | RFC 4266 ? | | cid: | accessing body parts inside a message | RFC 2392 | | Used inside a message to refer to other parts of the same message. | mid: | accessing messages or parts of messages | RFC 2392 | or | Used to refer to messages or parts of a message | -- | Unofficial but common URI schemes | URI scheme | Displaying product information and internal information | Un-standardised | Widely used by web browsers, sometimes even providing interactive resources | aim: | Launching AOL Instant Messenger conversations | AOL | aim:goim?screenname= | callto: | Launching Skype call | Skype | callto:// | Works with current version of *" target="_blank" >and [Internet Explorer | skype: | Launching Skype call (official) | Skype | skype: | Official documentation from Skype website | URI scheme | resources available using the eDonkey2000 network | eDonkey2000 | Links to servers are also possible, as are additional parameters. | URI scheme | web feed subscription | feed:* | lastfm: | Launching Lastfm music client | Lastfm | lastfm://globaltags/ or lastfm://user/ | URI scheme | "magnet links" | magnet:?xt=urn:sha1: (other parameters are also possible) | Used by various peer-to-peer clients, usually providing the hash of a file to be located on the network. | xfire: | Adding friends and servers, joining servers, changing status text. | Xfire | xfire: | Official documentation from Xfire website | xmpp: | XMPP (Jabber) | Jabber SoftwareFoundation | Unofficial, unused, and unknown (not obsolete) URI schemes | netcmd: | Running NetCMD commands without telnet through the NetCMD Command Engine | The NetCMD Project | netcmd: | worldnet: | Accessing data on the WorldNet information network (Similar to http:) | The NetCMD Project | worldnet:// | Scheme | Purpose | Defined by | General format | Notes |
|---|
This article is licensed under the GNU Free Documentation License.
It uses material from the
"URI scheme".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world