Capstone: A Tiny Web Server
Part of the Web course
Every lesson in this course explained a header from the outside. You learned what Cache-Control promises, what Access-Control-Allow-Origin permits, what a 304 saves. All of it from the position of someone reading responses that somebody else wrote.
This lesson swaps sides. You are going to write the server, set the headers yourself, and then hit your own server with curl -v and watch the behaviours you have been reading about happen because of a line you typed. It is a short amount of code and the point is not the code. The point is that the entire conversation stops being magic once you have been the one answering. ...
Want to learn Web Capstone: A Tiny Web Server in a real environment?
Click below, get a fresh Linux box with Web ready to go, and work through Capstone: A Tiny Web Server hands-on with an AI tutor that knows your code.
Start this lessonCapstone: A Tiny Web ServerWhat you'll learn
- Serving HTTP
- Cache headers
- CORS headers
- Security headers
- Curl -v
- 304 Not Modified
- Redirects
Read this lesson in your language
All lessons in this course
14 lessons- 1What Is The Web20 min
- 2HTTP vs HTTPS15 min
- 3Request and Response Anatomy30 min
- 4Cookies, Sessions, and Tokens25 min
- 5DNS Explained25 min
- 6TLS and Certificates30 min
- 7CORS30 min
- 8REST API Basics25 min
- 9WebSockets and SSE25 min
- 10Caching and CDNs25 min
- 11Security Headers25 min
- 12Rate Limiting and Throttling20 min
- 13Monitoring and Logging20 min
- 14Capstone: A Tiny Web Server40 min
