summaryrefslogtreecommitdiff
path: root/sapi/cli/tests/php_cli_server_008.phpt
diff options
context:
space:
mode:
authorSeeSchloss <see@seos.fr>2016-01-21 17:20:24 +0000
committerAnatol Belski <ab@php.net>2016-06-02 12:27:48 +0200
commitf33c7b3e41bda272de83bcc4959b3e0b968e3124 (patch)
treeb7ff5397f9c9c10864206332ed50550ba2106d94 /sapi/cli/tests/php_cli_server_008.phpt
parent56b2a49648ea73bed4186c93a1dbf12059aa78ba (diff)
downloadphp-git-f33c7b3e41bda272de83bcc4959b3e0b968e3124.tar.gz
Added mandatory Date: header to built-in webserver
Diffstat (limited to 'sapi/cli/tests/php_cli_server_008.phpt')
-rw-r--r--sapi/cli/tests/php_cli_server_008.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cli/tests/php_cli_server_008.phpt b/sapi/cli/tests/php_cli_server_008.phpt
index 01f825a746..58b2485db5 100644
--- a/sapi/cli/tests/php_cli_server_008.phpt
+++ b/sapi/cli/tests/php_cli_server_008.phpt
@@ -54,6 +54,7 @@ fclose($fp);
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
+Date: %s
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html; charset=UTF-8
@@ -61,6 +62,7 @@ Content-type: text/html; charset=UTF-8
string(8) "HTTP/1.1"
HTTP/1.0 200 OK
Host: %s
+Date: %s
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html; charset=UTF-8