Closed kiesel closed 9 years ago
Here's the example from the HttpConnection's class apidoc:
HttpConnection
$c= new HttpConnection('http://xp-framework.net/'); $response= $c->get( array('a' => 'b'), array( new Header('X-Binford', '6100 (more power)'), new BasicAuthorization('baz', 'bar'), 'Cookie' => 'username=fred; lastvisit=2004-01-10' ) ); Console::writeLine('Headers: ', $response); while ($chunk= $response->readData()) { // ... }
This wouldn't work anymore AFAIS. Can we restore BC here?
:+1:
Superseded by PR #9
Here's the example from the
HttpConnection
's class apidoc:This wouldn't work anymore AFAIS. Can we restore BC here?