I am trying to upload some files to the server, but I get an error from the server. The server sends an HTML page to explain the error, the browser receives ajax response that has an error but it does not render it as HTML page, So, how can I render ajax response to show as HTML? Is there any way to show AJAX responses as HTML page?
The chrome can render the AJAX response page as HTML page, So you can get that from developer tools -> the Network button -> XHR Name.