make an empty body [] not [undef]
John Napiorkowski [Mon, 6 Jan 2014 21:47:39 +0000 (15:47 -0600)]
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]);