mirror of
https://github.com/php/php-src.git
synced 2024-09-27 12:57:26 +00:00
14 lines
211 B
Plaintext
14 lines
211 B
Plaintext
|
--TEST--
|
||
|
Test bug #46739
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$ch = curl_init('http://127.0.0.1:9/');
|
||
|
|
||
|
curl_exec($ch);
|
||
|
$info = curl_getinfo($ch);
|
||
|
|
||
|
echo (array_key_exists('content_type', $info)) ? "set" : "not set";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
set
|