Re: Send and Parse Attachment using Restlet

2008-04-30 Thread Surjendu
In that case how do someone using my web service can send me a request with an attachment. How to solve this use-case?

Re: Send and Parse Attachment using Restlet

2008-04-30 Thread Surjendu
Thanks Jerome What about the server code? Will Restlet be able to handle multi-part? If I use a http-client library to post the multi-part form request will the server code of Restlet( handlePost() method in Resource) be able to parse the request. If not how to achieve the same. What would

RE: Send and Parse Attachment using Restlet

2008-04-30 Thread Jerome Louvel
Surjendu Envoyé : mercredi 30 avril 2008 08:32 À : discuss@restlet.tigris.org Objet : Re: Send and Parse Attachment using Restlet Thanks Jerome What about the server code? Will Restlet be able to handle multi-part? If I use a http-client library to post the multi-part form request will the server

RE: Send and Parse Attachment using Restlet

2008-04-29 Thread Mitch Stewart
Surjendu, By default, Restlet does not handle the multi-part form request, so you will need to use some form of multi-part form handling library to do this. The file upload library that is most commonly used, and the one used by RestletFileUpload, is the Apache commons-fileupload library. Make