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