When changing the .src property of a Javascript Image object, a request is send to the specified URL.
// new image object
var imgObject = new Image();
// assign the path to the image to the src property
imgObject.src = 'http://example.com/' + 'image/image.jpg';
The server's response contains headers like any other response. My question is: is there a way to access this headers in the onready, onload or onreadystatechange events of the Image objects once the server sent the response?