cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1260) [PATCH] MultipartParser can now handle multipart/mixed
Date Wed, 01 Mar 2006 07:00:41 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1260?page=all ]

David Crossley updated COCOON-1260:
-----------------------------------

    Bugzilla Id:   (was: 31067)
     Other Info: [Patch available]
    Description: 
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

  was:
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


> [PATCH] MultipartParser can now handle multipart/mixed
> ------------------------------------------------------
>
>          Key: COCOON-1260
>          URL: http://issues.apache.org/jira/browse/COCOON-1260
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.1.5
>  Environment: Operating System: other
> Platform: Other
>     Reporter: lpb+apache
>     Assignee: Cocoon Developers Team
>  Attachments: multipart.patch
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message