Movatterモバイル変換


[0]ホーム

URL:


</> htmx

HX-Push-Url Response Header

TheHX-Push-Url header allows you to push a URL into the browserlocation history.This creates a new history entry, allowing navigation with the browser’s back and forward buttons.This is similar to thehx-push-url attribute.

If present, this header overrides any behavior defined with attributes.

The possible values for this header are:

  1. A URL to be pushed into the location bar.This may be relative or absolute, as perhistory.pushState().
  2. false, which prevents the browser’s history from being updated.

Notes

Response headers are not processed on 3xx response codes. seeResponse Headers


[8]ページ先頭

©2009-2025 Movatter.jp