projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
Merge branch 'R_2_0'
[m6w6/ext-http]
/
tests
/
messagebody005.phpt
1
--TEST--
2
message body add part
3
--SKIPIF--
4
<?php
5
include "skipif.inc";
6
?>
7
--FILE--
8
<?php
9
echo "Test\n";
10
11
$temp = new http\Message\Body;
12
$temp->addPart(new http\Message("This: is a header\n\nand this is the data\n"));
13
echo $temp;
14
15
?>
16
DONE
17
--EXPECTF--
18
Test
19
--%x.%x
20
This: is a header
21
Content-Length: 21
22
23
and this is the data
24
25
--%x.%x--
26
DONE