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 libraries out
there using it, and it seems to be good etiquette to do so. It would provide
a simple and consistent means of differentiating between AJAX and non-AJAX
calls on the server side.

Thanks,
Jason



-- 
View this message in context: 
http://www.nabble.com/Setting-AJAX-headers%2C-and-selecting-namespaced-nodes-tf2124789.html#a5901298
Sent from the JQuery forum at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to