views:

95

answers:

1

Is there an easy way to pull out the response headers of a page with prototypejs without using Ajax.Request?

+1  A: 

You can't, for the current document (i.e. the one in which the executing Javascript code was referenced). See various search results.

What's your use case for this? Maybe there's another way to accomplish what you need to do.

Peter Hansen
done. this is not using an ajax request.
Dustin
Okay, I edited my answer then, and now both these comments could be removed (though not by us.. we don't have high enough rep.)
Peter Hansen