projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
missed that part
[m6w6/ext-http]
/
tests
/
request_gzip.phpt
diff --git
a/tests/request_gzip.phpt
b/tests/request_gzip.phpt
index 7a9f02725922bc79891da22eed47b3918fe42a1a..c947f62d7cf97b86482cad1efb7ae5fb20449559 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,14
+25,18
@@
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-Type"]=>
- string(9) "text/html"
["Content-Length"]=>
string(2) "27"
["Content-Length"]=>
string(2) "27"
+ ["Content-Type"]=>
+ string(9) "text/html"
+ ["X-Original-Content-Encoding"]=>
+ string(4) "gzip"
+ ["X-Original-Content-Length"]=>
+ string(2) "52"
}
["body"]=>
string(27) "Array
}
["body"]=>
string(27) "Array
@@
-42,4
+47,6
@@
object(stdClass)#%d (%d) {
"
["parentMessage"]=>
NULL
"
["parentMessage"]=>
NULL
-}Done
+}
+Done
+