summaryrefslogtreecommitdiff
path: root/tests/LightyTest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LightyTest.pm')
-rwxr-xr-xtests/LightyTest.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm
index 81f92922..49d2175b 100755
--- a/tests/LightyTest.pm
+++ b/tests/LightyTest.pm
@@ -195,6 +195,9 @@ sub handle_http {
}
}
+ $t->{etag} = $resp_hdr{'etag'};
+ $t->{date} = $resp_hdr{'date'};
+
# check length
if (defined $resp_hdr{"content-length"}) {
$resp_body = substr($lines, 0, $resp_hdr{"content-length"});