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 a mistake crept in which prevented from setting custom request content type
[m6w6/ext-http]
/
tests
/
etag_mode_041.phpt
diff --git
a/tests/etag_mode_041.phpt
b/tests/etag_mode_041.phpt
index 1a6a2ff2728b0634d6b25f9bed50101347bad162..e367de8cf536787e08e1b45e2546f08fed8e2687 100644
(file)
--- a/
tests/etag_mode_041.phpt
+++ b/
tests/etag_mode_041.phpt
@@
-1,5
+1,5
@@
--TEST--
--TEST--
-ob crc32 etag
+ob crc32 etag
(may fail because PHPs crc32 is actually crc32b)
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
@@
-8,7
+8,7
@@
checkmin(5.1);
?>
--FILE--
<?php
?>
--FILE--
<?php
-ini_set('http.etag_mode', 'crc32');
+ini_set('http.etag_mode',
extension_loaded('hash')?'crc32b':
'crc32');
http_cache_etag();
print("abc\n");
?>
http_cache_etag();
print("abc\n");
?>