diff --git a/integrator/base.py b/integrator/base.py index 3339389..bffa666 100644 --- a/integrator/base.py +++ b/integrator/base.py @@ -206,7 +206,7 @@ class MimeTypes(dict): line = line.strip() if line: parts = line.split() - self[parts[0]] = parts[1:] + self[parts[0].strip()] = parts[1:] mtFile.close() mimeTypes = MimeTypes() diff --git a/integrator/mime.types b/integrator/mime.types index 7252877..7cc9a3c 100644 --- a/integrator/mime.types +++ b/integrator/mime.types @@ -391,6 +391,7 @@ application/x-ns-proxy-autoconfig pac application/x-nwc nwc application/x-object o application/x-oz-application oza +application/x-pdf pdf application/x-pkcs7-certreqresp p7r application/x-pkcs7-crl crl application/x-python-code pyc pyo