---TEST--
-sha1 etag
---SKIPIF--
-<?php
-include 'skip.inc';
-checkcgi();
-checkmax(5.0);
-?>
---FILE--
-<?php
-ini_set('http.etag.mode', 'sha1');
-http_cache_etag();
-http_send_data("abc\n");
-?>
---EXPECTF--
-Content-type: %s
-X-Powered-By: PHP/%s
-Cache-Control: private, must-revalidate, max-age=0
-Accept-Ranges: bytes
-ETag: "03cfd743661f07975fa2f1220c5194cbaff48451"
-Content-Length: 4
-
-abc