=item init
-This function is overrided to detect the start part of the
+This function is overridden to detect the start part of the
multipart/related post.
=cut
=item handler
-This function is overrided to differ the start part, which should be
+This function is overridden to differ the start part, which should be
set as the XForms:Model param if its content type is application/xml.
=cut
if ( $contentid eq $self->start ) {
$part->{name} = 'XForms:Model';
+ if ($part->{done}) {
+ $self->body($part->{data});
+ }
}
elsif ( defined $contentid ) {
$part->{name} = $contentid;
=back
+=head1 SUPPORT
+
+See L<HTTP::Body>
+
=head1 AUTHOR
Daniel Ruoso C<daniel@ruoso.com>