Mercurial > hg
comparison mercurial/configitems.py @ 37009:5890e5872f36
hgweb: allow defining Server response header for HTTP server
By default, the string contains the Python version. Server
operators may want to change this.
Because we like deterministic tests, we change the test harness
to always set this value to a known string. Various globs over
the server header have now been removed.
# no-check-commit because we add version_string()
Differential Revision: https://phab.mercurial-scm.org/D2840
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 13 Mar 2018 09:45:56 -0700 |
parents | e349ad5cbb71 |
children | 1cfef5693203 |
comparison
equal
deleted
inserted
replaced
37008:16203c6079e7 | 37009:5890e5872f36 |
---|---|
1253 default=True, | 1253 default=True, |
1254 ) | 1254 ) |
1255 coreconfigitem('web', 'refreshinterval', | 1255 coreconfigitem('web', 'refreshinterval', |
1256 default=20, | 1256 default=20, |
1257 ) | 1257 ) |
1258 coreconfigitem('web', 'server-header', | |
1259 default=None, | |
1260 ) | |
1258 coreconfigitem('web', 'staticurl', | 1261 coreconfigitem('web', 'staticurl', |
1259 default=None, | 1262 default=None, |
1260 ) | 1263 ) |
1261 coreconfigitem('web', 'stripes', | 1264 coreconfigitem('web', 'stripes', |
1262 default=1, | 1265 default=1, |