From: Mats Lindh Date: Thu, 16 Apr 2015 11:40:48 +0000 (+0200) Subject: Add test for the SEARCH HTTP verb in the CLI HTTP server. X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~42^2~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6018144cd0ebfefe5662eb6a1dea6604ef1775f;p=php Add test for the SEARCH HTTP verb in the CLI HTTP server. --- 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"