Scroll to navigation

HTTP::Body::XFormsMultipart(3) User Contributed Perl Documentation HTTP::Body::XFormsMultipart(3)

NAME

HTTP::Body::XFormsMultipart - HTTP Body XForms multipart/related submission Parser

SYNOPSIS

    use HTTP::Body::XFormsMultipart;

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.

METHODS

This function is overridden to detect the start part of the multipart/related post.
Defines the start part of the multipart/related body.
This function is overridden to name the parts by their Content-ID: the start part becomes the XForms:Model param, and its data the body; every other part becomes an upload, as described above.

SUPPORT

See HTTP::Body

AUTHOR

Daniel Ruoso "daniel@ruoso.com"

LICENSE

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

2026-11-06 perl v5.44.0