実装
実行する
$ cargo run
リクエストを送る
bash-5.1$ curl http://127.0.0.1:7878/ -v * Trying 127.0.0.1... * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 7878 (#0) > GET / HTTP/1.1 > Host: 127.0.0.1:7878 > User-Agent: curl/7.64.1 > Accept: */* > < HTTP/1.1 200 OK * no chunk, no close, no size. Assume close to signal end < aaaaaa * Closing connection 0 bash-5.1$