projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- no need to check for COMPILE_DL_SESSION
[m6w6/ext-http]
/
tests
/
etag_mode_012.phpt
diff --git
a/tests/etag_mode_012.phpt
b/tests/etag_mode_012.phpt
index 72901e430d2a966def9a15691646239b2efc6d45..5a8702ed9569f5c98eb3db396517fe08265f42b1 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");
?>