This theme is built with awescnb.|

Little_Monster-lhq

园龄:5年9个月粉丝:26关注:18

2022-09-13 18:31阅读: 47评论: 0推荐: 0

URI与URL的区别

URI 统一资源标识符:用来标识Web上可访问的任意类型的资源(HTML,视频·,音频,程序)
image
唯一资源标识符不是固定的,而是相对的。主要作用就是用于与其他资源区别开来的一个标识符。

URI由三部分组成:

1:访问资源的命名机制:比如:com(公司)、gov(政府机构)、edu(教育机构)

2:存放资源的主机名(计算机的IP号)

3:标识资源自身的路径

URL 统一资源定位符:是Internet资源的地址,用来定义引用地址的字符串,用于定位一个资源的位置以及它所使用的的协议

我们在浏览器上访问某个网站上,所在上面输入的一串字符串内容,比如“http://www.baidu.com” 就是一个URL

URL中描述了协议,用于检索资源和资源名称。如果是web上的资源,所用的协议就是http或者https。如果资源是文件类型的,那么使用的协议就是ftp。如果资源是邮件类型的,那使用的协议就是 mailto

URL由七部分组成:

1:所使用的协议(http,ftp)

2:服务器的位置(IP号)

3:服务器上的端口号(0~65535)

4:资源所在的路径

5:参数(访问该资源所带的参数)

6:片段(发给http服务器的数据)

image

URI与URL之间的区别:

1:URI是URL的一个父类,URL是URI的一个子集。

2:不是包含关系,而是类似与java中的一个继承关系(继承:子类在允许的范围内拥有了父类定义的属性和方法,并可以在此基础上进行扩展)

本文作者:Little_Monster-lhq

本文链接:https://www.cnblogs.com/little-monster-lhq/p/16690327.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   Little_Monster-lhq  阅读(47)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 IVORY TOWER - 虞万殊
  2. 2 I Really Like You - Carly Rae Jepsen
  3. 3 404 not found REOL
  4. 4 不暧昧 - 徐秉龙,黄星侨
I Really Like You - - Carly Rae Jepsen
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.

作词 : Carly Rae Jepsen

作曲 : Carly Rae Jepsen

I really wanna stop

But I just gotta taste for it

I feel like I could fly with the ball on the moon

So honey hold my hand you like making me wait for it

I feel I could die walking up to the room, oh yeah

Late night watching television

But how we get in this position?

It's way too soon, I know this isn't love

But I need to tell you something

I really really really really really really like you

And I want you, do you want me, do you want me, too?

I really really really really really really like you

And I want you, do you want me, do you want me, too?

Oh, did I say too much?

I'm so in my head

When we're out of touch

I really really really really really really like you

And I want you, do you want me, do you want me, too?

It's like everything you say is a sweet revelation

All I wanna do is get into your head

Yeah we could stay alone, you and me, and this temptation

Sipping on your lips, hanging on by thread, baby

Late night watching television

But how we get in this position?

It's way too soon, I know this isn't love

But I need to tell you something

I really really really really really really like you

And I want you, do you want me, do you want me, too?

I really really really really really really like you

And I want you, do you want me, do you want me, too?

Oh, did I say too much?

I'm so in my head

When we're out of touch

I really really really really really really like you

And I want you, do you want me, do you want me, too?

Who gave you eyes like that?

Said you could keep them

I don't know how to act

The way I should be leaving

I'm running out of time

Going out of my mind

I need to tell you something

Yeah, I need to tell you something

Yeah I really really really really really really like you

And I want you, do you want me, do you want me, too?

I really really really really really really like you

And I want you, do you want me, do you want me, too?

Oh, did I say too much?

I'm so in my head

When we're out of touch

I really really really really really really like you

And I want you, do you want me, do you want me, too?

I really really really really really really like you

And I want you, do you want me, do you want me, too?

I really really really really really really like you

And I want you, do you want me, do you want me, too?