Req #76363 [Opn->Csd]: Add support for *.jsm

From: Date: Wed, 25 Aug 2021 16:26:39 +0000
Subject: Req #76363 [Opn->Csd]: Add support for *.jsm
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236076@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 Updated by: cmb@php.net Reported by: sbrl+php at stareamrainbowlabs dot com Summary: Add support for *.jsm -Status: Open +Status: Closed Type: Feature/Change Request Package: Built-in web server Operating System: Ubuntu 17.10 PHP Version: 7.2.5 -Assigned To: +Assigned To: cmb 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. Indeed. Available as of PHP 7.3.0. Previous Comments: ------------------------------------------------------------------------ [2018-09-30 13:51:57] arnoutboks at gmail dot com This issue has been resolved by https://github.com/php/php-src/pull/3274 and can probably be closed. ------------------------------------------------------------------------ [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 (#236076) next »