正如我们所知,我们可以使用X-Requested-With
http请求头来判断一个http请求是否来自Ajax。X请求的HTTP请求头何处来自
很多JavaScript框架会自动添加在他们的Ajax请求X-Requested-With
头,如jQuery Ajax,Prototype Ajax。而作为List of HTTP header fields维基说X-Requested-With
是非标准的请求头。
谷歌很多次后,我还没有找到谁首先想出X-Requested-With
请求标题。
所以我想知道是否有人知道X-Requested-With
从哪里来?谢谢...