[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2020-11-10 Thread Dylan Van Assche
Change by Dylan Van Assche : -- keywords: +patch pull_requests: +22126 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23230 ___ Python tracker <https://bugs.python.org/issu

[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2020-10-26 Thread Dylan Van Assche
Dylan Van Assche added the comment: Adding the MIME types to /etc/mime.types fixes this issue, but I'm not sure if that's the right 'fix' -- ___ Python tracker <https://bug

[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2020-10-26 Thread Dylan Van Assche
Change by Dylan Van Assche : -- title: http.server MIME type doesn't guess n-quads, n-triples, notation3 and TriG MIME types -> http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types ___ Python tr

[issue42158] http.server MIME type doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2020-10-26 Thread Dylan Van Assche
Change by Dylan Van Assche : -- title: guess_format() MIME type doesn't guess n-quads, n-triples, notation3 and TriG -> http.server MIME type doesn't guess n-quads, n-triples, notation3 and TriG MIME types ___ Python tr

[issue42158] guess_format() MIME type doesn't guess n-quads, n-triples, notation3 and TriG

2020-10-26 Thread Dylan Van Assche
New submission from Dylan Van Assche : 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: