Let read_chunk read from psgi.input.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:17 +0000 (17:49 +0000)]
lib/Catalyst/Engine.pm

index b802f6c..3691e59 100644 (file)
@@ -727,7 +727,10 @@ there is no more data to be read.
 
 =cut
 
-sub read_chunk { }
+sub read_chunk {
+    my ($self) = @_;
+    return $self->env->{'psgi.input'}->read(@_);
+}
 
 =head2 $self->read_length