[jQuery] Reading http headers out of an ajax response
Hi all,
I know that jquery's ajax calls set the X-Requested-With header to
'XMLHttpRequest' for ajax requests, making it really easy for the
server side to detect them.
Is there any way for jquery to read the http headers out an ajax
response back from the server? I can see the ones I'm interested in in
the firebug console, but when I dump the XMLHttpRequest object out
from inside my ajax complete method, I don't see them anywhere.
Does jquery provide any tools for this? Is it possible at all in
javascript?
Thanks