projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixed pecl bug #16817 (Proxy-Auth. and WWW-Auth. credentials mixed after connection...
[m6w6/ext-http]
/
tests
/
request_gzip.phpt
diff --git
a/tests/request_gzip.phpt
b/tests/request_gzip.phpt
index c947f62d7cf97b86482cad1efb7ae5fb20449559..81f9bc4e66a2f24cbc24f92b71eddb8fa5830eff 100644
(file)
--- a/
tests/request_gzip.phpt
+++ b/
tests/request_gzip.phpt
@@
-10,12
+10,12
@@
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--
-%
s
TEST
-object(stdClass)
#%d (%d)
{
+%
a
TEST
+object(stdClass)
%a
{
["type"]=>
int(2)
["httpVersion"]=>
["type"]=>
int(2)
["httpVersion"]=>
@@
-26,24
+26,23
@@
object(stdClass)#%d (%d) {
string(2) "OK"
["headers"]=>
array(8) {
string(2) "OK"
["headers"]=>
array(8) {
- %
s
+ %
a
["Vary"]=>
string(15) "Accept-Encoding"
["Content-Length"]=>
["Vary"]=>
string(15) "Accept-Encoding"
["Content-Length"]=>
- string(2) "2
7
"
+ string(2) "2
6
"
["Content-Type"]=>
string(9) "text/html"
["X-Original-Content-Encoding"]=>
string(4) "gzip"
["X-Original-Content-Length"]=>
["Content-Type"]=>
string(9) "text/html"
["X-Original-Content-Encoding"]=>
string(4) "gzip"
["X-Original-Content-Length"]=>
- string(2) "5
2
"
+ string(2) "5
1
"
}
["body"]=>
}
["body"]=>
- string(2
7
) "Array
+ string(2
6
) "Array
(
[gzip] => 1
)
(
[gzip] => 1
)
-
"
["parentMessage"]=>
NULL
"
["parentMessage"]=>
NULL