Is it possible to read Response Headers?

Real quick, and hopefully stupid questions…

I see that I can read the request headers sent by the browser, and set (or override) response headers with formula language or script.

But is there any way to access the original response headers that the server generates for a request? eg - To have access to the content-length info.

Or even display response header info in the browser, so you could make a standard custom error form that would display error content dynamically, and not have to create a response header rule for each error type.

Subject: Is it possible to read Response Headers?

Well, $$ReturnAuthenticationError, $$ReturnAuthorizationError and $$ReturnGeneralError will let you handle just about anything except a 404. Here, I’ll direct you to Codestore.Net (http://www.codestore.net/store.nsf/unid/EPSD-57GK5Y?OpenDocument). As for the rest, most (but not all) of the information is available client-side through the document object. A good DOM reference would be helpful here, as different browsers use different property names and return different data types in some cases. I’d suggest Dynamic HTML: The Definitive Reference by Danny Goodman (O’Reilly, ISBN 0-596-00316-1).

Subject: Is it possible to read Response Headers?

Curl will let you see the headers but not programmatically from within a browser.http://curl.haxx.se/

Andrew