That would be a nice addition. Has there been any discussion of having
jQuery automatically use:
X-Requested-With: XMLHttpRequest
It already does.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
malsup wrote:
That would be a nice addition. Has there been any discussion of having
jQuery automatically use:
X-Requested-With: XMLHttpRequest
It already does.
Excellent! One more reason to keep using it.
--
View this message in context:
Mitchell Lane wrote:
This would allow the programmer to set and override their own HTTP
headers.
That would be a nice addition. Has there been any discussion of having
jQuery automatically use:
X-Requested-With: XMLHttpRequest
...in the headers of its AJAX calls? There's a few different
I've pinpointed both my issues, and would like to propose the following
changes:
In jquery/jquery.js, line 356, replace:
$.g = {
'': m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase(),
with:
$.g = {
'': m[2] == '*' || a.localName.toUpperCase() == m[2].toUpperCase(),
This would allow