Copyright ©

Mongoose OS Forum


Custom MIME types

Could someone give an example of setting custom MIME types in Mongoose 6.5.

I guess it has something to do with the custom_mime_types option of the mg_serve_http_opts object. But I am unsure of the syntax. I need to set the Content-Encoding to serve .gz files with "Content-Encoding: gzip".


Sign In or Register to comment.