I searching the way how to detect the img-file was not found(404... or 50x)
so I did figure out what img-file is, like below steps..
- parse the html and css code, then catch the URL
- make img tag temporally, assign src=URI
- check the attribute(width, height), if it is 0 value, it would be not found.
finally, I wanna catch the remote address, if so I can figure out what server has problem !
so I thought that if i can handle http-header at front-end, it could be awesome !
and I also considered using Ajax, but it require additional running time, then can make bad web-performance.....
So ! In short, it is my real question. Is it possible to handle http-header info at front-end? (using JavaScript, not using any tools like chrome-dev-tool, wiresharks and so on..)
![How can I handle this data?(status, remote-address and so on...)][1]