Open mmmsharap opened 10 years ago
Hi, sorry for the delay. This is a planned feature: sending an X-INSTANTCLICK header.
Not a lot of code (most likely only one line), the thing is I’ll need to update the documentation, which is already in a poor state.
Would be great if InstantClick set the conventional X-Requested-With: XMLHttpRequest
header along with any other custom headers such as X-INSTANTCLICK
. A lot of server side code relies on that convention for detecting Ajax requests.
Any progress on this??
Pjax sends request headers, why Instanclick doesn't?