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