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

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:

Thanks for pursuing this, Eric! ✨  ✨

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11 -Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:

There was a little discussion on GH-23230 whether the change should also go to 
3.10 and 3.9 given it's not a bugfix. 

Eric unearthed a similar discussion here:
https://bugs.python.org/issue13952#msg152752

where R. David opted for skipping backports on the grounds that the change is a 
new feature. Given R. David's conservative approach (which I share), I merged 
this change to 3.11 alone. Unless a backwards incompatibility is demonstrated, 
we won't be backporting to 3.10 and 3.9.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2021-11-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27906
pull_request: https://github.com/python/cpython/pull/29664

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset ef5305819ff9b283d92dbf004f977592f4e64165 by Dylan Van Assche in 
branch 'main':
bpo-42158: Add MIME types for n-triples, n-quads, n3 and trig (GH-23230)
https://github.com/python/cpython/commit/ef5305819ff9b283d92dbf004f977592f4e64165


--
nosy: +lukasz.langa

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +27905
pull_request: https://github.com/python/cpython/pull/29663

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-11-03 Thread Éric Araujo

Éric Araujo  added the comment:

Editing /etc/mime.types is one way of customizing the types returned; another 
one is to make a pull request to add them to the list inside the mimetypes 
module.

--
nosy: +eric.araujo
stage:  -> needs patch
versions:  -Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com