Difference between URI and URL

Possible duplicate:
What is the difference between a URI and a URL?

How do URIs and URLs differ?

+3
source share
7 answers

A URL is a type of URI .

Having said that, most people use these two terms interchangeably.

From wikipedia (URL):

In computing, a Uniform Resource Locator (URL) is a Uniform Resource Identifier (URI) that indicates where an identified resource is available and the mechanism for retrieving it.

So, the URI identifies the resource (acts as its identifier), the URL indicates the location of the resource.

+5
source

Find the details URI.

Diff between URL and URI

+2
source

URI -

URL -

URI .

URL- , , URL .

URI , . URI .

+2

RFC 2396 ,

   A URI can be further classified as a locator, a name, or both.  

   The term "Uniform Resource Locator" (URL) refers to the subset of URI
   that identify resources via a representation of their primary access
   mechanism (e.g., their network "location"), rather than identifying
   the resource by name or by some other attribute(s) of that resource.

   The term "Uniform Resource Name" (URN) refers to the subset of URI
   that are required to remain globally unique and persistent even when
   the resource ceases to exist or becomes unavailable.
+2

Google

0
0

Source: https://habr.com/ru/post/1775162/


All Articles