*sigh*This looks like it should be working, but I don't get any headers!If I do xmlhttp.getAllResponseHeaders() I get null as the result.I get the content of the files (even when doing a "HEAD" request), but I don't get the headers... anyone know why???I made a simple test out of some code I googled:function newRequest(){ var xmlhttp=false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) // JScript gives us Conditional compilation, we can cope with old IE versions. // and security blocked creation of the objects. try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } @end @*/ if (!xmlhttp && typeof XMLHttpRequest!='undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp=false; } } if (!xmlhttp && window.createRequest) { try { xmlhttp = window.createRequest(); } catch (e) { xmlhttp=false; } } return xmlhttp;}function test(){ xmlhttp = newRequest(); xmlhttp.open("HEAD", "doc.txt",true); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { alert('statusText = '+xmlhttp.statusText+'\nresponseText = '+xmlhttp.responseText+'\nAllResponseHeaders = '+xmlhttp.getAllResponseHeaders()) } } xmlhttp.send(null)}The alert pops up with a blank statusText, responseText containing the content of doc.txt and AllResponseHeaders = null