make an empty body [] not [undef]
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index 19a6cee..149d772 100644 (file)
@@ -117,7 +117,7 @@ sub finalize_body {
               $body = [$body];  
             }
         } else {
-          $body = [undef];
+          $body = [];
         }
 
         $res->_response_cb->([ $res->status, \@headers, $body]);