Req #76363 [Com]: Add support for *.jsm

From: Date: Sun, 30 Sep 2018 13:51:57 +0000
Subject: Req #76363 [Com]: Add support for *.jsm
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217309@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76363&edit=1 ID: 76363 Comment by: arnoutboks at gmail dot com Reported by: sbrl+php at stareamrainbowlabs dot com Summary: Add support for *.jsm Status: Open Type: Feature/Change Request Package: Built-in web server Operating System: Ubuntu 17.10 PHP Version: 7.2.5 Block user comment: N Private report: N New Comment: This issue has been resolved by https://github.com/php/php-src/pull/3274 and can probably be closed. Previous Comments: ------------------------------------------------------------------------ [2018-05-21 19:15:13] sbrl+php at stareamrainbowlabs dot com Description: ------------ With the advent of ES6 modules, the .jsm file extension is increasingly been used for ES6 module files. I propose that support be added for this extension to the inbuilt development web server such that *.jsm files return application/javascript. Test script: --------------- N/A Expected result: ---------------- *.jsm files return a content-type of "application/javascript". Actual result: -------------- *.jsm files return a content-type of "application/octet-stream". ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76363&edit=1

« previous php.bugs (#217309) next »