Mercurial > hg
diff mercurial/hgweb/webcommands.py @ 34608:f12de15c5711
configitems: register the 'web.guessmime' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 04:15:24 +0200 |
parents | 2e32c6a31cc7 |
children | 4182d2065e7a |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Wed Oct 11 04:15:08 2017 +0200 +++ b/mercurial/hgweb/webcommands.py Wed Oct 11 04:15:24 2017 +0200 @@ -93,7 +93,7 @@ @webcommand('rawfile') def rawfile(web, req, tmpl): - guessmime = web.configbool('web', 'guessmime', False) + guessmime = web.configbool('web', 'guessmime') path = webutil.cleanpath(web.repo, req.form.get('file', [''])[0]) if not path: