diff --git a/src/Arvici/Heart/Http/Response.php b/src/Arvici/Heart/Http/Response.php
index <HASH>..<HASH> 100644
--- a/src/Arvici/Heart/Http/Response.php
+++ b/src/Arvici/Heart/Http/Response.php
@@ -187,6 +187,7 @@ class Response
      */
     public function json($object, $pretty = false)
     {
+        $this->header('Content-Type', 'application/json');
         return $this->body(json_encode($object, $pretty ? JSON_PRETTY_PRINT : 0));
     }
 
diff --git a/tests/app/App/Config/Template.php b/tests/app/App/Config/Template.php
index <HASH>..<HASH> 100644
--- a/tests/app/App/Config/Template.php
+++ b/tests/app/App/Config/Template.php
@@ -51,6 +51,11 @@ Configuration::define('template', function() {
                 View::bodyPlaceholder(),
                 View::body('testContent'),
                 View::template('testFooter')
+            ],
+            'test-basicrender' => [
+                View::template('testHeader'),
+                View::bodyPlaceholder(),
+                View::template('testFooter')
             ]
         ],
     ];
Small fix in response json encoder.