When I an returning 404 status code in Asp.Net Core API project. It works fine with chrome but, shows blank page in mozilla firefox instead of 404 error page, like in other browsers.
Sample Code for my API is below:
[HttpGet]
[Route("OpenBlobFile", Name = "url")]
public async Task<ActionResult> OpenBlobFile(string fileName, string folder)
{
return new NotFoundObjectResult(null);
}