projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix caching bug, thankt to rrichards
[m6w6/ext-http]
/
tests
/
parse_message_002.phpt
diff --git
a/tests/parse_message_002.phpt
b/tests/parse_message_002.phpt
index d82aac9232b57458773005108bd3a3c7a8ab0be8..95a281570b452bf9a027e8953cfbc1361c292d4c 100644
(file)
--- a/
tests/parse_message_002.phpt
+++ b/
tests/parse_message_002.phpt
@@
-13,13
+13,13
@@
$message =
"Transfer-Encoding: identity\n".
"Content-Length: 3\n".
"Content-Type: text/plain\n\n".
"Transfer-Encoding: identity\n".
"Content-Length: 3\n".
"Content-Type: text/plain\n\n".
-"Hi!
foo
";
+"Hi!
\n\n\n\n
";
print_r(http_parse_message($message));
echo "Done\n";
--EXPECTF--
print_r(http_parse_message($message));
echo "Done\n";
--EXPECTF--
-%
s
TEST
+%
a
TEST
stdClass Object
(
[type] => 2
stdClass Object
(
[type] => 2