projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add test file to package.xml
[m6w6/ext-http]
/
tests
/
etag_mode_041.phpt
diff --git
a/tests/etag_mode_041.phpt
b/tests/etag_mode_041.phpt
index e367de8cf536787e08e1b45e2546f08fed8e2687..0834ede6e139cf5f89cfe8d6039c90508063a02e 100644
(file)
--- a/
tests/etag_mode_041.phpt
+++ b/
tests/etag_mode_041.phpt
@@
-4,18
+4,18
@@
ob crc32 etag (may fail because PHPs crc32 is actually crc32b)
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
-checkmin(
5.1
);
+checkmin(
"5.2.5"
);
?>
--FILE--
<?php
?>
--FILE--
<?php
-ini_set('http.etag
_
mode', extension_loaded('hash')?'crc32b':'crc32');
+ini_set('http.etag
.
mode', extension_loaded('hash')?'crc32b':'crc32');
http_cache_etag();
print("abc\n");
?>
--EXPECTF--
http_cache_etag();
print("abc\n");
?>
--EXPECTF--
-X-Powered-By: PHP/%
s
+X-Powered-By: PHP/%
a
Cache-Control: private, must-revalidate, max-age=0
ETag: "4e818847"
Cache-Control: private, must-revalidate, max-age=0
ETag: "4e818847"
-Content-type: %
s
+Content-type: %
a
abc
abc