Skip to content
This repository
Browse code

Merge branch 'development' of github.com:TurboGears/tg2 into development

  • Loading branch information...
commit a0bee98c2493590d8cea7b5dcd433e6cf1bd9c7b 2 parents 1a1bbc2 + 5a7d562
Michael Pedersen authored January 30, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tg/controllers/dispatcher.py
2  tg/controllers/dispatcher.py
@@ -70,7 +70,7 @@ def _get_dispatchable(self, url_path):
70 70
             ext = state.extension
71 71
             if ext is not None:
72 72
                 ext = '.' + ext
73  
-                mime_type, encoding = mimetypes.guess_type(ext)
  73
+                mime_type, encoding = mimetypes.guess_type('file'+ext)
74 74
                 pylons.request.response_type = mime_type
75 75
             pylons.request.response_ext = ext
76 76
 

0 notes on commit a0bee98

Please sign in to comment.
Something went wrong with that request. Please try again.