>From a quick Google search I found
(http://www.hunlock.com/blogs/AJAX_for_n00bs):

# AJAX.getAllResponseHeaders() -- returns as a string all current
headers in use.
# AJAX.getResponseHeader("headerLabel") -- returns value of the
requested header.

Karl Rudd

On Thu, Jun 5, 2008 at 9:32 AM, sparkpool <[EMAIL PROTECTED]> wrote:
>
> Sorry to be a pest, but any takers on this? Does anyone know if it's
> possible at all in javascript?
>
> Thanks
>
> On Wed, Jun 4, 2008 at 7:21 AM, sparkpool <[EMAIL PROTECTED]> wrote:
>>
>> 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
>>
>

Reply via email to