2 Bug #69357 (HTTP/1.1 100 Continue overriding subsequent 200 response code with PUT request)
12 include "helper/server.inc";
14 server("upload.inc", function($port) {
15 $b = new \http\Message\Body;
17 $r = new \http\Client\Request("PUT", "http://localhost:$port/", array(), $b);
18 $c = new \http\Client;
19 $c->setOptions(array("expect_100_timeout" => 0));
20 $c->enqueue($r)->send();
22 var_dump($c->getResponse($r)->getInfo());
23 var_dump($c->getResponse($r)->getHeaders());
30 string(15) "HTTP/1.1 200 OK"
36 ["X-Original-Transfer-Encoding"]=>