diff mercurial/help/config.txt @ 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 0c431d3129c4
children 2d965bfeb8f6
line wrap: on
line diff
--- a/mercurial/help/config.txt	Tue Mar 13 08:58:52 2018 -0700
+++ b/mercurial/help/config.txt	Tue Mar 13 09:45:56 2018 -0700
@@ -2527,6 +2527,9 @@
     Values less than or equal to 0 always refresh.
     (default: 20)
 
+``server-header``
+    Value for HTTP ``Server`` response header.
+
 ``staticurl``
     Base URL to use for static files. If unset, static files (e.g. the
     hgicon.png favicon) will be served by the CGI script itself. Use