HTTP
Hypertext Transfer ProtocolApplication layer · OSI 7Plain-text requests and responses that load web resources
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
Overview
is how a browser asks a server for a web page and gets it back. The browser sends a readable request, and the server replies with a status code, headers, and the page content.
Hypertext Transfer Protocol (RFC 9110, RFC 9112) runs over a reliable transport such as on 80 by default (443 for ). HTTP/1.1 exchanges structured text start-lines and headers followed by an optional message body.
Key facts
- Layer
- Application (OSI Layer 7)
- Default port
- 80 (HTTPS uses 443)
- Transport
- TCP
- Format
- Readable text headers + body
- Defined in
- RFC 9110, RFC 9112
Page delivered over HTTP
Three exchanges fetched the page: a DNS lookup, a TCP handshake, and one HTTP request and response. Because HTTP uses plain text, anyone along the path could read it.
HTTP/1.1 resolved `www.example.com` via DNS, established TCP port 80, exchanged `GET /` and `200 OK`, and delivered 12,500 bytes of HTML.
- Round trips
- 3 (DNS, TCP, HTTP)
- Port
- TCP 80
- Body size
- 12,500 bytes
- Body segments
- 9 at MSS 1460
Try it yourself
Fetch a page and inspect HTTP headers
See the plain-text HTTP request line, Host header, status code, and response headers in your terminal.
curl.exe -v http://example.com