Improved performance and stability of built-in HTTP server. Ripped out keep-alive...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / CGI.pm
index eefe701..103ed35 100644 (file)
@@ -44,8 +44,7 @@ sub finalize_headers {
 
     $c->response->header( Status => $c->response->status );
 
-    print $c->response->headers->as_string("\015\012");
-    print "\015\012";
+    print $c->response->headers->as_string("\015\012") . "\015\012";
 }
 
 =head2 $self->prepare_connection($c)