RE: Atom Suppport

2007-07-07 Thread Jerome Louvel
Hi Alex, Could we take the problem if a different way then: what is missing in the existing Restlet Atom client from your point of view, and where do you think you could help fixing the holes? Last time I've worked on it, the parsing was mostly working, which is what we need for a client. The

RE: How to send files using Restlet

2007-07-07 Thread Jerome Louvel
Hi Billy, I'd like to mention that usage of the multipart form (often called file upload) content type is not necessary in your scenario. It is only useful when you post from a browser client. In other cases, where the client is a programmatic client, you can simply POST a representation

RE: Responding to request with a large representation

2007-07-07 Thread Jerome Louvel
Hi Jon, The concept of Representation transparently allows you to do this. You just have to set the Response's entity to a streamable representation, like an OuputRepresentation subclass (which will require you to override write(OutputStream)). For an example, you can look at XmlRepresentation