I\'m attempting to access a web service with Prototype/AJAX and am running into an error I can\'t figure out: it seems that when I make a request to a server my request is i
Actually, it's much easier with Prototype.js V1.7:
Ajax.Responders.register({ onCreate:function(r){ r.options.requestHeaders={ 'X-Prototype-Version':null, 'X-Requested-With':null }; } });
Prototype.js drops any pre-defined header if its value is null.