Mercurial > hg
view tests/test-serve.out @ 6379:d2bb66a8a435
hgweb: add compatibility code for old templates
Up to changeset 3340aa5a64f7, HTTP headers were expected to be embedded
in the "headers" template. Since that changeset, the content-type is
supposed to be defined as the "mimetype" template in the map file.
This changeset makes sure the old templates still work.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 24 Mar 2008 13:45:01 -0300 |
parents | de7256c82fad |
children | 7c36aee46bf5 |
line wrap: on
line source
% Without -v access log created - .hg/hgrc respected % With -v listening at http://localhost/ (127.0.0.1) % With --prefix foo listening at http://localhost/foo/ (127.0.0.1) % With --prefix /foo listening at http://localhost/foo/ (127.0.0.1) % With --prefix foo/ listening at http://localhost/foo/ (127.0.0.1) % With --prefix /foo/ listening at http://localhost/foo/ (127.0.0.1)