From 7825f38e7aa98af4b1651761f20f24cb724a8c55 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 21 Nov 2024 16:50:19 -0800 Subject: [PATCH] fixup! feat: deny non hx-requests on fragment --- src/util/headers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/headers.rs b/src/util/headers.rs index fd00000..172f981 100644 --- a/src/util/headers.rs +++ b/src/util/headers.rs @@ -41,7 +41,7 @@ pub static HXR_NAME: HeaderName = HeaderName::from_static(HXR_TEXT); impl Header for HxRequest { fn name() -> &'static HeaderName { - &FF_NAME + &HXR_NAME } fn decode<'i, I>(values: &mut I) -> Result