Commit f6e86c3c authored by Timmy Willison's avatar Timmy Willison

Close php tags for ajax tests on swarm

parent a5425906
...@@ -3,4 +3,6 @@ ...@@ -3,4 +3,6 @@
header("HTTP/1.0 400 Bad Request"); header("HTTP/1.0 400 Bad Request");
header("Content-Type: application/json"); header("Content-Type: application/json");
echo '{ "code": 40, "message": "Bad Request" }'; echo '{ "code": 40, "message": "Bad Request" }';
\ No newline at end of file
?>
\ No newline at end of file
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
header("HTTP/1.0 400 Bad Request"); header("HTTP/1.0 400 Bad Request");
echo "plain text message"; echo "plain text message";
\ No newline at end of file
?>
\ No newline at end of file
...@@ -16,3 +16,5 @@ foreach( $_SERVER as $key => $value ) { ...@@ -16,3 +16,5 @@ foreach( $_SERVER as $key => $value ) {
foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) { foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) {
echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n"; echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n";
} }
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment