How to use [mime.add]
The reference page of mime.add has its arguments, constraints and declaration.
This slot associates a file extension with a MIME type. Notice, it will override previous associations if existing. Example usage can be found below.
mime.add:py
.:application/python
Then later when the endpoint resolver is returning files ending with “.py”, it will return these with
a Content-Type of “application/python”.