projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
66fa934
)
add boundary check
author
Michael Wallner
<mike@php.net>
Thu, 10 Jul 2014 11:22:39 +0000
(13:22 +0200)
committer
Michael Wallner
<mike@php.net>
Thu, 10 Jul 2014 11:22:39 +0000
(13:22 +0200)
tests/messagebody005.phpt
patch
|
blob
|
history
diff --git
a/tests/messagebody005.phpt
b/tests/messagebody005.phpt
index
2d1d8b2
..
72f402d
100644
(file)
--- a/
tests/messagebody005.phpt
+++ b/
tests/messagebody005.phpt
@@
-9,13
+9,17
@@
include "skipif.inc";
echo "Test\n";
$temp = new http\Message\Body;
+var_dump($temp->getBoundary());
$temp->addPart(new http\Message("This: is a header\n\nand this is the data\n"));
+var_dump($temp->getBoundary());
echo $temp;
?>
DONE
--EXPECTF--
Test
+NULL
+string(%d) "%x.%x"
--%x.%x
This: is a header
Content-Length: 21