Logo Oficial MASTR MASTR Apoyar el trabajo
Contenido
← Inicio de la wiki

Fundamentos de la web

HTTP: what your browser asks a server to do

Requests, responses and application state explain why a working page can still show stale or misleading information.

Web2 foundation · 1 min read

Los artículos de investigación y las referencias se publican en inglés. La navegación está disponible en siete idiomas.

En este artículo
  1. The request and the response
  2. State exists above the protocol
  3. Fuentes y originales

The request and the response

HTTP defines messages exchanged between a client and a server. A request identifies a resource and an operation; the response supplies a status, headers and usually a body. A browser typically makes several requests to assemble one page, including its styles, scripts and images.

A successful HTTP response means the server delivered a response under the protocol. It does not establish that a displayed token price is current, that a claim is true or that an operation settled onchain. Those are application and evidence questions.

State exists above the protocol

HTTP is stateless, but an application can recognise later requests through cookies and other identifiers. Proxies and caches may sit between the browser and the origin server. A stale script and a fresh page can therefore coexist during a broken deployment.

For research, keep the requested URL, response time and relevant headers with the content. An error page, a cached result and an authenticated account response are different observations. Follow cookies and frontend dependencies to see how an ordinary web service sits around a blockchain application.

Fuentes y originales

Lecturas relacionadas

MASTR

Apoya la investigación independiente

Las investigaciones, las pruebas originales y las guías son de acceso libre. Las donaciones voluntarias ayudan a financiar la investigación y a mantener disponibles las herramientas de MASTR.

Abrir billetera