This is an archive of the discontinued Mercurial Phabricator instance.

tests: use $HTTP_DATE$ for Date header
ClosedPublic

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

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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