Browse Source

[tests] only use cache.disk.etag if request was handled

personal/stbuehler/wip
Stefan Bühler 9 years ago
parent
commit
8a0a8715d0
  1. 4
      tests/base.py

4
tests/base.py

@ -391,7 +391,9 @@ vhost.map var.vhosts;
static;
do_deflate;
cache.disk.etag "{cache_disk_etag_dir}";
if request.is_handled {{
cache.disk.etag "{cache_disk_etag_dir}";
}}
""".format(cache_disk_etag_dir = cache_disk_etag_dir)
Env.lighttpdconf = self.PrepareFile("conf/lighttpd.conf", self.config)

Loading…
Cancel
Save