xref: /PHP-7.3/sapi/cli/tests/bug66606_1.phpt (revision 782352c5)
1--TEST--
2Bug #66606 (Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE) - GET request
3--INI--
4allow_url_fopen=1
5--SKIPIF--
6<?php
7include "skipif.inc";
8?>
9--FILE--
10<?php
11include "php_cli_server.inc";
12php_cli_server_start('var_dump($_SERVER["CONTENT_TYPE"], $_SERVER["CONTENT_LENGTH"])');
13echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS);
14?>
15--EXPECT--
16NULL
17NULL
18