URI和URL的区别 一起学习呗
2016-10-09 23:17
316 查看
一直存在很多技术上的争论,其中最为妙的恐怕就是web地址应该叫什么的问题。通常情况就是这样:有人把地址栏的内容叫“URL”,这时候有些人就来劲了:“不!其实那就是URI。。。”
“URI可以分为URL,URN或同时具备locators 和names特性的一个东西。URN作用就好像一个人的名字,URL就像一个人的地址。换句话说:URN确定了东西的身份,URL提供了找到它的方式。”
ftp://ftp.is.co.za/rfc/rfc1808.txt (also a URL because of the protocol)
http://www.ietf.org/rfc/rfc2396.txt (also a URL because of the protocol)
ldap://[2001:db8::7]/c=GB?objectClass?one (also a URL because of the protocol)
mailto:John.Doe@example.com (also a URL because of the protocol)
news:comp.infosystems.www.servers.unix (also a URL because of the protocol)
tel:+1-816-555-1212
telnet://192.0.2.16:80/ (also a URL because of the protocol)
urn:oasis:names:specification:docbook:dtd:xml:4.1.2
这些全都是URI, 其中有些是URL. 哪些? 就是那些提供了访问机制的
“URI可以分为URL,URN或同时具备locators 和names特性的一个东西。URN作用就好像一个人的名字,URL就像一个人的地址。换句话说:URN确定了东西的身份,URL提供了找到它的方式。”
ftp://ftp.is.co.za/rfc/rfc1808.txt (also a URL because of the protocol)
http://www.ietf.org/rfc/rfc2396.txt (also a URL because of the protocol)
ldap://[2001:db8::7]/c=GB?objectClass?one (also a URL because of the protocol)
mailto:John.Doe@example.com (also a URL because of the protocol)
news:comp.infosystems.www.servers.unix (also a URL because of the protocol)
tel:+1-816-555-1212
telnet://192.0.2.16:80/ (also a URL because of the protocol)
urn:oasis:names:specification:docbook:dtd:xml:4.1.2
这些全都是URI, 其中有些是URL. 哪些? 就是那些提供了访问机制的
相关文章推荐
- 学习笔记---URL和URI的区别, 强制类型转换和AS转换
- 爬虫技术 -- 基础学习(三)理解URL和URI的联系与区别
- 计算机网络学习1:HTTP协议中URL和URI的区别
- 一起谈.NET技术,URI和URL及URN的区别
- URI , URL , URN 联系与区别
- URI和URL的区别
- URI和URL的区别
- URI和URL的区别
- URL、URN、URI的简要区别
- URI、URL、URN的原理、区别及JAVA的实现
- URI和URL的区别
- URI和URL的区别
- URI, URL和URN的区别
- Request中getContextPath、getServletPath、getRequestURI、getRequestURL、getRealPath的区别
- URI、URL和URN之间的区别与联系
- URI 和URL区别
- URL与URI的区别
- URI、URL和URN之间的区别与联系
- URI 与 URL区别
- URI和URL的区别(转)