From e636953d25079a2cbc246e1a507164890f28acd1 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Tue, 13 Aug 2024 15:42:03 -0400 Subject: [PATCH] demo: Return a more identifying string for GET requests It's good practice to return something identifying the service offered on basic requests. This could include a link to the paper and/or repository after publication. --- demo/examples/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/examples/server.rs b/demo/examples/server.rs index ab070b7..952f0c7 100644 --- a/demo/examples/server.rs +++ b/demo/examples/server.rs @@ -92,7 +92,7 @@ async fn main() -> Result<(), Box> { } async fn handler() -> &'static str { - "Hello, Client!" + "Boomerang protocol server. Try POST /\n" } lazy_static! {