Mercurial > public > mercurial-scm > hg
diff tests/test-hgweb-commands.t @ 37008:16203c6079e7
tests: use $HTTP_DATE$ for Date header
Support for the $HTTP_DATE$ substitution was recently added. Let's
adopt it more widely.
We had to tweak the substitution to be case insensitive, since
HTTP headers are case insensitive. I also found a minor test
issue not globbing over the length of the Server response header.
Differential Revision: https://phab.mercurial-scm.org/D2839
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 13 Mar 2018 08:58:52 -0700 |
parents | f21798a6bc20 |
children | 5890e5872f36 |
line wrap: on
line diff