From c32d87723ee1a6ff501b69d027bd387369937e4f Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 17 Jun 2024 10:29:15 -0400 Subject: [PATCH] tests: enable http3 content-length test --- tests/client.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/client.rs b/tests/client.rs index 5fa9a3532..9bb27001c 100644 --- a/tests/client.rs +++ b/tests/client.rs @@ -87,14 +87,12 @@ async fn donot_set_content_length_0_if_have_no_body() { #[cfg(feature = "http3")] #[tokio::test] async fn http3_request_full() { - //use http_body_util::BodyExt; + use http_body_util::BodyExt; let server = server::http3(move |_req| async move { - /* assert_eq!(req.headers()[CONTENT_LENGTH], "5"); let reqb = req.collect().await.unwrap().to_bytes(); assert_eq!(reqb, "hello"); - */ http::Response::default() });