projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix unsetting response headers
[m6w6/ext-http]
/
tests
/
etag_mode_012.phpt
diff --git
a/tests/etag_mode_012.phpt
b/tests/etag_mode_012.phpt
index 72901e430d2a966def9a15691646239b2efc6d45..1e4d779f6c67699db7fc1d54b13ee0e8ae5b2ee5 100644
(file)
--- a/
tests/etag_mode_012.phpt
+++ b/
tests/etag_mode_012.phpt
@@
-5,11
+5,10
@@
ob sha1 etag
include 'skip.inc';
checkcgi();
checkmax(5.0);
include 'skip.inc';
checkcgi();
checkmax(5.0);
-skipif(!http_support(HTTP_SUPPORT_MHASHETAGS), 'need mhash support');
?>
--FILE--
<?php
?>
--FILE--
<?php
-ini_set('http.etag
_mode', HTTP_ETAG_SHA1
);
+ini_set('http.etag
.mode', 'sha1'
);
http_cache_etag();
print("abc\n");
?>
http_cache_etag();
print("abc\n");
?>