projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 1.7.5
[m6w6/ext-http]
/
tests
/
request_gzip.phpt
diff --git
a/tests/request_gzip.phpt
b/tests/request_gzip.phpt
index 7855a6f691f4f065f739024252cf254f58869798..3c5ae6f913c924f81d390a8765201d5e3bc7f3b0 100644
(file)
--- a/
tests/request_gzip.phpt
+++ b/
tests/request_gzip.phpt
@@
-14,8
+14,8
@@
var_dump(http_parse_message(http_get('http://dev.iworks.at/ext-http/.print_reque
echo "Done\n";
--EXPECTF--
echo "Done\n";
--EXPECTF--
-%
s
TEST
-object(stdClass)%
s
{
+%
a
TEST
+object(stdClass)%
a
{
["type"]=>
int(2)
["httpVersion"]=>
["type"]=>
int(2)
["httpVersion"]=>
@@
-25,14
+25,16
@@
object(stdClass)%s {
["responseStatus"]=>
string(2) "OK"
["headers"]=>
["responseStatus"]=>
string(2) "OK"
["headers"]=>
- array(
8
) {
- %
s
+ array(
%d
) {
+ %
a
["Vary"]=>
string(15) "Accept-Encoding"
["Vary"]=>
string(15) "Accept-Encoding"
- ["Content-Length"]=>
- string(2) "26"
["Content-Type"]=>
string(9) "text/html"
["Content-Type"]=>
string(9) "text/html"
+ ["X-Original-Transfer-Encoding"]=>
+ string(7) "chunked"
+ ["Content-Length"]=>
+ string(2) "26"
["X-Original-Content-Encoding"]=>
string(4) "gzip"
["X-Original-Content-Length"]=>
["X-Original-Content-Encoding"]=>
string(4) "gzip"
["X-Original-Content-Length"]=>