My solution in Rust for the "Build Your Own HTTP server" Challenge.
HTTP is the protocol that powers the web. In this challenge, you'll build a HTTP/1.1 server that is capable of serving multiple clients.
Along the way you'll learn about TCP servers, HTTP request syntax, and more.
Note: If you're viewing this repo on GitHub, head over to codecrafters.io to try the challenge.
To try this locally on macOS, you could run ./your_server.sh
in one terminal session, and nc -vz 127.0.0.1 4221
in another. (-v
gives more verbose output, -z
just scan for listening daemons, without sending any data to them.)