mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 08:38:16 +02:00
update test-server tests
This commit is contained in:
@@ -76,7 +76,8 @@ where
|
||||
};
|
||||
|
||||
// read response and init read body
|
||||
let (head, framed) = if let (Some(result), framed) = framed.into_future().await {
|
||||
let res = framed.into_future().await;
|
||||
let (head, framed) = if let (Some(result), framed) = res {
|
||||
let item = result.map_err(SendRequestError::from)?;
|
||||
(item, framed)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user