mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 00:50:20 +02:00
add h1::SendResponse future; renamed to MessageBody::size
This commit is contained in:
@@ -360,7 +360,7 @@ impl<B: MessageBody> fmt::Debug for ServiceResponse<B> {
|
||||
for (key, val) in self.response.head().headers.iter() {
|
||||
let _ = writeln!(f, " {:?}: {:?}", key, val);
|
||||
}
|
||||
let _ = writeln!(f, " body: {:?}", self.response.body().length());
|
||||
let _ = writeln!(f, " body: {:?}", self.response.body().size());
|
||||
res
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user