Add application/rdf+xml
to harmless mimetypes
This commit is contained in:
parent
6aeffe6823
commit
fb5956bd6b
@ -1,7 +1,7 @@
|
|||||||
from . import abstract
|
from . import abstract
|
||||||
|
|
||||||
class HarmlessParser(abstract.AbstractParser):
|
class HarmlessParser(abstract.AbstractParser):
|
||||||
mimetypes = {'application/xml', 'text/plain'}
|
mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'}
|
||||||
|
|
||||||
def __init__(self, filename: str):
|
def __init__(self, filename: str):
|
||||||
self.filename = filename
|
self.filename = filename
|
||||||
|
Loading…
Reference in New Issue
Block a user