📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 16:19:46
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php80-pecl-http_4.2.6-4.el8
/
tests
📍 /opt/alt/tests/alt-php80-pecl-http_4.2.6-4.el8/tests
🔄 Refresh
✏️
Editing: clientrequest002.phpt
Read Only
--TEST-- client request content type --SKIPIF-- <?php include "skipif.inc"; ?> --FILE-- <?php echo "Test\n"; $r = new http\Client\Request("POST", "http://localhost/"); var_dump($r === $r->setContentType($ct = "text/plain; charset=utf-8")); var_dump($ct === $r->getContentType()); ?> Done --EXPECT-- Test bool(true) bool(true) Done
💾 Save Changes
❌ Cancel