Commit 8792f3a
authored
Adding .mjs to list of known MIME types (#34318)
* Adding .mjs to list of known MIME types
https://datatracker.ietf.org/doc/html/draft-ietf-dispatch-javascript-mjs has been submitted for publication to the IESG. We anticipate that browsers may start enforcing the correct `Content-Type` header for javascript modules prior to execution.
As an aside, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#aside_%E2%80%94_.mjs_versus_.js1 parent 25767de commit 8792f3a
File tree
1 file changed
+1
-0
lines changed- src/Middleware/StaticFiles/src
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| |||
0 commit comments