From: Michael Wallner Date: Thu, 10 Jul 2014 11:22:39 +0000 (+0200) Subject: add boundary check X-Git-Tag: RELEASE_2_0_7~9 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1cf96ccdd9eec5efd69ea474636bcb9f7ab89bb8;p=m6w6%2Fext-http add boundary check --- diff --git a/tests/messagebody005.phpt b/tests/messagebody005.phpt index 2d1d8b2..72f402d 100644 --- 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