Subject: | (PATCH) Support in CGI.pm for XForms submit |
Hi,
XForms describes two new unique ways of posting. These are identified by
a POST with Content-type: application/xml or a POST with Content-type:
multipart/related; boundary=xxx; start=xxx; where start is the
Content-ID of the XML data.
Attached is a patch that implements the support for this two types of
POST, the patch includes two new test scripts which test the new
feature. All the tests continue to pass in my environment.
I tried to be as less intrusive as possible, which resulted in creating
a new method called read_multipart_related which is very much alike
read_multipart, but to avoid unexpected breakage, I made it as a new method.
Please consider applying this patch, XForms is starting to become an
option for new web applciations in controlled environments and it would
be nice to have support for it in the standard CGI.pm module.
Thanks in advance,
Daniel Ruoso
Subject: | CGI.pm-3.25-xforms.patch |
Message body is not shown because it is too large.