[jQuery] Unseting http headers in ajax requests

[jQuery] Unseting http headers in ajax requests


When doing ajax requests I would like to not send Cookie headers to
minimize lag. I didn't find how to unset the Cookie header as there is
no XMLHttpRequest.unsetRequestHeader() method.
This is what I would like to do (obviously not possible):
jQuery.ajaxSetup({beforeSend:function(xhr){xhr.unsetRequestHeader
('Cookie');}});
Any ideas?
Regards, Clodoaldo