diff --git a/README.md b/README.md index 4fcc979..10f994e 100644 --- a/README.md +++ b/README.md @@ -287,7 +287,7 @@ const ( HeaderCurrentURL = "HX-Current-URL" HeaderHistoryRestoreRequest = "HX-History-Restore-Request" HeaderPrompt = "HX-Prompt" - HeaderRequest = "Hx-Request" + HeaderRequest = "HX-Request" HeaderTarget = "HX-Target" HeaderTriggerName = "Hx-Trigger-Name" ) diff --git a/header.go b/header.go index 8ff1d64..f67fbca 100644 --- a/header.go +++ b/header.go @@ -12,7 +12,7 @@ const ( // Request header for the user response to an hx-prompt. HeaderPrompt = "HX-Prompt" // Request header that is always “true” for HTMX requests. - HeaderRequest = "Hx-Request" + HeaderRequest = "HX-Request" // Request header of the id of the target element if it exists. HeaderTarget = "HX-Target" // Request header of the name of the triggered element if it exists.