@@ -115,8 +115,8 @@ class LuticateApplication implements MessageComponentInterface
$parameters = array_merge($_GET, $_POST);
$r = $this->dispatch($httpMethod, $url, $parameters);
- header("content-type", "application/json");
http_response_code($r->getStatusCode());
+ header("content-type", "application/json");
echo $r->__toString();
}