Small http-server written in rust as a codecrafters challenge
https://github.com/tolik518/http-server-rust.git
This is a starting point for Rust solutions to 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.
request.rs is not optimized at all.
It would have been better to use .seek(&mut buf) than working with tcp_stream.bytes() directly