topic
Verified 2026-09-18

HTTP Overview

HTTP is a stateless request and response protocol used to transfer representations between clients, servers, and intermediaries.

An HTTP exchange has a request, a response, and metadata in fields. Browsers usually fetch a document and then make more requests for its scripts, styles, images, and data.

httpfundamentals

Reference (http)

GET / HTTP/1.1
Host: example.com

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8

An HTTP exchange has a request, a response, and metadata in fields. Browsers usually fetch a document and then make more requests for its scripts, styles, images, and data.

Common mistakes

  • Treating HTTP as a browser-only protocol or ignoring the proxies and caches that may handle a message.
Permalink: https://merginit.com/reference/http/overview