How does a browser ask for a page?
01Follow GET /story to a server, read its response, try a missing page, then compare HTTP versions.
Your browser is the client: it asks for a page. The origin server is the server responsible for that page.
https://www.example.org/storyThe question: can this website send us /story?
Predict, then try
GET asks for a page. Keep the same page and server. Will changing only the HTTP version ask for a different page?
Changing the version opens the comparison. Changing the path opens the server’s response. Use Previous to trace either exchange. Restart restores /story and HTTP/1.1.
This is an offline teaching example. DNS, connection setup, HTTPS encryption and additional real-world fields are outside this scene.
The origin applies the shared method and field semantics.
Key idea: A request asks for an action on a resource. A response reports the result and can carry content.
Terms
- Client / user agent
- The app making a request; in this example, your browser.
- Origin server
- The server responsible for providing an answer for the target resource.
- Request
- A message asking for an action on a resource.
- Response
- The server’s message reporting the result of a request.
- Resource
- Something identified by a URI, such as the page at /story.
- Representation
- Content and descriptive information that convey a resource’s state, such as an HTML page.
- Semantics
- What a message or protocol element means, independently of how it travels.
- GET
- A method asking for a current representation of the target resource.
- Method
- The action requested, such as GET, PUT or POST.
- Status code
- A three-digit response code reporting the outcome, such as 200 or 404.
- Field / header
- A named piece of message information, such as Content-Type: text/html.
- Body / content
- The data carried in a message; here, the HTML page.
- HTTP version
- Rules for carrying HTTP messages. Versions share the core request and response meanings.
- TCP / QUIC
- Transport protocols used to carry data; connection setup is outside this example.
Rules & examples
A request asks for an action on a resource. A response reports the result and can carry content.
- RFC 9110 defines semantics shared across HTTP versions.
- RFCs 9112, 9113, and 9114 define version-specific communication.
- A request identifies a target and desired action; its response reports the result.
This example holds the server’s content and policy fixed. GET can return errors; it does not guarantee 200 OK. A 404 need not mean permanent absence, and a server can also use it to avoid disclosing a resource. HTTP/2 and HTTP/3 panels show decoded fields, not their wire bytes.
Sources
New to this? Start hereA quick picture + helpful background
A request starts a conversation.
A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
An abstract message model now describes components across HTTP versions, instead of tying the explanation to HTTP/1.1 syntax. Appendix B.3 documents this restructuring.
Read the updated RFC section ↗