ninenines / cowlib

Support library for manipulating Web protocols.
ISC License
278 stars 173 forks source link

mjs text/javascript mimetype #138

Open benbro opened 2 months ago

benbro commented 2 months ago

Is it possible to update cow_mimetypes.erl to include JavaScript modules mimetype? It is included here: https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types

all_ext(<<"mjs">>) -> {<<"text">>, <<"javascript">>, []};
web_ext(<<"mjs">>) -> {<<"text">>, <<"javascript">>, []};
essen commented 2 months ago

Yes for the next release. In the meantime you can run make gen in your Cowlib copy.

benbro commented 2 months ago

Thanks. Do you want me to close the issue?

essen commented 2 months ago

No please leave open or I'll forget to do it. Cheers!