A simple HTTP/1.1 server written completely in Rust.
- HTTP/1.1 server implementation in Rust.
- Utilizes only standard Rust libraries.
- Reads and parses essential components of incoming requests
- Returns HTML content in response.
-
Clone the repository:
git clone https://github.com/your-username/your-http-server.git
-
Navigate to the project directory:
cd server -
Build and run the project:
cargo build cargo run
By default, the server will listen on http://127.0.0.1:8080. You can customize the configuration by modifying the appropriate settings in the code or using command-line arguments.
Visit http://127.0.0.1:8080 in your browser or use a tool like curl to interact with the server.