projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- improve inflate performance
[m6w6/ext-http]
/
tests
/
request_gzip.phpt
diff --git
a/tests/request_gzip.phpt
b/tests/request_gzip.phpt
index ea2cb5f8e7a28f6c742d18fc145d5d9108be6773..6f78eda51a9f228da32ae27ef3ee047ea7627ab5 100644
(file)
--- a/
tests/request_gzip.phpt
+++ b/
tests/request_gzip.phpt
@@
-4,6
+4,7
@@
GZIP request
<?php
include 'skip.inc';
checkurl('dev.iworks.at');
<?php
include 'skip.inc';
checkurl('dev.iworks.at');
+skipif(!http_support(HTTP_SUPPORT_REQUESTS), 'need curl support');
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-24,21
+25,24
@@
object(stdClass)#%d (%d) {
["responseStatus"]=>
string(2) "OK"
["headers"]=>
["responseStatus"]=>
string(2) "OK"
["headers"]=>
- array(
6
) {
+ array(
8
) {
%s
["Vary"]=>
string(15) "Accept-Encoding"
%s
["Vary"]=>
string(15) "Accept-Encoding"
+ ["Content-Length"]=>
+ string(2) "26"
["Content-Type"]=>
string(9) "text/html"
["Content-Type"]=>
string(9) "text/html"
- ["Content-Length"]=>
- string(2) "27"
+ ["X-Original-Content-Encoding"]=>
+ string(4) "gzip"
+ ["X-Original-Content-Length"]=>
+ string(2) "51"
}
["body"]=>
}
["body"]=>
- string(2
7
) "Array
+ string(2
6
) "Array
(
[gzip] => 1
)
(
[gzip] => 1
)
-
"
["parentMessage"]=>
NULL
"
["parentMessage"]=>
NULL