Understanding network communication from application to physical layer
This page explains how HTTP requests flow through the different layers of the TCP/IP protocol stack. When you make a request from a web browser or application, the data travels through multiple network layers—each with a specific role—before reaching the destination server. Understanding this layered approach is fundamental to grasping how modern networking and web communication work.
GET /data HTTP/1.1
.Host
and User-Agent
are added.Connection: keep-alive
).The diagram below illustrates how multiple HTTP requests can either reuse a single TCP connection (HTTP/1.1, HTTP/2) or use multiple separate TCP connections (HTTP/1.0).