projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_5_3'.
[m6w6/ext-http]
/
tests
/
request_gzip.phpt
diff --git
a/tests/request_gzip.phpt
b/tests/request_gzip.phpt
index c4d3a1212bc9d266c96a9da0ac41744db4b02c47..4493d8c1750627ca69830fffbcc6909b0b7bb722 100644
(file)
--- a/
tests/request_gzip.phpt
+++ b/
tests/request_gzip.phpt
@@
-10,7
+10,7
@@
skipif(!http_support(HTTP_SUPPORT_REQUESTS), 'need curl support');
<?php
echo "-TEST\n";
<?php
echo "-TEST\n";
-var_dump(http_parse_message(http_get('http://dev.iworks.at/.print_request.php?gzip=1', array('compress' => true))));
+var_dump(http_parse_message(http_get('http://dev.iworks.at/
ext-http/
.print_request.php?gzip=1', array('compress' => true))));
echo "Done\n";
--EXPECTF--
echo "Done\n";
--EXPECTF--
@@
-25,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