🍌
🍌
🍌
🍌
🍌
🍌
🍌

🍌 BANANA HTTP 🍌

HYPERTEXT TRANSFER PROTOCOL · GRADUATE COURSE · RFC 9110

🍌 What is HTTP?

— THE BANANA DELIVERY ANALOGY —

🍌
You (Browser)
Customer who orders bananas
📋
HTTP
The order form & delivery rules
🏪
Web Server
The banana warehouse
🧊Stateless

Each request is independent. The server retains no memory of previous interactions. Session state must be managed externally via cookies, tokens, or server-side sessions.

📶Application Layer (L7)

HTTP sits atop the OSI stack, relying on TCP (or QUIC for HTTP/3) for reliable transport. It defines the semantics of web communication, not the transmission mechanics.

📝Text-Based (HTTP/1.x)

HTTP/1.x uses human-readable ASCII messages. HTTP/2 introduced binary framing for efficiency, while HTTP/3 runs over QUIC/UDP.

↔️Request–Response Model

Communication is always initiated by the client. The server cannot push data without a prior request in HTTP/1.x (server push was introduced in HTTP/2).

— HTTP IN THE OSI MODEL —

L7 ApplicationHTTP / HTTPS / DNS / FTP← We are here
L6 PresentationTLS / SSL encryption
L5 SessionSession management
L4 TransportTCP (HTTP/1,2) · QUIC/UDP (HTTP/3)
L3 NetworkIP
L2 Data LinkEthernet / Wi-Fi

HTTP · HYPERTEXT TRANSFER PROTOCOL · RFC 9110 / 9112 / 9113 / 9114