Update applications

This commit is contained in:
Romain Neutron
2012-09-28 11:07:14 +02:00
parent c220bcf9df
commit 49b9581e91
3 changed files with 16 additions and 9 deletions

View File

@@ -361,12 +361,9 @@ class API_V1_result
public function get_response()
{
$response = new Response(
$this->format()
, $this->get_http_code()
, array(
'Content-Type' => $this->get_content_type(),
'X-Status-Code'=> $this->get_http_code(),
)
$this->format(),
$this->get_http_code(),
array('Content-Type' => $this->get_content_type())
);
$response->setCharset('UTF-8');