12 $m1 = new HttpMessage("
19 Content-Type: text/plain
25 $m2 = new HttpMessage("
26 GET http://example.com/ HTTP/1.0
29 Content-Type: text/html
37 echo $m1->toString(true);
39 $m1->prepend($m1->detach(), false);
40 echo $m1->toString(true);
46 GET http://example.com/ HTTP/1.0
49 Content-Type: text/html
59 Content-Type: text/plain
63 GET http://example.com/ HTTP/1.0
66 Content-Type: text/html
76 Content-Type: text/plain
82 Content-Type: text/plain