Author Aleksey Bilogur
Recipients Aleksey Bilogur
Date 2017-03-16.03:53:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489636404.8.0.316801040698.issue29823@psf.upfronthosting.co.za>
In-reply-to
Content
Copied over from an unanswered StackOverflow thread (http://stackoverflow.com/questions/42542433/why-does-python-mimetype-guess-xsl-when-passed-an-xml-file):

When passed a file with a mimetype application/xml, the Python std lib mimetypes.guess_extension method guesses an .xsl extension. This is actually hard-coded in.

This seems wrong to me. But what do I know?
History
Date User Action Args
2017-03-16 03:53:24Aleksey Bilogursetrecipients: + Aleksey Bilogur
2017-03-16 03:53:24Aleksey Bilogursetmessageid: <1489636404.8.0.316801040698.issue29823@psf.upfronthosting.co.za>
2017-03-16 03:53:24Aleksey Bilogurlinkissue29823 messages
2017-03-16 03:53:23Aleksey Bilogurcreate