Skip to content

Commit

Permalink
tests: enable http3 content-length test
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jun 17, 2024
1 parent ce3b30e commit c32d877
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
});

Expand Down

0 comments on commit c32d877

Please sign in to comment.