From e6ff105b1750b1f4281ca5cf691115f7f341afbc Mon Sep 17 00:00:00 2001 From: Hubert Date: Thu, 8 Jul 2021 08:20:59 +0200 Subject: [PATCH] push OK, clone KO --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 75e470c..de8bd18 100644 --- a/src/main.rs +++ b/src/main.rs @@ -201,6 +201,7 @@ async fn git_proto(payload : web::Payload, web::Path((owner, reponame)): web::Pa let mut body = Vec::new(); rdr.read_to_end(&mut body)?; + println!("{}", String::from_utf8(body.clone()).expect("bad utf8")); return Ok(builder.body(body)); }