0
Le script suivant…
<script type="text/javascript"> javascript:var req = new XMLHttpRequest(); req.open('GET', document.location, false);req.send(null);var headers = req.getAllResponseHeaders().toLowerCase(); console.log(headers); </script>
… permet d’afficher :
wrapper.shtml:19contenu1.shtml#xhr date: sun, 04 dec 2011 05:45:32 gmt connection: keep-alive content-length: 1545 server: apache content-type: text/html accept-ranges: bytes keep-alive: timeout=5, max=97
… pretty cool, hu?
DATE 04 Nov 2011