Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

execute becomes respond

  • Loading branch information...
commit c29dfbd945ceeda8b41a5749a57352b3f9e487f0 1 parent 5274d54
@juliend2 authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  index.php
  2. +1 −1  lib/framework.php
View
2  index.php
@@ -11,4 +11,4 @@
'files'=>$_FILES
));
-execute($status, $headers, $body);
+respond($status, $headers, $body);
View
2  lib/framework.php
@@ -25,7 +25,7 @@ function parse_request($config, $request) {
*
* Returns nothing
*/
-function execute($status, $headers, $body) {
+function respond($status, $headers, $body) {
header("HTTP/1.0 $status"); // For now, we don't put any status string; only the status code
foreach ($headers as $key => $value) {
header("$key: $value");
Please sign in to comment.
Something went wrong with that request. Please try again.