diff --git a/README.md b/README.md index 6cc66f9..79e542a 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ async fn main() { let (res, upgrade) = client.send_request(req).await?; - // println!("{} -> {}", uri, res.status()); + println!("{} -> {}", uri, res.status()); if let Some(upgrade) = upgrade { // If the response is an upgrade, e.g. Websocket, you can see traffic. // Modifying upgraded traffic is not supported yet. diff --git a/examples/proxy.rs b/examples/proxy.rs index e488b03..4fc639b 100644 --- a/examples/proxy.rs +++ b/examples/proxy.rs @@ -89,7 +89,7 @@ async fn main() { let (res, upgrade) = client.send_request(req).await?; - // println!("{} -> {}", uri, res.status()); + println!("{} -> {}", uri, res.status()); if let Some(upgrade) = upgrade { // If the response is an upgrade, e.g. Websocket, you can see traffic. // Modifying upgraded traffic is not supported yet. diff --git a/src/default_client.rs b/src/default_client.rs index 8047ec6..3fdb59f 100644 --- a/src/default_client.rs +++ b/src/default_client.rs @@ -337,7 +337,6 @@ pub mod websocket { None }; - dbg!(payload_len); let mut payload_data = take(payload_len).parse_next(input)?.to_vec(); if let Some(mask) = masking_key {