HTTP-Body
view release on metacpan or search on metacpan
lib/HTTP/Body.pm view on Meta::CPAN
Returns -1 if the request is chunked.
=cut
sub content_length {
return shift->{content_length};
}
=item content_type
Returns the content-type of the body data.
=cut
sub content_type {
return shift->{content_type};
}
=item init
return self.
lib/HTTP/Body/XForms.pm view on Meta::CPAN
HTTP::Body::XForms - HTTP Body XForms Parser
=head1 SYNOPSIS
use HTTP::Body::XForms;
=head1 DESCRIPTION
HTTP Body XForms Parser. This module parses single part XForms
submissions, which are identifiable by the content-type
application/xml. The XML is stored unparsed on the parameter
XForms:Model.
=head1 METHODS
=over 4
=item spin
This method is overwrited to set the param XForms:Model with
lib/HTTP/Body/XFormsMultipart.pm view on Meta::CPAN
=head1 SYNOPSIS
use HTTP::Body::XForms;
=head1 DESCRIPTION
HTTP Body XForms submission Parser. Inherits HTTP::Body::MultiPart.
This body type is used to parse XForms submission. In this case, the
XML part that contains the model is indicated by the start attribute
in the content-type. The XML content is stored unparsed on the
parameter XForms:Model.
=head1 METHODS
=over 4
=item init
This function is overridden to detect the start part of the
multipart/related post.
( run in 1.072 second using v1.01-cache-2.11-cpan-524268b4103 )