Skip to content

Commit

Permalink
And fix the test cases as well
Browse files Browse the repository at this point in the history
  • Loading branch information
rlerdorf committed Mar 2, 2012
1 parent fda8d2f commit 81d45bc
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion sapi/cli/tests/php_cli_server_004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ HEADER
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down
2 changes: 1 addition & 1 deletion sapi/cli/tests/php_cli_server_005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ HEADER
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down
2 changes: 1 addition & 1 deletion sapi/cli/tests/php_cli_server_006.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ HEADER
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down
2 changes: 1 addition & 1 deletion sapi/cli/tests/php_cli_server_007.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ HEADER
--EXPECTF--
HTTP/1.1 401 Unauthorized
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
WWW-Authenticate: Digest realm="foo",qop="auth",nonce="XXXXX",opaque="acbd18db4cc2f85cedef654fccc4a4d8"
Content-type: text/html
4 changes: 2 additions & 2 deletions sapi/cli/tests/php_cli_server_008.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ fclose($fp);
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

string(8) "HTTP/1.1"
HTTP/1.0 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down
4 changes: 2 additions & 2 deletions sapi/cli/tests/php_cli_server_009.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ fclose($fp);
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

string(8) "/foo/bar"
HTTP/1.0 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down
4 changes: 2 additions & 2 deletions sapi/cli/tests/php_cli_server_010.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fclose($fp);
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand All @@ -65,7 +65,7 @@ string(8) "/foo/bar"
string(7) "foo=bar"
HTTP/1.0 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down
2 changes: 1 addition & 1 deletion sapi/cli/tests/php_cli_server_012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fclose($fp);
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down
6 changes: 3 additions & 3 deletions sapi/cli/tests/php_cli_server_013.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,23 @@ fclose($fp);

HTTP/1.1 404 Not Found
Host: %s
Connection: closed
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: %d

<html><head><title>404 Not Found</title><style type="text/css">AAA</style>
</head><body><h1 class="h">Not Found</h1><p>The requested resource / was not found on this server.</p></body></html>
HTTP/1.1 404 Not Found
Host: %s
Connection: closed
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: %d

<html><head><title>404 Not Found</title><style type="text/css">AAA</style>
</head><body><h1 class="h">Not Found</h1><p>The requested resource /main/style.css was not found on this server.</p></body></html>
HTTP/1.1 404 Not Found
Host: %s
Connection: closed
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: %d

Expand Down
4 changes: 2 additions & 2 deletions sapi/cli/tests/php_cli_server_014.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ fclose($fp);

HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: %s
Content-type: %s

done
HTTP/1.1 404 Not Found
Host: %s
Connection: closed
Connection: close
Content-Type: %s
Content-Length: %d

Expand Down
2 changes: 1 addition & 1 deletion sapi/cli/tests/php_cli_server_015.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fclose($fp);
--EXPECTF--
HTTP/1.1 200 OK
Host: %s
Connection: closed
Connection: close
X-Powered-By: PHP/%s
Content-type: text/html

Expand Down

0 comments on commit 81d45bc

Please sign in to comment.