Closed laysakura closed 3 years ago
Fixes: #6
https://github.com/yuk1ty/learning-systems-programming-in-rust/pull/38 と合わせ、gzip圧縮には flate2 crate を使用。
サーバ側:
% cargo run --bin 2_8_3 Compiling chapter2 v0.1.0 (/Users/sho.nakatani/.ghq/src/github.com/yuk1ty/learning-systems-programming-in-rust/chapter2) Finished dev [unoptimized + debuginfo] target(s) in 0.73s Running `target/debug/2_8_3` { "Hello": "World" } <- ログ出力
クライアント側:
% curl -s --compressed 'http://localhost:8080' -H 'Accept-Encoding: gzip' { "Hello": "World" }
@yuk1ty コンフリクト解消しました :v:
@yuk1ty マージしてもokですか?
マージします!
Fixes: #6
https://github.com/yuk1ty/learning-systems-programming-in-rust/pull/38 と合わせ、gzip圧縮には flate2 crate を使用。
動作確認
サーバ側:
クライアント側: