HN44 / pywebdav

Automatically exported from code.google.com/p/pywebdav
0 stars 0 forks source link

Use python's built-in mimetype detection #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently the DAVServer seems to use roll-your-own magic.py. There is a
builtin mimetypes module in python. The module also has a less strict
option that may be considered for inclusion at a later date via a
configuration option.

Original issue reported on code.google.com by abhishek.mukher.g on 27 Jul 2009 at 8:24

Attachments:

GoogleCodeExporter commented 8 years ago
ack - I must admit that I don't remember why I did choose the self brewed 
mimetype
detection code over mimetypes module...

Original comment by spamsch@gmail.com on 28 Jul 2009 at 8:05

GoogleCodeExporter commented 8 years ago
Fixed

Original comment by spamsch@gmail.com on 15 Apr 2010 at 9:35