I require to download a url into an iframe and handle the cases where the server returns an error response status.
Please could you inform me how to catch/handle the error status returned in the response from the server. What event handlers should be used on the iframe.
on server: e.g. response.setStatus(505);
Thank you, S