uawdijnntqw1x1x1
IP : 3.23.100.174
Hostname : server86.web-hosting.com
Kernel : Linux server86.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
.
/
..
/
home4
/
..
/
opt
/
alt
/
libgeos
/
..
/
tests
/
alt-php84-pecl-http_4.2.6-2.el8
/
tests
/
bug69357.phpt
/
/
--TEST-- Bug #69357 (HTTP/1.1 100 Continue overriding subsequent 200 response code with PUT request) --SKIPIF-- <?php include "skipif.inc"; skip_client_test(); ?> --FILE-- <?php echo "Test\n"; include "helper/server.inc"; server("upload.inc", function($port) { $b = new \http\Message\Body; $b->append("foo"); $r = new \http\Client\Request("PUT", "http://localhost:$port/", array(), $b); $c = new \http\Client; $c->setOptions(array("expect_100_timeout" => 0)); $c->enqueue($r)->send(); var_dump($c->getResponse($r)->getInfo()); var_dump($c->getResponse($r)->getHeaders()); }); ?> ===DONE=== --EXPECTF-- Test string(15) "HTTP/1.1 200 OK" array(4) { ["Accept-Ranges"]=> string(5) "bytes" ["Etag"]=> string(10) ""%x"" ["X-Original-Transfer-Encoding"]=> string(7) "chunked" ["Content-Length"]=> int(%d) } ===DONE===
/home/./../home4/../opt/alt/libgeos/../tests/alt-php84-pecl-http_4.2.6-2.el8/tests/bug69357.phpt