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::XFormsMultipart;
=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.
Every other part is an upload named after its Content-ID: its data is
written to a temporary file like that of any multipart upload, and a NUL
in the Content-ID is stripped.
=head1 METHODS
=over 4
( run in 2.372 seconds using v1.01-cache-2.11-cpan-99fa8243a42 )