From 19d9c4e09fcbb6ae211eab7c6ae42e2bfb9d2cdb Mon Sep 17 00:00:00 2001 From: Face <69168154+face-hh@users.noreply.github.com> Date: Wed, 10 Sep 2025 16:37:24 +0300 Subject: [PATCH] Update protocol/library/src/client.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- protocol/library/src/client.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/protocol/library/src/client.rs b/protocol/library/src/client.rs index dfb36b2..3040524 100644 --- a/protocol/library/src/client.rs +++ b/protocol/library/src/client.rs @@ -719,10 +719,8 @@ mod tests { let original_host = "arson.dev"; - let host_header = original_host; - let handshake_request = GurtRequest::new(GurtMethod::HANDSHAKE, "/".to_string()) - .with_header("Host", host_header) + .with_header("Host", original_host) .with_header("User-Agent", "GURT-Client/1.0.0"); assert_eq!(handshake_request.headers.get("host").unwrap(), "arson.dev");