Computer networks notes
How an HTTP Request Travels
From fetch() in your code to bits on the wire, the full encapsulation journey. Every section is a drawn page beside a clear written explanation, about 20 minutes in all.
- Chapter 1 of 31
- About 20 minutes
- 10 sections
Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

In this chapter
- The setup
- The connection is a 4-tuple
- Step 1: DNS turns the name into an IP
- Step 2: Build the HTTP request
- Step 3: HTTP rides on TCP
- Step 4: Text becomes bytes
- Step 5: The browser hands off to the OS
- Step 6: Break the data into chunks
- Wrap 1: The TCP segment
- Wrap 2: The IP packet
Next chapters
Read the whole chapter
Sign in and the chapter opens with every drawn page, and all 32 computer networks chapters beside it.
DSA comes with the all labs plan and every ChaiCode batch.