You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/09/06 03:13:46 UTC

DO NOT REPLY [Bug 31067] New: - [PATCH] MultipartParser can now handle multipart/mixed

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31067>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31067

[PATCH] MultipartParser can now handle multipart/mixed

           Summary: [PATCH] MultipartParser can now handle multipart/mixed
           Product: Cocoon 2
           Version: 2.1.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: lpb+apache@focalpoint.com
                CC: j.tervoorde@home.nl


org.apache.cocoon.servlet.multipart.MultipartParser did not handle
multipart/mixed attachments for multi-part/form-data HTTP POSTs. This patch adds
the capability to handle multipart/mixed.

Browsers don't tend to send multipart/mixed, but "curl" (http://curl.haxx.se)
does. To test the support: the following will send one <INPUT
name="pictureFiles" type="file"...> element with two files attached:

% curl  -b @cookie.jar -c cookie.jar -F pictureFiles=@pic1.png,pic2.png
http://localhost:8080/cocoon/upload-test