Re: our discussion of how to detect that a request is really an XHR. According to this blog post: http://www.dev411.com/blog/2006/06/30/should-there-be-a-xmlhttprequest-u ser-agent, at least one of the JS libraries out there (Prototype) uses the X-Requested-With header to indicate that the request is an XHR. Evidently Dojo and MochiKit don't send any identifying headers at all, although some people are manually adding some. The author of the post is proposing an "X-Ajax-Engine" to identify XHR requests. This post is from 2006, so I'm not sure what the state of affairs is currently, but I wanted to point out that there seem to be some other people thinking about this issue. SeanReceived on Wednesday, 30 April 2008 19:26:59 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 April 2008 19:27:00 GMT