sonatype/nexus — pull request #676 by nabcos (2012-11-26 15:19:03+00:00)
Title: [NEXUS-4864,NEXUS-5169] Add better mimetype detection/validation configuration

With this change, Nexus will look up '/nexus.mimetypes' from classpath.
This property file must have the following format:

* Configure additional mimetypes:
A mapping from file name extension to a comma separated list of mime types (e.g. `bz2: application/x-bzip2,application/x-bzip`). No whitespace is allowed in the list of mime types. Mime types listed in this file will be used for content validation.

* Override mimetypes:
Same as adding mime types but prefixed with 'override.' (e.g. `override.html: text/xhtml,application/xml`). These mime type definitions will override the builtin mime types. The first listed mimetype is the 'primary' mime type and will be used by Nexus as the downstream content type.