The setup-type-by-extension function configures the filter to recognize file name extensions. It must be called before the assign-type-by-extension function can be used. The file specified as a parameter must contain mappings between standard MIME content types and file extension strings.
The parameter used with the setup-type-by-extension function and its description is:
Name of the MIME types configuration file.
Setup fn=setup-type-by-extension file=./config/mime.types