I have exported a har file from the external webpagetest, when you do this it is downloaded as a har–>application/json content type. However if i save that file to my directory and then try to download it from my apache server, the content type shows up as ms dos executable and me har viewer cannot read the har file. What would cause this? is there something in the export.php file that tells the server it is a har file or is this strictly on my serverside not know it is a har and changing the content type to ms dos executable, thanks.
export.php sets the mime type to application/json explicitly. If you want your local apache to do the same for .har files you’d need to add a rule to the apache configure to set the mime type appropriately.