ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/handle/03_http_req.t
(Generate patch)

Comparing AnyEvent/t/handle/03_http_req.t (file contents):
Revision 1.9 by root, Fri May 23 17:50:15 2008 UTC vs.
Revision 1.10 by root, Sat May 24 23:15:14 2008 UTC

40 40
41 $cv->broadcast 41 $cv->broadcast
42 } 42 }
43 ); 43 );
44 44
45 $hdl->push_read_chunk (10, sub { 45 $hdl->push_read (chunk => 10, sub {
46 my ($hdl, $data) = @_; 46 my ($hdl, $data) = @_;
47 47
48 unless (substr ($data, 0, 4) eq 'HTTP') { 48 unless (substr ($data, 0, 4) eq 'HTTP') {
49 print "not "; 49 print "not ";
50 } 50 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines