Close php tags for ajax tests on swarm

This commit is contained in:
Timmy Willison 2013-08-19 16:05:27 -04:00
parent a542590687
commit f6e86c3ca4
3 changed files with 8 additions and 2 deletions

View File

@ -3,4 +3,6 @@
header("HTTP/1.0 400 Bad Request");
header("Content-Type: application/json");
echo '{ "code": 40, "message": "Bad Request" }';
echo '{ "code": 40, "message": "Bad Request" }';
?>

View File

@ -2,4 +2,6 @@
header("HTTP/1.0 400 Bad Request");
echo "plain text message";
echo "plain text message";
?>

View File

@ -16,3 +16,5 @@ foreach( $_SERVER as $key => $value ) {
foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) {
echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n";
}
?>