fixup! feat: deny non hx-requests on fragment
This commit is contained in:
parent
122643c630
commit
7825f38e7a
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue