From 6109ebbc35d2e2d3494d28241da5389fb65e1c4f Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Mon, 20 Feb 2023 16:20:05 +1300 Subject: [PATCH] bugfix in nip-05 (reqwest.get() already adds one Host header) --- src/nip05.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nip05.rs b/src/nip05.rs index ca99f10e7..10e91aa3e 100644 --- a/src/nip05.rs +++ b/src/nip05.rs @@ -181,7 +181,6 @@ async fn fetch_nip05(user: &str, domain: &str) -> Result { "https://{}/.well-known/nostr.json?name={}", domain, user )) - .header("Host", domain) .send(); let response = nip05_future.await?; let bytes = response.bytes().await?;