003+ array(2) {
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ resource(10) of type (stream)
009+ }
010+ string(5) "done."
011+ string(415) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.3.24
013+ Host: 127.0.0.1:12342
014+ Pragma: no-cache
015+ Accept: */*
016+
017+ GET /foo/bar2 HTTP/1.1
018+ User-Agent: PHP/5.3.24
003- array(7) {
004- [0]=>
005- string(30) "HTTP/1.0 302 Moved Temporarily"
006- [1]=>
007- string(41) "Location: http://127.0.0.1:12342/foo/bar2"
008- [2]=>
009- string(30) "HTTP/1.0 301 Moved Permanently"
010- [3]=>
011- string(41) "Location: http://127.0.0.1:12342/foo/bar3"
012- [4]=>
013- string(30) "HTTP/1.0 302 Moved Temporarily"
014- [5]=>
015- string(41) "Location: http://127.0.0.1:12342/foo/bar4"
016- [6]=>
017- string(15) "HTTP/1.0 200 OK"
018- }
019- string(5) "done."
020- string(195) "GET /foo/bar HTTP/1.0
020+ Pragma: no-cache
021+ Accept: */*
023+ GET /foo/bar3 HTTP/1.1
024+ User-Agent: PHP/5.3.24
023- GET /foo/bar2 HTTP/1.0
026+ Pragma: no-cache
027+ Accept: */*
026- GET /foo/bar3 HTTP/1.0
029+ GET /foo/bar4 HTTP/1.1
030+ User-Agent: PHP/5.3.24
029- GET /foo/bar4 HTTP/1.0
030- Host: 127.0.0.1:12342
031-
032+ Pragma: no-cache
033+ Accept: */*
034-
035- Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, aborting in %s
036- bool(false)
037- string(97) "GET /foo/bar HTTP/1.0
037+ resource(15) of type (stream)
038+ array(2) {
039+ ["headers"]=>
040+ array(0) {
041+ }
042+ ["readbuf"]=>
043+ resource(16) of type (stream)
044+ }
045+ string(0) ""
046+ string(311) "GET /foo/bar HTTP/1.1
047+ User-Agent: PHP/5.3.24
040- GET /foo/bar2 HTTP/1.0
045-
046- Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, aborting in %s
047- bool(false)
048- string(48) "GET /foo/bar HTTP/1.0
049+ Pragma: no-cache
050+ Accept: */*
052+ GET /foo/bar2 HTTP/1.1
053+ User-Agent: PHP/5.3.24
053-
054- Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, aborting in %s
055- bool(false)
056- string(48) "GET /foo/bar HTTP/1.0
055+ Pragma: no-cache
056+ Accept: */*
058+ GET /foo/bar3 HTTP/1.1
059+ User-Agent: PHP/5.3.24
060+ Host: 127.0.0.1:12342
061+ Pragma: no-cache
062+ Accept: */*
063+
063- [0]=>
064- string(30) "HTTP/1.0 302 Moved Temporarily"
065- [1]=>
066- string(41) "Location: http://127.0.0.1:12342/foo/bar2"
066+ resource(21) of type (stream)
067+ array(2) {
068+ ["headers"]=>
069+ array(0) {
070+ }
071+ ["readbuf"]=>
072+ resource(22) of type (stream)
073+ }
074+ string(1) "1"
075+ string(103) "GET /foo/bar HTTP/1.1
076+ User-Agent: PHP/5.3.24
069- string(48) "GET /foo/bar HTTP/1.0
076- [0]=>
077- string(30) "HTTP/1.0 302 Moved Temporarily"
078- [1]=>
079- string(41) "Location: http://127.0.0.1:12342/foo/bar2"
078+ Pragma: no-cache
079+ Accept: */*
082- string(48) "GET /foo/bar HTTP/1.0
083+ resource(27) of type (stream)
084+ array(2) {
085+ ["headers"]=>
086+ array(0) {
087+ }
088+ ["readbuf"]=>
089+ resource(28) of type (stream)
090+ }
091+ string(1) "1"
092+ string(103) "GET /foo/bar HTTP/1.1
093+ User-Agent: PHP/5.3.24
088- array(4) {
089- [0]=>
090- string(30) "HTTP/1.0 302 Moved Temporarily"
091- [1]=>
092- string(41) "Location: http://127.0.0.1:12342/foo/bar2"
093- [2]=>
094- string(30) "HTTP/1.0 301 Moved Permanently"
095- [3]=>
096- string(41) "Location: http://127.0.0.1:12342/foo/bar3"
095+ Pragma: no-cache
096+ Accept: */*
099- string(97) "GET /foo/bar HTTP/1.0
102+ ["headers"]=>
103+ array(0) {
104+ }
105+ ["readbuf"]=>
106+ resource(34) of type (stream)
102- GET /foo/bar2 HTTP/1.0
109+ string(103) "GET /foo/bar HTTP/1.1
110+ User-Agent: PHP/5.3.24
112+ Pragma: no-cache
113+ Accept: */*
119+ ["headers"]=>
120+ array(0) {
121+ }
122+ ["readbuf"]=>
123+ resource(40) of type (stream)
126+ string(103) "GET /foo/bar HTTP/1.1
127+ User-Agent: PHP/5.3.24
129+ Pragma: no-cache
130+ Accept: */*
135+ array(2) {
136+ ["headers"]=>
137+ array(0) {
138+ }
139+ ["readbuf"]=>
140+ resource(46) of type (stream)
143+ string(311) "GET /foo/bar HTTP/1.1
144+ User-Agent: PHP/5.3.24
146+ Pragma: no-cache
147+ Accept: */*
149+ GET /foo/bar2 HTTP/1.1
150+ User-Agent: PHP/5.3.24
152+ Pragma: no-cache
153+ Accept: */*
155+ GET /foo/bar3 HTTP/1.1
156+ User-Agent: PHP/5.3.24
157+ Host: 127.0.0.1:12342
158+ Pragma: no-cache
159+ Accept: */*
160+