From e4ed1368b9ef88889f2485a92d24bb9c6a7170fc Mon Sep 17 00:00:00 2001 From: Dongyoung Moon Date: Mon, 29 Sep 2025 17:55:13 +0900 Subject: [PATCH] Fix HTTP test outcome --- exercises/07_http_mocking/02_match/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/07_http_mocking/02_match/src/lib.rs b/exercises/07_http_mocking/02_match/src/lib.rs index 5dbc71c..fdb69ae 100644 --- a/exercises/07_http_mocking/02_match/src/lib.rs +++ b/exercises/07_http_mocking/02_match/src/lib.rs @@ -78,7 +78,8 @@ mod tests { let outcome = client .post(&server.uri()) - .header("Content-Length", length) + .header("Content-Length", length - 1) + .header("Content-Type", "application/json") .body(body) .send() .await