xref: /php-src/sapi/cli/tests/bug66606_1.phpt (revision b4088ba5)
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(isset($_SERVER["CONTENT_TYPE"]), isset($_SERVER["CONTENT_LENGTH"]))');
13echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS);
14?>
15--EXPECT--
16bool(false)
17bool(false)
18