<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>The journey of a request on Staticvar Learn</title><link>https://learn.staticvar.dev/courses/how-the-web-works/01-the-journey/</link><description>Recent content in The journey of a request on Staticvar Learn</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://learn.staticvar.dev/courses/how-the-web-works/01-the-journey/index.xml" rel="self" type="application/rss+xml"/><item><title>A URL is a plan</title><link>https://learn.staticvar.dev/courses/how-the-web-works/01-the-journey/01-a-url-is-a-plan/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn.staticvar.dev/courses/how-the-web-works/01-the-journey/01-a-url-is-a-plan/</guid><description>When you type an address into a browser, you are not simply naming a page. You are giving the browser a compact plan: how to communicate, where to go, and what to ask for.
The parts of a URL Consider this address:
https://learn.staticvar.dev/courses/web?mode=quick#dns Each part has a job:
Part Example Meaning Scheme https The protocol and security expectations Host learn.staticvar.dev The named destination Path /courses/web The resource being requested Query mode=quick Optional inputs for the server Fragment dns A location within the returned page The fragment is special: browsers normally use it locally.</description></item><item><title>The HTTP conversation</title><link>https://learn.staticvar.dev/courses/how-the-web-works/01-the-journey/02-http-conversation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn.staticvar.dev/courses/how-the-web-works/01-the-journey/02-http-conversation/</guid><description>HTTP is the language browsers and web servers use to exchange messages. Its core pattern is deliberately simple: a client sends a request, and a server returns a response.
A request has intent GET /courses/web HTTP/1.1 Host: learn.staticvar.dev Accept: text/html The method GET says what the client intends to do. The path identifies the resource. Headers add context such as the desired response format.
A response reports an outcome HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Content-Length: 4280 &amp;lt;!</description></item></channel></rss>