[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
Doh, thanks. I was looking for properties, not methods. Foo on me. On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote: From a quick Google search I found (http://www.hunlock.com/blogs/AJAX_for_n00bs): # AJAX.getAllResponseHeaders() -- returns as a string all current headers

[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
Um, just for the record, I did actually google various things, on more than one occasion.. On Thu, Jun 5, 2008 at 1:28 PM, sparkpool [EMAIL PROTECTED] wrote: Doh, thanks. I was looking for properties, not methods. Foo on me. On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote:

[jQuery] Re: Reading http headers out of an ajax response

2008-06-04 Thread sparkpool
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,

[jQuery] Re: Reading http headers out of an ajax response

2008-06-04 Thread Karl Rudd
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,