xref: /PHP-7.0/sapi/cli/tests/bug66606_1.phpt (revision 1b4a8033)
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--EXPECTF--
16NULL
17NULL
18