Merge pull request #337 from skipperbent/v3

V3
This commit is contained in:
Simon Sessingø
2017-12-09 23:58:48 +01:00
committed by GitHub
+1 -1
View File
@@ -95,7 +95,7 @@ class Response
throw new \InvalidArgumentException('Invalid type for parameter "value". Must be of type array or object implementing the \JsonSerializable interface.');
}
$this->header('Content-type: application/json');
$this->header('Content-Type: application/json; charset=utf-8');
echo json_encode($value, $options, $dept);
exit(0);
}