This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: allow defining Server response header for HTTP server
ClosedPublic

Authored by indygreg on Mar 13 2018, 3:11 PM.

Details

Summary

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.

  1. no-check-commit because we add version_string()

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Mar 13 2018, 3:11 PM
lothiraldan accepted this revision.Mar 14 2018, 5:33 AM
durin42 accepted this revision.Mar 19 2018, 9:36 PM
This revision is now accepted and ready to land.Mar 19 2018, 9:36 PM
This revision was automatically updated to reflect the committed changes.