This request should return an error page with status 404, so that browsers can also be aware of the issue, instead of returning the normal page with status 200 (OK) filled with html/text content about the error message, which makes the browser fill the Console log with messages like this:
When media is not found the reply status should be 404, not 200
Consider this simple request: http://host/Imagegen.ashx?image=/media/99999/non_existing_file.png&height=16
This request should return an error page with status 404, so that browsers can also be aware of the issue, instead of returning the normal page with status 200 (OK) filled with html/text content about the error message, which makes the browser fill the Console log with messages like this:
"Resource interpreted as Image but transferred with MIME type text/html: "http://host/Imagegen.ashx?image=/media/99999/non_existing_file.png&height=16".
Quite right, that will be corrected.
cheers,
doug.
is working on a reply...