The response no longer needs the context
Tomas Doran [Mon, 31 Oct 2011 18:33:24 +0000 (18:33 +0000)]
lib/Catalyst.pm
lib/Catalyst/Response.pm

index 9e77f31..3a8e5c3 100644 (file)
@@ -2010,7 +2010,6 @@ sub prepare {
 
     # For on-demand data
     $c->request->_context($c);
-    $c->response->_context($c);
 
     #surely this is not the most efficient way to do things...
     $c->stats($class->stats_class->new)->enable($c->use_stats);
index 185dc99..68ab474 100644 (file)
@@ -43,11 +43,6 @@ has headers   => (
   required => 1,
   lazy => 1,
 );
-has _context => (
-  is => 'rw',
-  weak_ref => 1,
-  clearer => '_clear_context',
-);
 
 sub output { shift->body(@_) }