Mime type of downloads
Adam (47) 40 posts |
Hi, When I use NetSurf, the zip files at: http://www.riscosopen.co.uk/content/downloads/risc-os-tarballs appear as data files, so I fetched a file using curl and it was being served as application/octet-stream I think application/zip would be more appropriate and helpful :) <later>However, bizaarely, I’m writing this in Opera and when I click on the link, it says it’s being served as application/zip. What’s going on? Cheers, Adam |
Andrew Hodgkinson (6) 465 posts |
It looks like Opera is working from the filename extension when faced with a generic MIME type and is translating this into a more specific MIME type for the front end. Extensions .zip, .tar and .gz are missing from the Lighty configuration file. I’ll add it shortly (expect a server restart). |
Andrew Hodgkinson (6) 465 posts |
Done. Thanks for the fault report. You should see Zip files appearing with the correct filetype from NetSurf now. |