How do I access a page\'s HTTP response headers via JavaScript?
Related to this question, which was modified to ask about accessing two specific HTTP headers.
Using mootools, you can use this.xhr.getAllResponseHeaders()