http://example.com/index.html
http:// : protocole
example.com : nom du serveur Web
/index.html : nom de la ressource
Une petite démo :
telnet example.com 80 # en HTTP openssl s_client -connect example.com:443 # en HTTPS HEAD /index.html HTTP/1.1 host: example.com GET /index.html HTTP/1.1 host: example.com
<!doctype html>
<html>
<head>
<title>Example Domain</title>
</head>
<body>
<div>
<h1>Example Domain</h1>
<p>This domain is established to be used for illustrative
examples in documents.
You may use this domain in examples without prior
coordination or asking for permission.</p>
<p><a href="http://www.iana.org/domains/example">More
information...</a></p>
</div>
</body>
</html>