summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-03-31 23:09:15 +0200
committerjvoisin2018-03-31 23:09:15 +0200
commitfb5956bd6b33161a462da36d6ebe62631e6da275 (patch)
treeea679ce30e0cf469728630953d24958bf5fabd3a
parent6aeffe6823bfcaa8ef900002ae9eb54ef24ae805 (diff)
Add `application/rdf+xml` to harmless mimetypes
Diffstat (limited to '')
-rw-r--r--src/harmless.py2
1 files changed, 1 insertions, 1 deletions
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 @@
1from . import abstract 1from . import abstract
2 2
3class HarmlessParser(abstract.AbstractParser): 3class HarmlessParser(abstract.AbstractParser):
4 mimetypes = {'application/xml', 'text/plain'} 4 mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'}
5 5
6 def __init__(self, filename: str): 6 def __init__(self, filename: str):
7 self.filename = filename 7 self.filename = filename