[New-bugs-announce] [issue42158] guess_format() MIME type doesn't guess n-quads, n-triples, notation3 and TriG
Dylan Van Assche
report at bugs.python.org
Mon Oct 26 13:56:56 EDT 2020
New submission from Dylan Van Assche <me at dylanvanassche.be>:
guess_format() from lib/mimetypes.py doesn't guess correctly the following MIME types:
- .nq: application/n-quads (specification: https://www.w3.org/TR/n-quads/)
- .nt: application/n-triples (specification: https://www.w3.org/TR/n-triples/)
- .n3: text/n3 (specification: https://www.w3.org/TeamSubmission/n3/)
- .trig: application/trig (specification: https://www.w3.org/TR/trig/)
In these cases the default MIME type is returned: application/octet-stream
----------
components: Library (Lib)
messages: 379676
nosy: DylanVanAssche
priority: normal
severity: normal
status: open
title: guess_format() MIME type doesn't guess n-quads, n-triples, notation3 and TriG
type: enhancement
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42158>
_______________________________________
More information about the New-bugs-announce
mailing list