Hello,
We have a SCORM course that contains pre-compressed .js.gz files. In Moodle 2.9, these are being served by "pluginfile.php", but the "Content-Type" header being given to the browser is "application/g-zip". Where is this value coming from?
I tried editing /lib/classes/filetypes.php and purging all caches, but it makes absolutely no difference. Moodle still sends "application/g-zip" to the browser, and I can't find any other instance of this value in the PHP code. Is it stored in the database by any chance? The content-type header should be "application/x-gzip".
Any help would be greatly appreciated, thank you.
DM