2 HttpMessage simple redirects
6 (5 > (int) PHP_VERSION) and die('skip PHP5 is required for Http classes');
12 "Location: /anywhere\r\n".
14 "Location: /somwhere\r\n".
16 "Content-Range: bytes=2-3\r\n".
17 "Transfer-Encoding: chunked\r\n".
24 var_dump($m->getBody());
25 var_dump($m->toString());
26 var_dump(HttpMessage::fromString($m->toString())->toString());
29 Content-type: text/html
33 string(134) "HTTP/1.1 301
38 Content-Range: bytes=2-3
43 string(134) "HTTP/1.1 301
48 Content-Range: bytes=2-3