// /etc/mime.types
// /etc/apache2/mime.types
// /etc/apache/mime.types
+// /etc/httpd/conf/mime.types
//
// On Windows, MIME types are extracted from the registry.
//
// type typ. The returned extensions will each begin with a leading dot, as in
// ".html". When typ has no associated extensions, ExtensionsByType returns an
// nil slice.
+//
+// The built-in table is small but on unix it is augmented by the local
+// system's MIME-info database or mime.types file(s) if available under one or
+// more of these names:
+//
+// /usr/local/share/mime/globs2
+// /usr/share/mime/globs2
+// /etc/mime.types
+// /etc/apache2/mime.types
+// /etc/apache/mime.types
+// /etc/httpd/conf/mime.types
+//
+// On Windows, extensions are extracted from the registry.
func ExtensionsByType(typ string) ([]string, error) {
justType, _, err := ParseMediaType(typ)
if err != nil {