当前位置:网站首页>Difference between URI and URL
Difference between URI and URL
2022-06-29 06:03:00 【Leave blank -mise】
URI Uniform resource identifiers : Used to identify Web Any type of resource accessible on (HTML, video ·, Audio , Program )
For example, there is a need to find a book in a city library ( Books are also resources ): The location of this book is “ Building the fourth floor of the third bookshelf in the literature area of luhaowu library 《XXX》”
“《XXX》” be relative to “ The fourth floor of the third bookshelf in the literature area “ It's an identifier
“ On the fourth floor of the third bookshelf in the literature section 《XXX》“ be relative to “ Build the road good things library ” It's an identifier
The unique resource identifier is not fixed , It's relative . Its main function is to distinguish it from other resources .
URI It's made up of three parts :
1: The naming mechanism for accessing resources : such as :com( company )、gov( government organs )、edu( educational services )
2: Host name of the resource ( The computer IP Number )
3: Identify the path of the resource itself
URL Uniform resource locator : yes Internet The address of the resource , The string used to define the reference address , Used to locate the location of a resource and the protocol it uses
We visit a website on a browser , The contents of a string entered above , such as “http://www.baidu.com” It's just one. URL
URL The protocol is described in , Used to retrieve resources and resource names . If it is web Resources on , The protocol used is http perhaps https. If the resource is of file type , Then the protocol used is ftp. If the resource is mail type , The protocol used is mailto
URL It consists of seven parts :
1: The protocol used (http,ftp)
2: Location of the server (IP Number )
3: Port number on the server (0~65535)
4: Path where the resource is located
5: Parameters ( Access the parameters of the resource )
6: fragment ( issue http Server data )

URI And URL The difference between :
1:URI yes URL A parent class of ,URL yes URI A subset of .
2: It's not an inclusion relationship , But similar to java An inheritance relationship in ( Inherit : The subclass has the properties and methods defined by the parent class within the allowed range , And can be extended on this basis )
边栏推荐
- HTTP Caching Protocol practice
- 64 commonly used terms for data analysis, really all!
- Week 12 - task 2- shoulder to shoulder cadres
- It turns out that the joys and sorrows of programmers are not interlinked
- Research Report on the new energy industry of recommended power equipment in 2022 industry development prospect market investment analysis (the attachment is a link to the network disk, and the report
- Skills of writing test cases efficiently
- Mongodb basic knowledge summary
- The first in China! CICA technology database antdb appears at the performance test tool conference of China Academy of communications technology
- How to use thread stack location
- AttributeError: module ‘torch. nn. Parameter 'has no attribute' uninitializedparameter 'solution
猜你喜欢

Design of leetcode simple problem goal parser

Tcapulusdb Jun · industry news collection (VI)

Ti Click: quickly set up tidb online laboratory through browser | ti- team interview can be conducted immediately

Love that can't be met -- what is the intimate relationship maintained by video chat

2022 recommended quantum industry research industry development planning prospect investment market analysis report (the attachment is a link to the online disk, and the report is continuously updated

Introduction to Photoshop (the first case)
![[C language series] - initial C language (4)](/img/3b/b20d6e0194f2114f8c27a17d58369a.jpg)
[C language series] - initial C language (4)

Analysis report on the investment market of the development planning prospect of the recommended rare earth industry research industry in 2022 (the attachment is a link to the online disk, and the rep

The generation of leetcode simple questions each character is an odd number of strings

Leetcode simple problem building arrays with stack operation
随机推荐
Devops development, operation and maintenance Basics: using Jenkins to automatically build projects and notify by email
Jenkins operation Chapter 6 mail server sending build results
Servlet version conflict causes page 404
Review of MySQL knowledge points
[C language series] - initial C language (4)
2022 recommended property management industry research report industry development prospect market investment analysis (the attachment is the link to the online disk, and the report is continuously up
Analysis report on the investment market of the development planning prospect of the recommended wind power industry research industry in 2022 (the attachment is a link to the network disk, and the re
Use some examples of qte5
The first commercial spacewalk of mankind is finalized! Musk SpaceX announced a new round of space travel plan, and the American rich became repeat customers
Problems with MySQL database query
Leetcode simple problem building arrays with stack operation
Segment in Lucene
Pytest (7) -yield and termination function
2022 recommended quantum industry research industry development planning prospect investment market analysis report (the attachment is a link to the online disk, and the report is continuously updated
(practice C language every day) matrix
HTTP Caching Protocol practice
There are two ways for golang to develop mobile applications
64 commonly used terms for data analysis, really all!
Plugin
Research Report on the recommended lithography industry in 2022 industry development prospect market investment analysis (the attachment is a link to the network disk, and the report is continuously u