当前位置:网站首页>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
- What if the hard disk fails to recognize how to recover data
- Use some examples of qte5
- Awk of shell script
- Parsing rshub document auto generation API
- What are the uses of static?
- Rearrangement string of leetcode simple question
- Testing grpc service with grpcui
- Meta metauniverse female safety problems occur frequently. How to solve the relevant problems in the metauniverse?
- VLAN experiment
猜你喜欢

Sailing with karmada: multi cluster management of massive nodes

Blip: conduct multimodal pre training with cleaner and more diverse data, and the performance exceeds clip! Open source code

Hyperledger Fabric 2. X custom smart contract

Internet enterprises need CRM software to help

Rearrangement string of leetcode simple question

Modularization and modular specification commonjs

Leetcode simple problem building arrays with stack operation
![[high concurrency] deeply analyze the callable interface](/img/17/93056547aa1a2b342e1b159b7c41c2.jpg)
[high concurrency] deeply analyze the callable interface

Call the computer calculator and use it to convert several base numbers

The simple problem of leetcode is to divide an array into three parts equal to sum
随机推荐
[high concurrency] deeply analyze the callable interface
Establishing the development environment of esp8266
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
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
5,10,15,20-tetra (3,5-dimethoxyphenyl) porphyrin ((tdmpp) H2) /2-nitro-5,10,15,20-tetra (3,5-dimethoxyphenyl) porphyrin copper (no2tdmpp) Cu) supplied by Qiyue
Week 12 - task 2- shoulder to shoulder cadres
Conditional test, if and case conditional test statements of shell script
Jenkins operation Chapter 6 mail server sending build results
Implementation of queue
2022-02 Microsoft vulnerability notification
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
Why Houdini made the pyside2 plug-in crash
The generation of leetcode simple questions each character is an odd number of strings
Week 10 - task 1- fill in the blank: line class inherits point class
Leetcode theme [array] -217- there are duplicate elements
Openfpga wishes you a happy Lantern Festival!
Design risc-v processor from scratch -- data adventure of five stage pipeline
Top ten Devops best practices worthy of attention in 2022
Embedded RTOS
Skills of writing test cases efficiently