Commit d2961fc0 authored by Andreas Jung's avatar Andreas Jung

added comment

parent 2e8aa62f
......@@ -35,6 +35,7 @@ def guess_type(filename, text):
# check for XML ourself since guess_content_type can't
# detect text/xml if 'filename' won't end with .xml
# XXX: fix this in zope.contenttype
if text.startswith('<?xml'):
return 'text/xml'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment