instantclick icon indicating copy to clipboard operation
instantclick copied to clipboard

Can't obtain on serverside that page has been requested via instantclick

Open mmmsharap opened this issue 11 years ago • 4 comments

Pjax sends request headers, why Instanclick doesn't?

mmmsharap avatar Apr 30 '14 06:04 mmmsharap

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.

dieulot avatar May 13 '14 14:05 dieulot

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.

rungta avatar Nov 30 '16 08:11 rungta

Any progress on this??

bgilbert6 avatar Jun 06 '18 14:06 bgilbert6

#163

bgilbert6 avatar Jun 06 '18 14:06 bgilbert6