Send the HTTP status code in the response
Send the HTTP status code in the response
diff --git a/http/output_filter.php b/http/output_filter.php
index 6816cc1..a6a77e6 100644
--- a/http/output_filter.php
+++ b/http/output_filter.php
@@ -66,6 +66,7 @@ class OutputFilter
$this->_CreateBodyForResponse($request, $response);
// Now just output the response.
+ header("Status: {$response->response_code}", true, $response->response_code);
foreach ($response->headers as $header => $value)
header("$header: $value");
print $response->body;
diff --git a/http/root_controller.php b/http/root_controller.php
index 6fdc682..b4b87bb 100644
--- a/http/root_controller.php
+++ b/http/root_controller.php
@@ -67,7 +67,7 @@ class RootController
public function response() { return $this->response; }
/*! Sets the UrlMap. */
- public function set_urL_map(UrlMap $url_map) { $this->url_map = $url_map; }
+ public function set_url_map(UrlMap $url_map) { $this->url_map = $url_map; }
/*! Sest the Output Filter. */
public function set_output_filter(OutputFilter $output_filter)