13 "Location: /anywhere\r\n".
15 "Location: /somewhere\r\n".
16 "HTTP/1.1 206 Partial content\r\n".
17 "Content-Range: bytes=2-3\r\n".
18 "Transfer-Encoding: chunked\r\n".
25 var_dump($m->getResponseStatus());
27 $x = $m->getParentMessage();
28 $x = $m->getParentMessage();
29 $x = $m->getParentMessage();
31 var_dump($m->getBody());
32 var_dump(HttpMessage::fromString($m->toString(true))->toString(true));
35 var_dump($m->toString());
36 } while ($m = $m->getParentMessage());
37 } catch (HttpException $ex) {
44 string(15) "Partial content"
46 string(190) "HTTP/1.1 301
50 HTTP/1.1 206 Partial content
51 Content-Range: bytes=2-3
52 X-Original-Transfer-Encoding: chunked
57 string(119) "HTTP/1.1 206 Partial content
58 Content-Range: bytes=2-3
59 X-Original-Transfer-Encoding: chunked
64 string(36) "HTTP/1.1 302
67 string(35) "HTTP/1.1 301