Is there a way to consistently identify a MochiKit XMLHttpRequest? I would prefer not either fork mochi, nor concatenate a GET var. For projects like a large CMS with dozens of developers working in desperate feature sets, "ajax_post=1" quickly becomes "ajaxpost", "ajaxPost", "is_ajax" and more.
Prototype's handling of this is pretty clean and simple by setting a "X-Requested-With: XMLHttpRequest\n" header. Is there some MochiKit mojo that makes this easy and invisible? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
