push OK, clone KO
This commit is contained in:
parent
4f933e2526
commit
e6ff105b17
|
@ -201,6 +201,7 @@ async fn git_proto(payload : web::Payload, web::Path((owner, reponame)): web::Pa
|
||||||
|
|
||||||
let mut body = Vec::new();
|
let mut body = Vec::new();
|
||||||
rdr.read_to_end(&mut body)?;
|
rdr.read_to_end(&mut body)?;
|
||||||
|
println!("{}", String::from_utf8(body.clone()).expect("bad utf8"));
|
||||||
return Ok(builder.body(body));
|
return Ok(builder.body(body));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue