Current time: 12-07-2019, 08:56 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
export.php har content type
09-03-2011, 02:25 AM
Post: #1
export.php har content type
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.
Find all posts by this user
Quote this message in a reply
09-03-2011, 02:28 AM
Post: #2
RE: export.php har content type
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)