JavaScript akses header respons AJAX
// Remember to add JQuery to your html head!
var xhr = $.ajax({
url: 'someurl',
complete: function(data) {
// Access your response headers by using return value
xhr.getResponseHeader("date"); // Specify here the type of header
}
});
Av3