Hello ! I've tried to use commons-fileupload and it's not parsing multipart/x-mixed-replace content type. I tried both directly with commons-fileupload and with restlet extension.
Commons-fileupload supports only multipart/form-data and correponding RFC 1867. All others ain't supported according to users' reviews and actually other RFCs ain't declared as suppored by commons-fileupload team. Please note again. In my case i don't upload files, i have server-side HTTP push from digital camera stream. However i was able to easily solve my problem using mimepull library from Glasshfish project. > Hi Evgeny, > > > Restlet doesnt have built-in support for multipart representation yet. > This > is planned however: > > > Support composite representations > > http://restlet.tigris.org/issues/show_bug.cgi?id=71 > > > However, it is possible to parse progressively with the Restlet > FileUpload > extension. See the related doc: > > http://commons.apache.org/fileupload/streaming.html > > > Best regards, > Jerome Louvel > -- > Restlet ~ Founder and Lead developer ~ <http://www.restlet.org/> > http://www.restlet.org > Noelios Technologies ~ Co-founder ~ <http://www.noelios.com/> > http://www.noelios.com > > > > > De : Evgeny Shepelyuk [mailto:eshepel...@gmail.com] > Envoyé : lundi 20 juillet 2009 23:12 > À : discuss@restlet.tigris.org > Objet : Re: Receive a multipart HTTP response > > > 1. FileUpload doesn't support multipart/mixed > 2. I need HTTP not XMPP > 3. Seems restlet don't have any support for parsing multipart/mixed > response > 4. The problem can be solved with MimePull from Glasshfish or any > similar library. Probably mime4j from James project. > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2372849 -- Regards, Evgeny Shepelyuk ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2372851