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
/
parse_message_004.phpt
diff --git
a/tests/parse_message_004.phpt
b/tests/parse_message_004.phpt
index a684e84c82b2a8902de7d2ad6263219d4823924f..5ce6048ddf530378346679be6cc92650260a358f 100644
(file)
--- a/
tests/parse_message_004.phpt
+++ b/
tests/parse_message_004.phpt
@@
-30,8
+30,8
@@
var_dump(http_parse_message($message));
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
-object(stdClass)
#1 (7)
{
+%
a
TEST
+object(stdClass)
%a
{
["type"]=>
int(2)
["httpVersion"]=>
["type"]=>
int(2)
["httpVersion"]=>
@@
-50,14
+50,14
@@
object(stdClass)#1 (7) {
["body"]=>
string(10) "1234567890"
["parentMessage"]=>
["body"]=>
string(10) "1234567890"
["parentMessage"]=>
- object(stdClass)
#2 (7)
{
+ object(stdClass)
%a
{
["type"]=>
int(1)
["httpVersion"]=>
float(1.1)
["requestMethod"]=>
string(3) "GET"
["type"]=>
int(1)
["httpVersion"]=>
float(1.1)
["requestMethod"]=>
string(3) "GET"
- ["requestUr
i
"]=>
+ ["requestUr
l
"]=>
string(1) "/"
["headers"]=>
array(2) {
string(1) "/"
["headers"]=>
array(2) {
@@
-69,7
+69,7
@@
object(stdClass)#1 (7) {
["body"]=>
string(0) ""
["parentMessage"]=>
["body"]=>
string(0) ""
["parentMessage"]=>
- object(stdClass)
#3 (7)
{
+ object(stdClass)
%a
{
["type"]=>
int(2)
["httpVersion"]=>
["type"]=>
int(2)
["httpVersion"]=>
@@
-88,14
+88,14
@@
object(stdClass)#1 (7) {
["body"]=>
string(0) ""
["parentMessage"]=>
["body"]=>
string(0) ""
["parentMessage"]=>
- object(stdClass)
#4 (7)
{
+ object(stdClass)
%a
{
["type"]=>
int(1)
["httpVersion"]=>
float(1.1)
["requestMethod"]=>
string(4) "HEAD"
["type"]=>
int(1)
["httpVersion"]=>
float(1.1)
["requestMethod"]=>
string(4) "HEAD"
- ["requestUr
i
"]=>
+ ["requestUr
l
"]=>
string(1) "/"
["headers"]=>
array(2) {
string(1) "/"
["headers"]=>
array(2) {