我正在从 RFC 添加以缩写 URI 为中心的详细信息以及一些正在使用的示例:
发件人,
http://www.faqs.org/rfcs/rfc2396.html
本文档更新并合并了“统一资源定位符”
[RFC1738] 和“相对统一资源定位符”[RFC1808] 按顺序
为所有 URI 定义一个单一的通用语法。
还有,
1.1 URI概述
URI 具有以下定义:
Uniform
Uniformity provides several benefits: it allows different types
of resource identifiers to be used in the same context, even
when the mechanisms used to access those resources may differ;
it allows uniform semantic interpretation of common syntactic
conventions across different types of resource identifiers; it
allows introduction of new types of resource identifiers
without interfering with the way that existing identifiers are
used; and, it allows the identifiers to be reused in many
different contexts, thus permitting new applications or
protocols to leverage a pre-existing, large, and widely-used
set of resource identifiers.
Resource
A resource can be anything that has identity. Familiar
examples include an electronic document, an image, a service
(e.g., "today's weather report for Los Angeles"), and a
collection of other resources. Not all resources are network
"retrievable"; e.g., human beings, corporations, and bound
books in a library can also be considered resources.
The resource is the conceptual mapping to an entity or set of
entities, not necessarily the entity which corresponds to that
mapping at any particular instance in time. Thus, a resource
can remain constant even when its content---the entities to
which it currently corresponds---changes over time, provided
that the conceptual mapping is not changed in the process.
Identifier
An identifier is an object that can act as a reference to
something that has identity. In the case of URI, the object is
a sequence of characters with a restricted syntax.
以下是一些正在使用的:
1.3。示例 URI
以下示例说明了常用的 URI。
ftp://ftp.is.co.za/rfc/rfc1808.txt
-- 文件传输协议服务的 ftp 方案
gopher://spinaltap.micro.umn.edu/00/Weather/California/Los%20Angeles
-- Gopher 和 Gopher+ 协议服务的 gopher 方案
http://www.math.uio.no/faq/compression-faq/part1.html
-- 超文本传输协议服务的http方案
mailto:mduerst@ifi.unizh.ch
-- 电子邮件地址的 mailto 方案
新闻:comp.infosystems.www.servers.unix
-- USENET 新闻组和文章的新闻方案
telnet://melvyl.ucop.edu/
-- 通过 TELNET 协议进行交互服务的 telnet 方案