From fe676748091e3329a8c8b053b7ce6fd41ae264e6 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Thu, 12 Jun 2014 17:54:29 -0700 Subject: Add 308 and 426 to the HTTP response code map in the CLI server. Implements FR #67429 (CLI server is missing some new HTTP response codes). --- sapi/cli/tests/bug67429.phpt | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 sapi/cli/tests/bug67429.phpt (limited to 'sapi/cli/tests') diff --git a/sapi/cli/tests/bug67429.phpt b/sapi/cli/tests/bug67429.phpt new file mode 100644 index 0000000000..59486dbc0e --- /dev/null +++ b/sapi/cli/tests/bug67429.phpt @@ -0,0 +1,49 @@ +--TEST-- +FR #67429 (CLI server is missing some new HTTP response codes) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +HTTP/1.1 308 Permanent Redirect +Connection: close +X-Powered-By: %s +Content-type: text/html + +HTTP/1.1 426 Upgrade Required +Connection: close +X-Powered-By: %s +Content-type: text/html + -- cgit v1.2.1