Topic
HTTP
The web's request-and-response protocol, used by browsers and other clients to exchange resources with servers.
At a glance
- Interaction
- Request and response
- Common read method
- GET
Overview
HTTP defines how clients ask for resources and how servers answer. A request carries a method and a target; a response carries a status and may include content. Headers provide additional information that helps participants interpret and handle the exchange.
Reading an exchange
A request identifies the desired operation and resource. A response reports the result through a status code and can carry a body. Browser network tools make these details visible when investigating how a page loads or a request fails.
Messages across versions
HTTP versions can change how messages travel while preserving their meaning. For example, HTTP/2 uses binary frames, yet applications still work with concepts such as methods, response statuses, headers, and bodies.
Sources and review
MOOR's explanatory text is supported by the following source links.
- Overview of HTTP — MDN Web Docs
- HTTP: supporting documentation — MDN Web Docs