Uniform Resource Identifier

From WikiMD's Wellness Encyclopedia

Revision as of 18:04, 16 April 2024 by Prab (talk | contribs) (CSV import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

URI syntax diagram

Uniform Resource Identifier (URI) is a string of characters used to identify a resource on the Internet. It enables the identification of resources available over the network, such as web pages, images, and services, by location, name, or both. The concept of URIs is a fundamental component of the World Wide Web and is standardized by the Internet Engineering Task Force (IETF) in RFC 3986.

Overview[edit]

A URI provides a simple and extensible means for identifying a resource. It encompasses both Uniform Resource Locators (URLs), which are locators (addresses) of resources, and Uniform Resource Names (URNs), which are names for resources. While all URLs and URNs are URIs, not all URIs are URLs or URNs. The distinction lies in the fact that URLs describe the address at which a resource can be found, including the protocol required to retrieve it (e.g., HTTP, FTP), while URNs define a resource's identity in a namespace, independent of where it is located.

Syntax[edit]

The syntax of a URI is defined in RFC 3986. A URI consists of several components, some of which may be optional, depending on the type of URI. The general syntax is:

   scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]

- Scheme: Indicates the protocol to be used to access the resource (e.g., http, https, ftp). - User:Password: Optional credentials for accessing the resource. - Host: The domain name or IP address of the server hosting the resource. - Port: Optional port number if the service is running on a non-default port. - Path: The specific path to the resource on the server. - Query: Optional query parameters for accessing the resource. - Fragment: An optional fragment identifier for referring to a subsection of the resource.

Usage[edit]

URIs are used extensively on the Internet to locate and access resources. They are the foundation of web browsing, allowing web browsers to retrieve web pages, images, and other content from web servers. URIs are also used in many other contexts, such as in XML namespaces, to identify namespaces uniquely.

Encoding[edit]

Special characters in a URI must be percent-encoded to ensure they are correctly interpreted by web servers and clients. This involves replacing the character with a '%' followed by two hexadecimal digits representing the character's ASCII code. For example, spaces in a URI are replaced with '%20'.

Standardization[edit]

The standardization of URIs is crucial for ensuring interoperability across different systems and applications on the Internet. The IETF's RFC 3986 is the current standard that defines the syntax and semantics of URIs.

See Also[edit]

This article is a stub.

You can help WikiMD by registering to expand it.
Editing is available only to registered and verified users.
WikiMD is a comprehensive, free health & wellness encyclopedia.

Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Ad. Transform your life with W8MD's Budget GLP-1 injections from $75


W8MD weight loss doctors team
W8MD weight loss doctors team

W8MD offers a medical weight loss program to lose weight in Philadelphia. Our physician-supervised medical weight loss provides:

NYC weight loss doctor appointmentsNYC weight loss doctor appointments

Start your NYC weight loss journey today at our NYC medical weight loss and Philadelphia medical weight loss clinics.

Linkedin_Shiny_Icon Facebook_Shiny_Icon YouTube_icon_(2011-2013) Google plus


Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.