https://github.com/devsargam/http-server-rs
🌐 a basic implementation of http server in rust
https://github.com/devsargam/http-server-rs
Last synced: 8 months ago
JSON representation
🌐 a basic implementation of http server in rust
- Host: GitHub
- URL: https://github.com/devsargam/http-server-rs
- Owner: devsargam
- Created: 2025-09-25T19:29:43.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-09-27T00:58:33.000Z (9 months ago)
- Last Synced: 2025-09-27T02:42:12.224Z (9 months ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTTP from scratch
This is my attempt at implementating http protocol in rust
### Getting Started
Basicially http request is
```
GET /path HTTP/1.1
Host: example.com
User-Agent: curl/7.81.0
Accept: */*
```
http response is
```
HTTP/1.1 200 OK
Content-Length: 13
Content-Type: text/plain
Hello, world!
```