fixup! feat: deny non hx-requests on fragment

This commit is contained in:
Zynh Ludwig 2024-11-21 16:50:19 -08:00
parent 122643c630
commit 7825f38e7a

View file

@ -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<Self, headers::Error>