X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmessagebody005.phpt;fp=tests%2Fmessagebody005.phpt;h=2d1d8b27dcc125795a7059b978e6a4eb9e8777d1;hb=beb3af0516cb26bcc6e9c77876b333dcec51c44f;hp=0000000000000000000000000000000000000000;hpb=1d87e15edcbcf4b16c5a1aa80ce69229eedb3468;p=m6w6%2Fext-http diff --git a/tests/messagebody005.phpt b/tests/messagebody005.phpt new file mode 100644 index 0000000..2d1d8b2 --- /dev/null +++ b/tests/messagebody005.phpt @@ -0,0 +1,26 @@ +--TEST-- +message body add part +--SKIPIF-- + +--FILE-- +addPart(new http\Message("This: is a header\n\nand this is the data\n")); +echo $temp; + +?> +DONE +--EXPECTF-- +Test +--%x.%x +This: is a header +Content-Length: 21 + +and this is the data + +--%x.%x-- +DONE