1
0
mirror of synced 2024-11-25 10:44:23 +01:00

Add application/rdf+xml to harmless mimetypes

This commit is contained in:
jvoisin 2018-03-31 23:09:15 +02:00
parent 6aeffe6823
commit fb5956bd6b

View File

@ -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