X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FHTTP%2FBody.pm;h=2e7000a50a9d4ea474297870a92ae80f4f296a74;hb=44761c0069a2e8055efc3f45c11c42467556bf2a;hp=083d6be9fa966e142209971ce883032d1fad514e;hpb=348fdd5a1e92dc75067e9d159186ce8cb236e0c3;p=catagits%2FHTTP-Body.git diff --git a/lib/HTTP/Body.pm b/lib/HTTP/Body.pm index 083d6be..2e7000a 100644 --- a/lib/HTTP/Body.pm +++ b/lib/HTTP/Body.pm @@ -49,7 +49,7 @@ sub new { my $self = { buffer => '', - body => '', + body => undef, content_length => $content_length, content_type => $content_type, length => 0,