An open API service indexing awesome lists of open source software.

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

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!
```