New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

htmx-ext-ajax-header

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmx-ext-ajax-header

This extension adds the `X-Requested-With` header to requests with the value "XMLHttpRequest".

2.0.2
latest
Version published
Weekly downloads
101
-17.89%
Maintainers
0
Weekly downloads
 
Created

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.

Install

<script src="https://unpkg.com/htmx-ext-ajax-header@2.0.1/ajax-header.js"></script>

Usage

<body hx-ext="ajax-header">
 ...
</body>

FAQs

Package last updated on 13 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts