HTTP
HTTP (Hypertext Transfer Protocol) is the application-layer protocol that governs how web browsers and servers exchange requests and responses, forming the basic communication mechanism of the World Wide Web. Since its creation in the late 1980s, it has evolved through several versions while remaining the foundational language of nearly all web traffic.
HTTP is the set of rules that lets a client—typically a web browser—ask a server for a resource, such as an HTML page, image, or data file, and receive a structured response. It is a stateless, text-based (originally) protocol built on a simple request-response model, and it underlies virtually every interaction on the World Wide Web, from loading a news article to submitting a form or calling an API. Its ubiquity makes it one of the most consequential pieces of digital infrastructure ever created, even though most users never see it directly.
Origins and Development
HTTP was devised by Tim Berners-Lee at CERN, the European particle physics laboratory, as part of the same project that produced the Web itself in 1989–1991, alongside HTML and the URL scheme. The earliest working version, later called HTTP/0.9, was extremely simple, supporting only a single method (GET) with no headers. HTTP/1.0 was documented in 1996 as RFC 1945, introducing headers, status codes, and support for multiple content types. HTTP/1.1, standardized in 1997 and refined through later RFCs (notably RFC 2616 in 1999 and the RFC 7230–7235 series in 2014), added persistent connections, chunked transfer encoding, and caching controls, and remained dominant for nearly two decades. HTTP/2, standardized in 2015 as RFC 7540 and based on Google's experimental SPDY protocol, introduced multiplexing—allowing many requests over a single connection—along with header compression, significantly improving performance. HTTP/3, finalized in 2022 as RFC 9114, abandons the traditional TCP transport in favor of QUIC, a protocol built on UDP, reducing latency further and improving performance on unreliable networks. Standardization work now sits with the IETF's HTTP Working Group, a shift from the protocol's earlier, more informal development under the World Wide Web Consortium.
How the Protocol Works
Every HTTP exchange consists of a request and a response. Requests use methods that describe the desired action: GET retrieves a resource, POST submits data, PUT and PATCH update it, DELETE removes it, and HEAD or OPTIONS query metadata without transferring a full body. Servers reply with a status code indicating the outcome—200 for success, 301 or 302 for redirection, 404 for a missing resource, 500 for a server error—alongside headers carrying metadata (content type, caching rules, cookies) and, often, a body containing the requested content. Because HTTP is inherently stateless, each request is treated independently; the protocol itself has no memory of prior interactions. This limitation was addressed pragmatically rather than through the core specification: Netscape introduced cookies in 1994 to let servers track sessions, and that mechanism remains the backbone of logins, shopping carts, and personalization across the Web, for better and for worse in terms of privacy.
Security and the Shift to HTTPS
Plain HTTP transmits data unencrypted, meaning anyone intercepting traffic—on a shared network, an ISP, or a compromised router—can read or alter it. HTTPS solves this by layering HTTP over TLS (Transport Layer Security, the successor to SSL), encrypting the connection and verifying the server's identity via digital certificates. Adoption was slow for years due to cost and complexity, but the balance shifted decisively after initiatives like Let's Encrypt, launched in 2015 to provide free automated certificates, and after major browsers began visibly flagging plain HTTP sites as "not secure." Today the large majority of web traffic runs over HTTPS, and HTTP/2 and HTTP/3 are, in practice, almost always deployed with encryption even though it is not strictly mandated by their specifications.
Part of the Broader Infrastructure Stack
HTTP does not operate alone; it depends on and interlocks with a stack of other standards. It relies on TCP/IP (or, in HTTP/3's case, UDP via QUIC) for actual data transport, on DNS to resolve human-readable domain names into addresses, and on the URL/URI scheme to identify resources. It also underpins higher-level conventions such as REST, which structures web APIs around HTTP methods and status codes, making HTTP as much a foundation for machine-to-machine communication—mobile apps, cloud services, IoT devices—as for human browsing. As one of the most successful examples of open, consensus-driven standardization by bodies like the IETF and W3C, HTTP illustrates how shared, freely implementable protocols—rather than proprietary systems—allowed the Web to scale globally, remaining a central case study in any discussion of internet governance, interoperability, and infrastructure resilience.