From fb5956bd6b33161a462da36d6ebe62631e6da275 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 31 Mar 2018 23:09:15 +0200 Subject: [PATCH] Add `application/rdf+xml` to harmless mimetypes --- src/harmless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harmless.py b/src/harmless.py index fdcc7c7..dc543f2 100644 --- a/src/harmless.py +++ b/src/harmless.py @@ -1,7 +1,7 @@ from . import abstract class HarmlessParser(abstract.AbstractParser): - mimetypes = {'application/xml', 'text/plain'} + mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'} def __init__(self, filename: str): self.filename = filename