diff options
author | carson <carson@leaddyno.com> | 2020-06-15 18:26:18 -0700 |
---|---|---|
committer | carson <carson@leaddyno.com> | 2020-06-15 18:26:18 -0700 |
commit | d2f30ced1151a6f6734dfb43aa2d6074f2717391 (patch) | |
tree | 799db0d18a3802628b53d22c5894aa5716aa1bf7 | |
parent | f76086aa53a97e35d44498572ab506d58156dd40 (diff) | |
download | htmx-d2f30ced1151a6f6734dfb43aa2d6074f2717391.tar.gz htmx-d2f30ced1151a6f6734dfb43aa2d6074f2717391.zip |
formatting
-rw-r--r-- | www/extensions.md | 2 | ||||
-rw-r--r-- | www/extensions/ajax-header.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/extensions.md b/www/extensions.md index d2791d74..a2f300ca 100644 --- a/www/extensions.md +++ b/www/extensions.md @@ -54,7 +54,7 @@ against `htmx` in each distribution | [`rails-method`](/extensions/rails-method) | includes the `_method` parameter in requests for rails compatibility | [`remove-me`](/extensions/remove-me) | allows you to remove an element after a given amount of time | [`include-vals`](/extensions/include-vals) | allows you to include additional values in a request -| [`ajax-header`](/extensions/ajax-header) | includes the commonly-used X-Requested-With header that identifies ajax requests in many backend frameworks +| [`ajax-header`](/extensions/ajax-header) | includes the commonly-used `X-Requested-With` header that identifies ajax requests in many backend frameworks </div> diff --git a/www/extensions/ajax-header.md b/www/extensions/ajax-header.md index 39566150..a7389caf 100644 --- a/www/extensions/ajax-header.md +++ b/www/extensions/ajax-header.md @@ -5,7 +5,7 @@ title: </> htmx - high power tools for html ## The `ajax-header` Extension -This extension adds the X-Requested-With header to requests with the value "XMLHttpRequest". +This extension adds the `X-Requested-With` header to requests with the value "XMLHttpRequest". This header is commonly used by javascript frameworks to differentiate ajax requests from normal http requests. |