From b6018144cd0ebfefe5662eb6a1dea6604ef1775f Mon Sep 17 00:00:00 2001 From: Mats Lindh Date: Thu, 16 Apr 2015 13:40:48 +0200 Subject: [PATCH] Add test for the SEARCH HTTP verb in the CLI HTTP server. --- sapi/cli/tests/php_cli_server_020.phpt | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 sapi/cli/tests/php_cli_server_020.phpt diff --git a/sapi/cli/tests/php_cli_server_020.phpt b/sapi/cli/tests/php_cli_server_020.phpt new file mode 100644 index 0000000000..4ed673d380 --- /dev/null +++ b/sapi/cli/tests/php_cli_server_020.phpt @@ -0,0 +1,40 @@ +--TEST-- +Use SEARCH as a HTTP verb +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +HTTP/1.1 200 OK +Host: %s +Connection: close +X-Powered-By: PHP/%s +Content-type: text/html; charset=UTF-8 + +string(6) "SEARCH" -- 2.40.0