projects
/
catagits/HTTP-Body.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
HTTP::Body, added support for chunked requests
[catagits/HTTP-Body.git]
/
lib
/
HTTP
/
Body
/
MultiPart.pm
diff --git
a/lib/HTTP/Body/MultiPart.pm
b/lib/HTTP/Body/MultiPart.pm
index
b5860f1
..
5ff3970
100644
(file)
--- a/
lib/HTTP/Body/MultiPart.pm
+++ b/
lib/HTTP/Body/MultiPart.pm
@@
-274,7
+274,7
@@
sub handler {
$part->{fh} = $fh;
$part->{tempname} = $fh->filename;
- }
+ }
}
}
@@
-285,7
+285,7
@@
sub handler {
if ( $part->{done} ) {
if ( exists $part->{filename} ) {
- if ( $part->{filename} ne "" ) {
+ if ( $part->{filename} ne "" ) {
$part->{fh}->close;
delete @{$part}{qw[ data done fh ]};